org.springframework.web.socket.sockjs.SockJsException

Uncaught failure in SockJS request, uri=http://localhost:8080/nitro-project-rest/api/socket/bts/970/2xoe6kls/websocket; nested exception is org.springframework.web.socket.sockjs.SockJsTransportFailureException: WebSocket handshake failure; nested exception is java.lang.RuntimeException: Cannot load platform configurator] with root cause java.lang.RuntimeException: Cannot load platform configurator More on the error: 2017-02-06 10:36:04,241 DEBUG [http-bio-8080-exec-10] o.s.w.s.h.LoggingWebSocketHandlerDecorator Transport error in WebSocketServerSockJsSession[id=nqj286ob] java.lang.RuntimeException: Cannot load platform configurator


Solutions on the web23

Solution icon of stackoverflow
exception is java.lang.RuntimeException: Cannot load platform configurator] with root cause java.lang.RuntimeException: Cannot load platform configurator More on the error: 2017-02-06 10:36:04,241 DEBUG [http-bio-8080-exec-10] o.s.w.s.h.LoggingWebSocketHandlerDecorator Transport error in WebSocketServerSockJsSession[id=nqj286ob] java.lang.RuntimeException: Cannot load platform configurator

Solution icon of github
via GitHub by deepu105
, 1 year ago
Uncaught failure in SockJS request, uri=http://localhost:8080/websocket/tracker/675/5sxmjvaq/websocket; nested exception is org.springframework.web.socket.sockjs.SockJsTransportFailureException: WebSocket handshake failure; nested exception is java.lang.ClassCastException: io.undertow.websockets.jsr.ServerWebSocketContainer cannot be cast to org.apache.tomcat.websocket.server.WsServerContainer

Solution icon of github
via GitHub by pascalgrimaud
, 11 months ago
Uncaught failure in SockJS request, uri=http://localhost:8080/websocket/tracker/745/fyk4le4s/websocket; nested exception is org.springframework.web.socket.sockjs.SockJsTransportFailureException: WebSocket handshake failure; nested exception is java.lang.ClassCastException: io.undertow.websockets.jsr.ServerWebSocketContainer cannot be cast to org.apache.tomcat.websocket.server.WsServerContainer

Solution icon of stackoverflow
Uncaught failure in SockJS request, uri=http://localhost:8080/messages/019/1gso25hy/websocket; nested exception is org.springframework.web.socket.sockjs.SockJsTransportFailureException: WebSocket handshake failure; nested exception is java.lang.ClassCastException: io.undertow.websockets.jsr.ServerWebSocketContainer cannot be cast to org.apache.tomcat.websocket.server.WsServerContainer

Solution icon of github
Uncaught failure in SockJS request, uri=http://127.0.0.1:8080/websocket/tracker/151/ciagbe0w/websocket?access_token=a1d650a3-a4bb-4cc7-8636-82a9dc227364; nested exception is org.springframework.web.socket.sockjs.SockJsTransportFailureException

Solution icon of stackoverflow
Uncaught failure in SockJS request, uri=http://localhost:8080/frontend/track/491/xe9k638d/websocket; nested exception is org.springframework.web.socket.sockjs.SockJsTransportFailureException: WebSocket handshake failure; nested exception is

Solution icon of github
via GitHub by tanacute
, 1 week ago
Uncaught failure in SockJS request, uri=http://localhost:8080/skyprofiler-websocket/825/mwn2lw5m/xhr_streaming?t=1501520292940; nested exception is org.springframework.web.socket.sockjs.SockJsTransportFailureException: Failed to open session; nested

Solution icon of stackoverflow
Uncaught failure in SockJS request, uri=http://109.168.108.18:8081/innovaserver/stomp/611/hkjlpvdk/websocket; nested exception is org.springframework.web.socket.sockjs.SockJsTransportFailureException: WebSocket handshake failure; nested exception is java.lang.IllegalArgumentException: hostname can't be null

Solution icon of web
via itquestionz.com by Unknown author, 1 year ago
Uncaught failure in SockJS request, uri=http://localhost:8080/frontend/track/info; nested exception is java.lang.NullPointerException

Solution icon of spring
via Spring JIRA by Phil Webb, 1 year ago
Uncaught failure in SockJS request, uri=http://localhost:65179/echo/websocket; nested exception is org.springframework.web.socket.server.HandshakeFailureException: Servlet request failed to upgrade to WebSocket: http://localhost:65179/echo/websocket; nested exception is javax.servlet.ServletException: java.lang.NullPointerException

Stack trace

  • org.springframework.web.socket.sockjs.SockJsException: Uncaught failure in SockJS request, uri=http://localhost:8080
  • itro-project-rest/api/socket/bts/970/2xoe6kls/websocket; nested exception is org.springframework.web.socket.sockjs.SockJsTransportFailureException: WebSocket handshake failure; nested exception is java.lang.RuntimeException: Cannot load platform configurator] with root cause java.lang.RuntimeException: Cannot load platform configurator More on the error: 2017-02-06 10:36:04,241 DEBUG [http-bio-8080-exec-10] o.s.w.s.h.LoggingWebSocketHandlerDecorator Transport error in WebSocketServerSockJsSession[id=nqj286ob] java.lang.RuntimeException: Cannot load platform configurator at javax.websocket.server.ServerEndpointConfig$Configurator.fetchContainerDefaultConfigurator(ServerEndpointConfig.java:123) at javax.websocket.server.ServerEndpointConfig$Configurator.getContainerDefaultConfigurator(ServerEndpointConfig.java:128) at javax.websocket.server.ServerEndpointConfig$Configurator.checkOrigin(ServerEndpointConfig.java:192)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.