jszmq
jszmq copied to clipboard
Doesn't work for Firefox again?
I saw a older issue, where Firefox cannot connect to a websocket. #18 Right now I am facing the same issue with Firefox and Safari. These are the Headers:
GET / undefined
Host: localhost:5555
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Sec-WebSocket-Version: 13
Origin: http://localhost:3001
Sec-WebSocket-Protocol: ZWS2.0
Sec-WebSocket-Extensions: permessage-deflate
Sec-WebSocket-Key: xYk4khfYCXiBCe3j7zhzFA==
Connection: keep-alive, Upgrade
Sec-Fetch-Dest: websocket
Sec-Fetch-Mode: websocket
Sec-Fetch-Site: same-site
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
Chrome works without any issue.
GET ws://localhost:5555/ HTTP/1.1
Host: localhost:5555
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Upgrade: websocket
Origin: http://localhost:3001
Sec-WebSocket-Version: 13
Accept-Encoding: gzip, deflate, br
Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
Sec-WebSocket-Key: ipmWgWRMobWMYvYjRuwK+A==
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Sec-WebSocket-Protocol: ZWS2.0