Trouble with tunnels
I set up a barebones tunnel based on the "get started" page in the docs (https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-local-tunnel/). I routed that through a domain on my account. All steps go fine until
cloudflared tunnel run [name]
, which gives the following error:
This isn't in the troubleshooting section. I tried some different configurations, but I'm specifically interested in making a local webserver accessible via the public hostname. What should I do?5 Replies
I had something similar. I added a flag something like --protocol=http2 and it started working.
Where did you download cloudflared from? That error happens when the binary was built with the wrong Go libraries. You should be able to fallback to a legacy protocol with
--protocol=http2
as mentioned which will work even with that broken@Erisa on arch with pacman (via yay)
i’ll try that tomorrow
Sounds like the aur repo maintainer built the binary using public Go versions instead of Cloudflare's fork of Go. I would download a binary from Cloudflare and try that
worked, thanks