FigBug / Gin

A few extras for juce
BSD 3-Clause "New" or "Revised" License
262 stars 40 forks source link

Web Sockets Connection Failed Intermittently #35

Closed Amusesmile closed 1 year ago

Amusesmile commented 1 year ago

I've been getting a "Connection error!" message while using the web sockets classes in Gin. Our javascript and other implementations seem to work correctly without issue on the same server so I'm wondering if it has to do with Gin specifically, or the low level juce classes that it uses. Just wondering if you've ever seen this behavior. Thanks by the way- awesome library all around.

Amusesmile commented 1 year ago

I think it might be because pingInterval is undefined and often defaults to zero. If I set it explicitly it seems to fix the issue.