Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛WSL ubuntu env: cloudflared.service can't starting #1233

Open
xiaods opened this issue Apr 22, 2024 · 0 comments
Open

🐛WSL ubuntu env: cloudflared.service can't starting #1233

xiaods opened this issue Apr 22, 2024 · 0 comments
Labels
Priority: Normal Minor issue impacting one or more users Type: Bug Something isn't working

Comments

@xiaods
Copy link

xiaods commented Apr 22, 2024

cf.log
Describe the bug
A clear and concise description of what the bug is.
the cloudflared.service report:

-- The job identifier is 15553.
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z INF Starting tunnel tunnelID=08b6314a-9140-48bb-bcc8-c172d2b772bf
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z INF Version 2024.4.0
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z INF GOOS: linux, GOVersion: go1.21.5, GoArch: amd64
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z INF Settings: map[no-autoupdate:true token:*****]
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z INF cloudflared will not automatically update if installed by a package manager.
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z INF Generated Connector ID: 1ee4e585-9236-4062-b54b-624bec5c71e8
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z ERR Failed to fetch features, default to disable error="lookup cfd-features.argotunnel.com on 172.19.64.1:53: no such host"
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z WRN Unable to lookup protocol percentage.
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z INF Initial protocol quic
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z INF ICMP proxy will use 192.168.127.2 as source for IPv4
Apr 22 15:48:35 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:35Z INF ICMP proxy will use fe80::5894:efff:fee4:cee in zone wsltap as source for IPv6
Apr 22 15:48:40 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:40Z ERR edge discovery: error looking up Cloudflare edge IPs: the DNS query failed error="lookup _v2-origintunneld._tcp.argotunnel.com on 172.19.64.1:53: no such host" event=0
Apr 22 15:48:40 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:40Z ERR Please try the following things to diagnose this issue: event=0
Apr 22 15:48:40 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:40Z ERR   1. ensure that argotunnel.com is returning "origintunneld" service records. event=0
Apr 22 15:48:40 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:40Z ERR      Run your system's equivalent of: dig srv _origintunneld._tcp.argotunnel.com event=0
Apr 22 15:48:40 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:40Z ERR   2. ensure that your DNS resolver is not returning compressed SRV records. event=0
Apr 22 15:48:40 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:40Z ERR      See GitHub issue https://github.com/golang/go/issues/27546 event=0
Apr 22 15:48:40 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:40Z ERR      For example, you could use Cloudflare's 1.1.1.1 as your resolver: event=0
Apr 22 15:48:40 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:40Z ERR      https://developers.cloudflare.com/1.1.1.1/setting-up-1.1.1.1/ event=0
Apr 22 15:48:40 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:40Z INF Starting metrics server on 127.0.0.1:44207/metrics
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z ERR edge discovery: error looking up Cloudflare edge IPs: the DNS query failed error="lookup _v2-origintunneld._tcp.argotunnel.com on 172.19.64.1:53: no such host" event=0
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z ERR Please try the following things to diagnose this issue: event=0
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z ERR   1. ensure that argotunnel.com is returning "origintunneld" service records. event=0
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z ERR      Run your system's equivalent of: dig srv _origintunneld._tcp.argotunnel.com event=0
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z ERR   2. ensure that your DNS resolver is not returning compressed SRV records. event=0
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z ERR      See GitHub issue https://github.com/golang/go/issues/27546 event=0
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z ERR      For example, you could use Cloudflare's 1.1.1.1 as your resolver: event=0
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z ERR      https://developers.cloudflare.com/1.1.1.1/setting-up-1.1.1.1/ event=0
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z INF Tunnel server stopped
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z ERR Initiating shutdown error="Could not lookup srv records on _v2-origintunneld._tcp.argotunnel.com: lookup _v2-origintunneld._tcp.argotunnel.com on 172.19.64.1:53: no such host"
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: 2024-04-22T07:48:44Z INF Metrics server stopped
Apr 22 15:48:44 ZBBB2006M-0032 cloudflared[85500]: Could not lookup srv records on _v2-origintunneld._tcp.argotunnel.com: lookup _v2-origintunneld._tcp.argotunnel.com on 172.19.64.1:53: no such host
Apr 22 15:48:44 ZBBB2006M-0032 systemd[1]: cloudflared.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

To Reproduce

If it's an issue with Cloudflare Tunnel:
4. Tunnel ID :
5. cloudflared config:

Expected behavior
WSL ubuntu 20.04 env, hope the cloudflared service is work like a charm.

Environment and versions

  • OS: win10+wsl 2
  • Architecture: intel x86-64
  • Version: WSL 版本: 2.1.5.0

Logs and errors
If applicable, add logs or errors to help explain your problem.

Additional context
Add any other context about the problem here.

@xiaods xiaods added Priority: Normal Minor issue impacting one or more users Type: Bug Something isn't working labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal Minor issue impacting one or more users Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant