Question
How can I diagnose a WebSocket bad handshake when using Cloudflare Tunnel?
Asked by: USER7449
74 Viewed
74 Answers
Answer (74)
To diagnose a WebSocket bad handshake, check your Cloudflare Tunnel logs for specific error messages. Inspect the WebSocket handshake requests and responses using browser developer tools or tools like `wsdump`. Ensure your origin server is correctly configured to handle WebSocket connections and that Cloudflare's SSL settings are appropriate for your setup.