Proxied A Record Pointing To WebSocket Server Connection Fails
I recently signed up for Cloudflare and successfully configured my custom domain to point to a Cloudflare Page (Static Website).
Additionally I'd like to proxy SSL traffic to my WebSocket Server. I created an A Record, enabled Proxy, I'm able to ping the host name, and I'm 100% certain my WebSocket Server is running.
When trying to connect to my server using
wss://hostname.com
from the client I continue to get a connection failed error as if the server is offline.
What am I missing to get this working?1 Reply
Thanks so much for making me aware of this! I checked and this was actually already enabled.
It seems my issue was I needed to install the Origin Certificate on my WebSocket server and set my SSL/TLS Setting to Full vs Flexible. Connections are now working!
It seems my issue was I needed to install the Origin Certificate on my WebSocket server and set my SSL/TLS Setting to Full vs Flexible. Connections are now working!