Recently I have been getting 503 errors from cloudflare when opening websockets, but only in certain regions. According to https://support.cloudflare.com/hc/en-us/articles/200171896-Why-am-I-getting-a-503-Service-Temporarily-Unavailable-error-message- it is datacenter rate limiting:
< HTTP/1.1 503 Service Temporarily Unavailable < Date: Mon, 21 Jan 2019 00:07:15 GMT < Content-Type: text/html < Transfer-Encoding: chunked < Connection: keep-alive < Set-Cookie: __cfduid=<snip>; expires=Tue, 21-Jan-20 00:07:15 GMT; path=/; domain=<snip>; HttpOnly < Server: cloudflare < CF-RAY: <snip> < <html> <head><title>503 Service Temporarily Unavailable</title></head> <body bgcolor="white"> <center><h1>503 Service Temporarily Unavailable</h1></center> <hr><center>cloudflare</center> </body> </html>
This happens around ~14k open websockets globally, on the free tier. The documentation for websockets unhelpfully lists the free tier as limited to a “low” number of concurrent connections. Does anyone have any approximate numbers for websocket limits on pro or business plans? I would prefer not to commit to buying a paid plan without knowing whether it will solve the resource limits I am hitting.