my application is spring websocket + stomp/sockjs, configuration. It"s OK to test locally, and it"s OK to put it on the http server. Only the server deployed to https will make an error. Our server is jboss wildfly.
the error in webserver log is as follows:
ERROR o.s.w.s.DefaultHandshakeHandler-Handshake failed due to invalid Upgrade header: null
the error in the browser is as follows:
WebSocket connection to "wss://.example.com/./websocket" failed: Error during WebSocket handshake: Unexpected response code: 400
Google is mostly used to solve tomcat+nginx, "s support for websocket in nginx configuration.
our server is jboss wildfly,. How can we configure it to support ssl websocket?