Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
6.9.1
-
None
-
None
-
wicket-atmosphere 0.11, Tomcat 7.0
Description
Happens when using WebSocket together with Tomcat SSL/HTTPS connector on a @RequireHttps page. I don't know why. But it seems wss is used properly anyway.
Note that HttpsMapper was tweaked to return Scheme=ANY on WebSocket.
Message: WebSocket Redirect not supported
Level: ERROR
Logger: org.atmosphere.container.version.TomcatWebSocket
Thread: http-nio-8943-exec-6 (id=71)
Timestamp: 2013-07-22 15:31:00.228+0700
CallĀ Location:
atĀ org.atmosphere.container.version.TomcatWebSocket.redirect(TomcatWebSocket.java:51)
Chrome Network info as proof that WSS seems to be working:
GET wss://localhost:8943/com.quikdo.freq.job/app/?35-IResourceListener.2-&X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=1.0.13&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0 HTTP/1.1 Pragma: no-cache Origin: https://localhost:8943 Host: localhost:8943 Sec-WebSocket-Key: rHM8FjlVP024Q4XTLQ00wA== Upgrade: websocket Sec-WebSocket-Extensions: x-webkit-deflate-frame Cache-Control: no-cache Cookie: splashShown1.6=1 Connection: Upgrade Sec-WebSocket-Version: 13
Request URL: wss://localhost:8943/com.quikdo.freq.job/app/?35-IResourceListener.2-&X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=1.0.13&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0 1. Request Method: GET 2. Status Code: 101 Switching Protocols 3. Request Headersview source 1. Cache-Control: no-cache 2. Connection: Upgrade 3. Cookie: splashShown1.6=1 4. Host: localhost:8943 5. Origin: https://localhost:8943 6. Pragma: no-cache 7. Sec-WebSocket-Extensions: x-webkit-deflate-frame 8. Sec-WebSocket-Key: rHM8FjlVP024Q4XTLQ00wA== 9. Sec-WebSocket-Version: 13 10. Upgrade: websocket 4. Query String Parametersview sourceview URL encoded 1. 35-IResourceListener.2-: 2. X-Atmosphere-tracking-id: 0 3. X-Atmosphere-Framework: 1.0.13 4. X-Atmosphere-Transport: websocket 5. X-Atmosphere-TrackMessageSize: true 6. X-Cache-Date: 0
Response Headers 1. Connection: upgrade 2. Date: Mon, 22 Jul 2013 08:38:38 GMT 3. Sec-WebSocket-Accept: qNtBvFivxQIvVL6GfN9jSkaai48= 4. Server: Apache-Coyote/1.1 5. Upgrade: websocket 6. X-Atmosphere-tracking-id: 210c5e6b-9a1d-4f8e-8564-d26499a940fd
Attachments
Issue Links
- is blocked by
-
WICKET-5280 HttpsMapper Could not resolve protocol for request "WebSocket"
- Resolved
- is related to
-
WICKET-5279 o.a.w.a.AtmosphereBehavior onBroadcast should log DEBUG, not INFO
- Resolved