Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by marceloslacerda
, 1 year ago
The HTTP request to initiate the WebSocket connection failed
via Stack Overflow by rurounisuikoden
, 1 year ago
The HTTP request to initiate the WebSocket connection failed
via Stack Overflow by Michelle Santibanez
, 3 months ago
The HTTP request to initiate the WebSocket connection failed
via GitHub by marceloslacerda
, 2 days ago
The HTTP request to initiate the WebSocket connection failed
via GitHub by activelylazy
, 2 days ago
The HTTP response from the server [503] did not permit the HTTP upgrade to WebSocket
via Stack Overflow by Ravi Jain
, 1 year ago
javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:434)[tomcat7-websocket.jar:7.0.68] at org.springframework.web.socket.client.standard.StandardWebSocketClient$1.call(StandardWebSocketClient.java:152)[spring-websocket-4.2.5.RELEASE.jar:4.2.5.RELEASE] at org.springframework.web.socket.client.standard.StandardWebSocketClient$1.call(StandardWebSocketClient.java:149)[spring-websocket-4.2.5.RELEASE.jar:4.2.5.RELEASE] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_80] at java.lang.Thread.run(Thread.java:745)[na:1.7.0_80]Caused by: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused at sun.nio.ch.PendingFuture.get(PendingFuture.java:202)[na:1.7.0_80] at org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:376)[tomcat7-websocket.jar:7.0.68] ... 4 moreCaused by: java.net.ConnectException: Connection refused at sun.nio.ch.UnixAsynchronousSocketChannelImpl.checkConnect(Native Method)[na:1.7.0_80] at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishConnect(UnixAsynchronousSocketChannelImpl.java:252)[na:1.7.0_80] at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:198)[na:1.7.0_80] at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)[na:1.7.0_80] at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293)[na:1.7.0_80] ... 1 more