[Libwebsockets] Firefox client websocket error

Andy Green andy at warmcat.com
Wed Feb 26 09:50:42 CET 2020



On 2/26/20 8:20 AM, Sumit Dubey wrote:
> Hello,
> 
> I am seeing the following error in a firefox client after the connection 
> to my libwebsockets based server is successfully established and a few 
> messages have been exchanged:
> 
> /The connection to wss://localhost:80/ was interrupted while the page 
> was loading
> /
> /Websocket error with code:undefined reason:undefined
> /
> /Websocket closed with code:1006 reason:
> /
> 
> By any chance, does this have something to do with the server? This does 
> not happen with Chrome.

a) does this happen with, eg, libwebsockets-test-server and the browser 
at localhost:7681?

b) if you're using permessage-deflate, still happen if you disable it?

c) what does firefox Web Developer | Network say?

-Andy

> Thank you
> Sumit Dubey
> 
> 
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> https://libwebsockets.org/mailman/listinfo/libwebsockets
> 


More information about the Libwebsockets mailing list