aeleos / cloudflared

Cloudflare Tunnel Instructions and Template for Unraid
173 stars 21 forks source link

no ID supplied during tunnel creation #13

Closed kevinmarchese closed 3 years ago

kevinmarchese commented 3 years ago

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

kevinmarchese commented 3 years ago

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

bigmak40 commented 3 years ago

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
aeleos commented 3 years ago

@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.