Open vrde opened 5 years ago
Hmm - the websocket server is in Go and not ws, so maybe we need to configure ws somehow to add client_max_window_bits
Yeah, I mentioned that issue because it shows how Firefox has stricter requirements on what is a valid WS connection.
Unfortunately Firefox is not explicit in what's the actual issue, so we might lose some time in guessing.
But again, I'm optimistic that it's just a header issue :crossed_fingers:
This is a known issue, anyway I'd like to start a thread about it.
IMO the problem is related to the WebSocket connection since I see this error
Firefox can’t establish a connection to the server at wss://3-123-96-106.ssl.quorumcontrol.com/ipfs/16Uiu2HAmLMQwov4gUfMYGA8Joiob7A2j9gKRTMzBpUgaMJchoAGd.
Firefox request and headers:
Chromium request headers:
One thing to notice is that the
Sec-WebSocket-Extensions
differs on the two browsers:permessage-deflate
permessage-deflate; client_max_window_bits
I see the same difference if I try to connect to an echo WebSocket with
new WebSocket("wss://echo.websocket.org")
.I've found this comment that might be related:
I'm starting to think that the WebSocket server has or misses some options that are creating issues with Firefox.