Argo tunnel not working

config.yaml

credentials-file: /home/****/.cloudflared/*****.json
tunnel: *****
hostname: ****.xyz
url: http://127.0.0.1:8080
logfile: /var/log/cloudflared.log

Logs:

[*(&^#@localhost ~] cloudflared tunnel run
2021-03-23T12:24:28Z INF Starting tunnel tunnelID=****
2021-03-23T12:24:28Z INF Version 2021.3.1
2021-03-23T12:24:28Z INF GOOS: linux, GOVersion: devel +11087322f8 Fri Nov 13 03:04:52 2020 +0100, GoArch: amd64
2021-03-23T12:24:28Z INF Settings: map[cred-file:/home/====/.cloudflared/====.json credentials-file:/home/====/.cloudflared/====.json hostname:====.xyz logfile:/var/log/cloudflared-====.log url:http://127.0.0.1:8080]
2021-03-23T12:24:28Z INF cloudflared will not automatically update when run from the shell. To enable auto-updates, run cloudflared as a service: https://developers.cloudflare.com/argo-tunnel/reference/service/
2021-03-23T12:24:28Z INF Generated Client ID: ****
2021-03-23T12:24:28Z INF Initial protocol h2mux
2021-03-23T12:24:28Z INF Starting metrics server on 127.0.0.1:42987/metrics
2021-03-23T12:24:29Z INF Connection **** registered connIndex=0 location=WAW
2021-03-23T12:24:30Z INF Connection **** registered connIndex=1 location=RIX
2021-03-23T12:24:31Z INF Connection **** registered connIndex=2 location=WAW
2021-03-23T12:24:32Z INF Connection **** registered connIndex=3 location=RIX

Error 1033
Argo Tunnel error

What is wrong?

CentOS 7
Nginx

I’m curious how did you access your tunnel? From the UUID.cfargotunnel.com?

Did you create a CNAME from yourdomain.com to UUID.cfargotunnel.com?

Your config.yml looks fine in this case.

Hello,

You appear to have double posted over to Argo tunnel not working · Issue #339 · cloudflare/cloudflared · GitHub

The issue is exactly what @erictung said: you did not run step 2 from the high level steps to run an Argo Tunnel — see https://developers.cloudflare.com/cloudflare-one/connections/connect-apps where it says “Route traffic to your Tunnel”.

You need to use the command "cloudflared tunnel route dns " for a DNS entry to be created for your tunnel and traffic routed to it.

3 Likes

Apologies: I previously had written a command wrong above. I have edited the post.