Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox for Android 68.0 - WebSocket is broken when using 'mobile data' (ok using WiFi)

  • कोई प्रतियुत्तर नहीं
  • 1 यह समस्या है
  • 12 views
more options

When initiating a Web Socket request, (RFC 6455), the client is supposed to send the following headers:

Connection: upgrade Upgrade: websocket Sec-WebSocket-Key: ... Sec-WebSocket-Version: ... Sec-WebSocket-Extensions: ...

When connecting to the server over WiFi Firefox does this.

When connecting to the server over 'mobile data' Firefox sends different headers: the Connection header has value 'keep-alive' and the Upgrade header is absent altogether. The Sec-WebSocket-xxx headers are still present.

Of course Chrome works perfectly.

When initiating a Web Socket request, (RFC 6455), the client is supposed to send the following headers: Connection: upgrade Upgrade: websocket Sec-WebSocket-Key: ... Sec-WebSocket-Version: ... Sec-WebSocket-Extensions: ... When connecting to the server over WiFi Firefox does this. When connecting to the server over 'mobile data' Firefox sends different headers: the Connection header has value 'keep-alive' and the Upgrade header is absent altogether. The Sec-WebSocket-xxx headers are still present. Of course Chrome works perfectly.