cloudflare / cloudflare/cloudflared
ERR failed to connect to origin error="websocket: bad handshake"
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Same problem described in #324, but the solution described there does not work for me.
I configured access through email. I am able to connect to the server using SSH in the browser, and it works perfectly.
But if I open a Linux terminal, either in WSL2 or in a native UBUNTU 20 machine, when I execute the ssh command it ask me to login in a browser link. When I open the link, I enter my e-mail, receive and enter the code normally, and then it says I have logged in successfully in the browser. But immediately after that, in the terminal, I see this message:
2021-10-10T00:36:45Z ERR failed to connect to origin error="websocket: bad handshake" originURL=https://mytestapp.mydomain.com
websocket: bad handshake
kex_exchange_identification: Connection closed by remote host
I have Universal SSL enabled, and SSL/TLS encryption mode is Full, but I also tested with Flexible and Strict, and the result is exactly the same.
Contributor guide
Assessment
This issue has not been assessed yet.