Websocket Connection Error 503 - Postman

Sascha a year ago

Hello,
when I try to establish a WebSocket connection with Postman I get the error

Could not connect to ws://192.168.178.20/api/socket
Error: Unexpected server response: 503

Handshake Details
Request URL: http://192.168.178.20/api/socket
Request Method: GET
Status Code: 503 Service Unavailable
Request Headers
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: ORmXw+KdvKWibekNSg+A+w==
Connection: Upgrade
Upgrade: websocket
Session-ID: node0c9v6vza0i6htmn9evypewlzv3.node0
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Host: 192.168.178.20
Response Headers
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1
Content-Length: 100
Server: Jetty(10.0.15)

Otherwise the server works quite normally, I can access API with GET / POST. Why could that be?

Track-tracea year ago

There is no port number needed ?

baikunthareemala year ago
Error: Unexpected server response: 503
Handshake Details
Request URL: http://localhost:8082/api/socket
Request Method: GET
Status Code: 503 Service Unavailable
Request Headers
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: Z6nVEOrE9Oct5/oypNJi7A==
Connection: Upgrade
Upgrade: websocket
Cookie: node01npkmeb1acv1w1tsh2xis1c6w012.node0
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Host: localhost:8082
Response Headers
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1
Content-Length: 100
Server: Jetty(10.0.15)
Anton Tananaeva year ago

Are you using two forum accounts?