1 year ago

#367468

test-img

Ravikumar

WebSocket connection to 'wss://...' failed

I am trying to establish websocket connection to the spring boot web server deployed in azure from anuglar application.

But connections are not getting success every-time. It always fail for first time and then get connected after some point of time.

The same is working if we run it in localhost (local), so no issues with local. Issues comes while running on azure server.

Attached console logs of both scenario local and server

Not sure what needs to be done to fix this issue.

Azure

enter image description here

Local

enter image description here

angular

websocket

socket.io

spring-websocket

stompjs

0 Answers

Your Answer

Accepted video resources