javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Spring Websockets/Stomp upgrade to secure websockets

    Stack Overflow | 4 months ago | rurounisuikoden
    javax.websocket.DeploymentException: The HTTP request to initiate the WebSocket connection failed

    Root Cause Analysis

    1. java.net.ConnectException

      Connection refused

      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.checkConnect()
    2. Java RT
      Thread.run
      1. sun.nio.ch.UnixAsynchronousSocketChannelImpl.checkConnect(Native Method)[na:1.7.0_80]
      2. sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishConnect(UnixAsynchronousSocketChannelImpl.java:252)[na:1.7.0_80]
      3. sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:198)[na:1.7.0_80]
      4. sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)[na:1.7.0_80]
      5. sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293)[na:1.7.0_80]
      6. java.lang.Thread.run(Thread.java:745)[na:1.7.0_80]
      6 frames