aeleos / cloudflared

Cloudflare Tunnel Instructions and Template for Unraid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no ID supplied during tunnel creation

kevinmarchese opened this issue · comments

Hi,

when I authorize a domain in Cloudflare I then create the tunnel however the tunnel ID never prints in the terminal. likewise the .json file created that holds the secret also isn't named. it shows up in ls as .json with no name or in this case the ID. Than you for any help/hints etc. I would love to get this up and running of course the ID is critical. I also followed up with IBRACORP's video saying this is odd.

Screen Shot 2021-07-25 at 8 59 28 PM
also the list command retunrs
Error listing tunnels: failed to decode response: json: cannot unmarshal object into Go value of type []tunnelstore.Tunnel

you have to set a specific version to get an ID docker run -it --rm -v /mnt/user/appdata/cloudflared:/home/nonroot/.cloudflared/ cloudflare/cloudflared:2021.6.0 tunnel

I ran into this issue today; I used 2021.8.1 successfully. It seems like this is something that needs to be fixed; a couple ways to do this.

  1. Update the README.md to state that a version must be included
  2. Have cloudflared work with no version specified
  3. Have cloudflared say "version must be specified" rather than a vague answer

@bigmak40 @kevinmarchese Sorry I didn't see these, points 2 and 3 won't work since I don't control the actual cloudflared docker repo. I will add this to the troubleshooting section. I also updated the documentation to include cloudflare/cloudflared:2021.6.0 as the default container version, in order to prevent this in the future.