Websocket connection to wss:// failed

0

I have a web application deployed and served by Angular and Spring Boot running websockets.

The client-side websocket is unable to connect, giving an error of

'Websocket connection to 'wss://url' failed. The CloseEvent is of code 1006, reason: ''.

However, connecting to the same url on Postman works, both on ws:// and wss://. Any advice?