I have been running Argo Tunnel on my server for a long time now and never had any problems.
Yesterday it was all working fine but today I am getting an error when I try and start the tunnel…
ERR Error looking up Cloudflare edge IPs: the DNS query failed error="lookup _[]-origintunneld._tcp.argotunnel.com: no such host"
2021-08-28T11:54:13Z ERR Please try the following things to diagnose this issue:
2021-08-28T11:54:13Z ERR 1. ensure that argotunnel.com is returning "origintunneld" service records.
2021-08-28T11:54:13Z ERR Run your system's equivalent of: dig srv _origintunneld._tcp.argotunnel.com
2021-08-28T11:54:13Z ERR 2. ensure that your DNS resolver is not returning compressed SRV records.
2021-08-28T11:54:13Z ERR See GitHub issue https://github.com/golang/go/issues/27546
2021-08-28T11:54:13Z ERR For example, you could use Cloudflare's 1.1.1.1 as your resolver:
2021-08-28T11:54:13Z ERR https://developers.cloudflare.com/1.1.1.1/setting-up-1.1.1.1/
I also started getting the same error today. It started immediately after the automatic update of cloudflared to the latest version (2021.8.6 built 2021-08-27-2248 UTC).
To confirm this I ran the previous version of cloudflared (2021.8.3 built 2021-08-25-0722 UTC), it works fine.
Strangely, the exact same problematic version running on another computer/network is running without any issue. Although, it is for sure the latest update is causing the issue, it is still unclear to me what difference it makes between the two of my system. Both are Linux, the first one is Redhat, and the latter is Ubuntu.
@nuno.diegues I had same errror on CentOS 7. I managed to fix the issue with a server restart though whether it was related to cloudflared updated version not sure?
Aug 28 11:31:54 hostname cloudflared[32580]: 2021-08-28T11:31:54Z INF Initial protocol http2
Aug 28 11:31:54 hostname cloudflared[32580]: 2021-08-28T11:31:54Z INF Starting metrics server on 127.0.0.1:5432/metrics
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z ERR Error looking up Cloudflare edge IPs: the DNS query failed error="lookup _[]-origintunneld._tcp.argotunnel.com: no such host"
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z ERR Please try the following things to diagnose this issue:
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z ERR 1. ensure that argotunnel.com is returning "origintunneld" service records.
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z ERR Run your system's equivalent of: dig srv _origintunneld._tcp.argotunnel.com
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z ERR 2. ensure that your DNS resolver is not returning compressed SRV records.
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z ERR See GitHub issue https://github.com/golang/go/issues/27546
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z ERR For example, you could use Cloudflare's 1.1.1.1 as your resolver:
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z ERR https://developers.cloudflare.com/1.1.1.1/setting-up-1.1.1.1/
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z INF Tunnel server stopped
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z ERR Initiating shutdown error="Could not lookup srv records on _[]-origintunneld._tcp.argotunnel.com: lookup _[]-origintunneld._tcp.argotunnel.com: no such host"
Aug 28 11:32:07 hostname systemd[1]: cloudflared.service: main process exited, code=exited, status=1/FAILURE
Aug 28 11:32:07 hostname cloudflared[32580]: 2021-08-28T11:32:07Z INF Metrics server stopped
Aug 28 11:32:07 hostname cloudflared[32580]: Could not lookup srv records on _[]-origintunneld._tcp.argotunnel.com: lookup _[]-origintunneld._tcp.argotunnel.com: no such host
Aug 28 11:32:07 hostname systemd[1]: Failed to start Argo Tunnel.
-- Subject: Unit cloudflared.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cloudflared.service has failed.
--
-- The result is failed.
Aug 28 11:32:07 hostname systemd[1]: Unit cloudflared.service entered failed state.
Aug 28 11:32:07 hostname systemd[1]: cloudflared.service failed.
We’ll roll out a 2021.8.7 that should make this go away.
As to why it happens only some times (apparently rarely, and never happened in thousands of executions / runs on our end) is something that we’ll have to figure out.
I see others have also posted the full log, the error is the same as mine.
Thanks,
Subhash
cloudflared tunnell
2021-08-28T14:16:05Z INF Thank you for trying Cloudflare Tunnel. Doing so, without a Cloudflare account, is a quick way to experiment and try it out. However, be aware that these account-less Tunnels have no uptime guarantee. If you intend to use Tunnels in production you should use a pre-created named tunnel by following: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps
2021-08-28T14:16:05Z INF Requesting new quick Tunnel on trycloudflare.com...
2021-08-28T14:16:06Z INF +--------------------------------------------------------------------------------------------+
2021-08-28T14:16:06Z INF | Your quick Tunnel has been created! Visit it at (it may take some time to be reachable): |
2021-08-28T14:16:06Z INF | https://recordings-brazilian-folding-uncertainty.trycloudflare.com |
2021-08-28T14:16:06Z INF +--------------------------------------------------------------------------------------------+
2021-08-28T14:16:06Z INF Cannot determine default configuration path. No file [config.yml config.yaml] in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflared]
2021-08-28T14:16:06Z INF Version 2021.8.6
2021-08-28T14:16:06Z INF GOOS: linux, GOVersion: devel +a84af465cb Mon Aug 9 10:31:00 2021 -0700, GoArch: amd64
2021-08-28T14:16:06Z 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-08-28T14:16:06Z INF Generated Connector ID: a77d730f-dc17-44b9-822f-8ac2fd20c03d
2021-08-28T14:16:06Z INF Initial protocol http2
2021-08-28T14:16:06Z INF Starting metrics server on 127.0.0.1:44903/metrics
2021-08-28T14:16:21Z ERR Error looking up Cloudflare edge IPs: the DNS query failed error="lookup _[]-origintunneld._tcp.argotunnel.com: no such host"
2021-08-28T14:16:21Z ERR Please try the following things to diagnose this issue:
2021-08-28T14:16:21Z ERR 1. ensure that argotunnel.com is returning "origintunneld" service records.
2021-08-28T14:16:21Z ERR Run your system's equivalent of: dig srv _origintunneld._tcp.argotunnel.com
2021-08-28T14:16:21Z ERR 2. ensure that your DNS resolver is not returning compressed SRV records.
2021-08-28T14:16:21Z ERR See GitHub issue https://github.com/golang/go/issues/27546
2021-08-28T14:16:21Z ERR For example, you could use Cloudflare's 1.1.1.1 as your resolver:
2021-08-28T14:16:21Z ERR https://developers.cloudflare.com/1.1.1.1/setting-up-1.1.1.1/
2021-08-28T14:16:21Z INF Tunnel server stopped
2021-08-28T14:16:21Z ERR Initiating shutdown error="Could not lookup srv records on _[]-origintunneld._tcp.argotunnel.com: lookup _[]-origintunneld._tcp.argotunnel.com: no such host"
2021-08-28T14:16:21Z INF Metrics server stopped
Could not lookup srv records on _[]-origintunneld._tcp.argotunnel.com: lookup _[]-origintunneld._tcp.argotunnel.com: no such host