Web Sockets - 500 Internal Server Error

Hey All,

Having a problem when trying to use a web socket through Cloudflare. My setup looks a little like this;

Postman == Cloudflare == AWS ALB == ECS Container running socket.io

When I switch the Cloudflare proxy to just DNS it works fine, but if Cloudflare is enabled (set to :orange:) I get a 500 Internal Server Error response.

There is a valid certificate on the AWS ALB
SSL / TLS is set to Full Strict
The WebSocket feature is enabled in the network settings (get a 400 if not enabled)
I’m using the WSS scheme

I’ve tried turning off caching with a Page Rule and also tried putting the domain into developer mode with no change.

Any suggestions would be greatly appreciated.

Many thanks!

Do you have logs from the ECS container?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.