在springboot 1.5.9版本

WebSocketConfig配置
registry.addEndpoint("/webSocket").withSockJS();
在加了.withSockJS()之后导致错误:The HTTP response from the server [200] did not permit the HTTP upgrade to WebSocket
去掉之后就好了

相关文章:

  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2021-07-06
猜你喜欢
  • 2021-08-07
  • 2021-12-18
  • 2022-12-23
  • 2021-10-13
  • 2022-01-08
  • 2021-11-25
  • 2021-09-20
相关资源
相似解决方案