Search Posts

Author: Anupam Pawar

WebSocket Request (xhr_send) getting stalled (Tomcat and Apache HTTP)

My application used sockjs & Application is running on Tomcat 8 and APACHE HTTP as front end web server. I have observed that xhr_send request getting stalled and so hangs the application. On Chrome developer console, received following error when xhr_send request stalled I never received CONNECTED response. I used following code to setup websocket socket = new SockJS(applicationMainService.getUrl()+’/ws’); stompClient = Stomp.over(socket); Also received following error in Tomcat logs [org.spr[email protected]1e7904b0]: org.springframework.web.socket.sockjs.SockJsException: Uncaught failure in SockJS […]