JSONpedia

FREEMIUM
By michelemostarda | Updated un mese fa | Other
Health Check

N/A

Back to All Discussions

Result from GET request for resources is undeterministic: sometimes return 200 other times 500

Rapid account: Ola Halima
ola-halima
8 anni fa

For example, this request: https://michelemostarda-JSONpedia-v1.p.mashape.com/annotate/resource/json/en:Rob_Roy?&procs=extractors

Sometimes returns 200
OR 500 with the following error:

{“message”:“Troppi file aperti”,“strackTrace”:“java.net.SocketException: Troppi file aperti\n\tat java.net.Socket.createImpl(Socket.java:447)\n\tat java.net.Socket.connect(Socket.java:577)\n\tat sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)\n\tat sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)\n\tat sun.net.NetworkClient.doConnect(NetworkClient.java:180)\n\tat sun.net.www.http.HttpClient.openServer(HttpClient.java:432)\n\tat sun.net.www.http.HttpClient.openServer(HttpClient.java:527)\n\tat sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)\n\tat sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)\n\tat sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)\n\tat sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)\n\tat sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)\n\tat sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)\n\tat sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)\n\tat java.net.URL.openStream(URL.java:1037)\n\tat com.machinelinking.pipeline.WikiPipeline.writeDocumentSerialization(WikiPipeline.java:145)\n\tat com.machinelinking.pipeline.WikiPipeline.enrichEntity(WikiPipeline.java:115)\n\tat com.machinelinking.service.DefaultAnnotationService.annotateDocumentSource(DefaultAnnotationService.java:159)\n\tat com.machinelinking.service.DefaultAnnotationService.annotateResource(DefaultAnnotationService.java:92)\n\tat sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:606)\n\tat com.sun.jersey.spi.container.JavaMethodInvokerFactory1.invoke(JavaMethodInvokerFactory.java:60)\n\tatcom.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider1.invoke(JavaMethodInvokerFactory.java:60)\n\tat com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProviderResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)\n\tat com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)\n\tat com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)\n\tat com.sun.jersey.server.impl.container.grizzly2.GrizzlyContainer._service(GrizzlyContainer.java:222)\n\tat com.sun.jersey.server.impl.container.grizzly2.GrizzlyContainer.service(GrizzlyContainer.java:192)\n\tat org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)\n\tat org.glassfish.grizzly.http.server.HttpHandlerChain.service(HttpHandlerChain.java:196)\n\tat org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)\n\tat org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:175)\n\tat org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)\n\tat org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)\n\tat org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)\n\tat org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access100(WorkerThreadIOStrategy.java:55)\n\tatorg.glassfish.grizzly.strategies.WorkerThreadIOStrategy100(WorkerThreadIOStrategy.java:55)\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategyWorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPoolWorker.doWork(AbstractThreadPool.java:567)\n\tatorg.glassfish.grizzly.threadpool.AbstractThreadPoolWorker.doWork(AbstractThreadPool.java:567)\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPoolWorker.run(AbstractThreadPool.java:547)\n\tat java.lang.Thread.run(Thread.java:745)\n”,“success”:“false”}

Join in the discussion - add comment below:

Login / Signup to post new comments