WebSocket Handshake - Unexpected response code 200 - AngularJs and Spring Boot

后端 未结 3 1614
生来不讨喜
生来不讨喜 2020-12-31 07:54

When I tried to establish websocket communication between AngularJS app and Spring Boot I\'m getting the error: Error during websocket handshake - Unexpected respons

3条回答
  •  伪装坚强ぢ
    2020-12-31 08:49

    You need to use a sockJS client if you configure it to use sockJS on your websocket endpoint.

提交回复
热议问题