cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WebSocket disconnection

denishowe
Investigator
Investigator

The site online-go.com uses WebSockets to connect the browser to its servers.  Since a week or so ago, these connections stop responding 20s after they are created and disconnect after another 20s.  This happens every time.

It always happens when connecting to an IP6 address, never for IP4 (the site has three of each).

It happens for both the normal online-go.com web client and when mimicking it on a WebSocket test site like websocketking.com.  I don't know of it happening when connecting to other WebSocket servers.

Most relevant to this forum, it only happens when connecting from BT's network (which I get from EE).  It doesn't happen if I go via a VPN to any other network, nor does it happen for users in other countries.

The servers are fronted by Cloudflare so it looks like WebSocket over IP6 connections from BT to Cloudflare fail as described above.

For more discussion, see: https://forums.online-go.com/t/ogs-connection-issues-for-bt-users-was-is-ogs-running-slow-no-it-isnt....

Obviously, I would expect BT to blame Cloudflare and vice versa so I'm not going to even try to get support but I thought it might help others with the same issue.

4 REPLIES 4
Ali_A
EE Community Support Team

Hi @denishowe 

Thanks for the information. 
Looking at the forum you've added it appears they may have found a resolution to the issue you've been facing. 

This is good news. 

Ali 

Thanks for the response.

The original problem still exists: WebSocket connections from EE to an IP6 address fronted by Cloudflare drop soon after creation.

The site I mentioned solved the problem by not routing via Cloudflare but, given the popularity of Cloudflare, EE (BT) users of other sites are probably still suffering.

Ali_A
EE Community Support Team

@denishowe 

Thank you for taking time to help the EE Community. 

I passed this to the team to look into, but we haven't any reported issues with WebSockets through Cloudflare for any other sites. 

If anything changes please keep us updated. 

Ali 

dctanner
Visitor

Hi,

We can also confirm this is a major issue for our websites that are hosted on Cloudflare and use websockets. We are experiencing the exact same behavior as the OP.