Hello Koen, It happens very rare and may be related with low network quality and packet loss. I used websockets in sites thechess.ru and kiset.org and both used to freeze from time to time. I failed not reproduced this, but it still happens that is why I do not use WebSockets.
I tested this on kiset.org (US server). Add "76.74.170.223 kisettest" to /etc/hosts and open "kisettest/" Nnginx with WebSockets enabled is used. I tried to restart or stop-and-start nginx, but WebSockets recover properly. I tried "iptables -A INPUT -p tcp --dport 80 -j DROP" and then "iptables -D INPUT -p tcp --dport 80 -j DROP" and WebSockets still recover. But they can freeze sometimes, I do know it. Maybe packet loss should be more precise than in iptables test. BTW in case of iptables test, "Loading..." had not appeared. This is the bug and this may help you to find reason of WebSocket freeze. Best regards, Boris Nagaev On Mon, Oct 6, 2014 at 9:34 AM, Koen Deforche <k...@emweb.be> wrote: > Hey Boris, > > Op 6 okt. 2014 07:19 schreef "Nagaev Boris" <bnag...@gmail.com>: >> Wt supports WebSocket. >> See configuration option "web-socket" in wt_config.xml. >> If you set it to true, then triggerUpdate and even ajax updates >> initiated by client are transmitted through WebSocket. >> >> WebSockets in Wt suffers from several drawbacks (maybe some of them >> are already fixed): >> >> 1. WebSocket can freeze sometimes and Wt doesn't deal with this >> properly. User has to refresh his session if this happens. > > Interesting, I wasn't aware of this issue and we have not experienced this > ourselves nor have we heard of this issue from any customers. Do you have > more information on his to reproduce this? > > Your other remarks are still true. > > Regards, > Koen > > > ------------------------------------------------------------------------------ > Slashdot TV. Videos for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest