Unable to setup Tunnel connector in docker

What is the name of the domain?

Power-photo.co.uk

What is the error number?

N/A

What is the error message?

N/A

What is the issue you’re encountering

I have just tried to update the tunnel. Ive deleted the old docker container and run docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token . The terminal just hangs after it gets to Registered Tunnel connection. At that point the tunnel is up and I can access resources. But I have to hit Ctrl-c to get the terminal back. at that point the install cancels and deletes the container

What steps have you taken to resolve the issue?

I have tried using both quic & http2 protocol
Removed entries for old hosts from the tunnel config

What are the steps to reproduce the issue?

Use docker run to set up an automatic tunnel

I am facing the same issue. Were you able to find a solution?

Yes.

I realised it was running and the tunnel was up. I just wasn’t getting the console back until I hit ctrl c which stopped the container.

I vaguely remembered seeing a video about cloudflare tunnels when I first set this up. Possibly network chuck? Who pointed out that you need to add -d to the docker command so it runs as a daemon.

I did

docker run -d cloudflare/cloudflared:latest tunnel --no-autoupdate run --token …

Which worked.
Hope that gets you up and running

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