RTC Forums

Subscription => Support => Topic started by: Ecole7 on April 17, 2017, 12:51:01 PM



Title: RTC WebSocket browsers compatibility (RealThinClientSDK_v800_rc10)
Post by: Ecole7 on April 17, 2017, 12:51:01 PM
Hello,

WSockServTest tested with ws.html does not work with Firefox browser (52:01). It seems impossible to switch to websocket mode.

The test on the site https://www.websocket.org/echo.html is OK with Firefox.

Everything else seems perfect. But compatibility with some browsers may be a tricky thing.

Greetings
Vincent


Title: Re: RTC WebSocket browsers compatibility (RealThinClientSDK_v800_rc10)
Post by: D.Tkalcec (RTC) on April 17, 2017, 01:55:00 PM
Thanks for reporting this.

It was the automatic recognition of Web Socket upgrade requests, which was expecting the exact word "Upgrade" to be in the "Connection" request header, but "Mozilla Firefox" was sending "keep-alive, Upgrade" instead, so the Request.WSUpgrade property wasn't automatically set to TRUE on the Server.

I am preparing the next update now (v8.00 rc11), which fixes this by ignoring anything else that might be in the "Connection" http request header as long as the word "Upgrade" is found and the "Upgrade" header is also present, with the word "websocket".

Best Regards,
Danijel Tkalcec


Title: Re: RTC WebSocket browsers compatibility (RealThinClientSDK_v800_rc10)
Post by: Ecole7 on April 17, 2017, 02:13:30 PM
Thanks for the quick response and very accurate diagnosis.
Vincent Blanc


Title: Re: RTC WebSocket browsers compatibility (RealThinClientSDK_v800_rc10)
Post by: Ecole7 on April 17, 2017, 05:27:37 PM
Tested with rc11, Firefox compatibility issue corrected
Vincent Blanc


Title: Re: RTC WebSocket browsers compatibility (RealThinClientSDK_v800_rc10)
Post by: D.Tkalcec (RTC) on April 17, 2017, 05:55:52 PM
Thanks again for the feedback :)