Error Running OTP V2

9 views
Skip to first unread message

bucch...@fbk.eu

unread,
Nov 1, 2021, 1:29:49 PM11/1/21
to OpenTripPlanner Developers

Hi, trying to find a plan with OTP V2 running on my machine I have the following error.

Some ideas?


Thanks

Antonio


12:32:07.834 INFO (GrizzlyServer.java:152) Grizzly server running.

12:32:22.536 ERROR (PlannerResource.java:96) System error

java.net.ConnectException: Connection refused (Connection refused)

at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)

at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)

at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)

at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)

at java.base/java.net.Socket.connect(Socket.java:591)

at java.base/java.net.Socket.connect(Socket.java:540)

at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)

at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)

at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)

at java.base/sun.net.www.http.HttpClient.<init>(HttpClient.java:242)

at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:341)

at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:362)

at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1242)

at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)

at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1075)

at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1009)

at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1581)

at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)

at java.base/java.net.URL.openStream(URL.java:1117)

at org.apache.commons.io.IOUtils.toString(IOUtils.java:1198)

at org.apache.commons.io.IOUtils.toString(IOUtils.java:1185)

at org.opentripplanner.api.common.RoutingResource.takeChangedRoutesFromUrl(RoutingResource.java:982)

at org.opentripplanner.api.common.RoutingResource.buildRequest(RoutingResource.java:890)

at org.opentripplanner.api.resource.PlannerResource.plan(PlannerResource.java:72)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)

at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)

at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)

at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)

at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)

at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)

at org.glassfish.jersey.internal.Errors.process(Errors.java:292)

at org.glassfish.jersey.internal.Errors.process(Errors.java:274)

at org.glassfish.jersey.internal.Errors.process(Errors.java:244)

at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)

at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)

at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)

at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:356)

at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200)

at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)

at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)

at java.base/java.lang.Thread.run(Thread.java:834)

12:33:32.752 ERROR (PlannerResource.java:96) System error

java.net.ConnectException: Connection refused (Connection refused)

at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)

at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)

at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)

at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)

at java.base/java.net.Socket.connect(Socket.java:591)

at java.base/java.net.Socket.connect(Socket.java:540)

at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)

at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)

at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)

at java.base/sun.net.www.http.HttpClient.<init>(HttpClient.java:242)

at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:341)

at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:362)

at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1242)

at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)

at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1075)

at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1009)

at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1581)

at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)

at java.base/java.net.URL.openStream(URL.java:1117)

at org.apache.commons.io.IOUtils.toString(IOUtils.java:1198)

at org.apache.commons.io.IOUtils.toString(IOUtils.java:1185)

at org.opentripplanner.api.common.RoutingResource.takeChangedRoutesFromUrl(RoutingResource.java:982)

at org.opentripplanner.api.common.RoutingResource.buildRequest(RoutingResource.java:890)

at org.opentripplanner.api.resource.PlannerResource.plan(PlannerResource.java:72)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)

at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)

at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)

at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)

at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)

at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)

at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)

at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)

at org.glassfish.jersey.internal.Errors.process(Errors.java:292)

at org.glassfish.jersey.internal.Errors.process(Errors.java:274)

at org.glassfish.jersey.internal.Errors.process(Errors.java:244)

at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)

at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)

at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)

at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:356)

at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200)

at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)

at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)

at java.base/java.lang.Thread.run(Thread.java:834)

Reply all
Reply to author
Forward
0 new messages