cloudflare / cloudflare/cloudflared

🐛context canceled

Open
#1,379 30 comments 19 reactions 0 assignees View on GitHub
Priority: Normal Type: Bug
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Configure 'from zero trust web'
2. Run 'cloudflared service install xxx'
3. See error

If it's an issue with Cloudflare Tunnel:
4. Tunnel ID : 7780c9b2-6203-4019-80dd-5ebb036f9c01
5. cloudflared config:

**Expected behavior**
A clear and concise description of what you expected to happen.

**Environment and versions**
- OS: [e.g. MacOS] Linux Debian12
- Architecture: [e.g. AMD, ARM] AMD
- Version: [e.g. 2022.02.0] cloudflared version 2024.12.2 (built 2024-12-19-1724 UTC)

**Logs and errors**
If applicable, add logs or errors to help explain your problem.
```
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF Starting tunnel tunnelID=7780c9b2-6203-4019-80dd-5ebb036f9c01
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF Version 2024.12.2 (Checksum 5237675a5e806120729acc78c5be02f9db5f406717699587abfa72b49b39fe40)
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF GOOS: linux, GOVersion: go1.22.5, GoArch: amd64
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF Settings: map[no-autoupdate:true token:*****]
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF cloudflared will not automatically update if installed by a package manager.
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF Generated Connector ID: 47572931-db89-4e43-a61c-88a6d6b7d792
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF Initial protocol quic
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF ICMP proxy will use 45.*.*.34 as source for IPv4
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF ICMP proxy will use fe80::6e92:bfff:fe66:f04d in zone ens33f1 as source for IPv6
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z WRN The user running cloudflared process has a GID (group ID) that is not within ping_group_range. You might need to add that user to a group within that range, or instead update the range to encompass a g>Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z WRN ICMP proxy feature is disabled error="cannot create ICMPv4 proxy: Group ID 0 is not between ping group 1 to 0 nor ICMPv6 proxy: socket: permission denied"
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF ICMP proxy will use 45.*.*.34 as source for IPv4
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF ICMP proxy will use fe80::6e92:bfff:fe66:f04d in zone ens33f1 as source for IPv6
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF Starting metrics server on 127.0.0.1:20241/metrics
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z ERR Failed to serve tunnel connection error="context canceled" connIndex=0 event=0 ip=198.41.192.77
Dec 27 23:08:00 myhost cloudflared[514341]: 2024-12-27T23:08:00Z INF Retrying connection in up to 2s connIndex=0 event=0 ip=198.41.192.77
Dec 27 23:08:02 myhost cloudflared[514341]: 2024-12-27T23:08:02Z INF Tunnel server stopped
Dec 27 23:08:02 myhost cloudflared[514341]: 2024-12-27T23:08:02Z ERR Initiating shutdown error="context canceled"
Dec 27 23:08:02 myhost cloudflared[514341]: 2024-12-27T23:08:02Z INF Metrics server stopped
Dec 27 23:08:02 myhost cloudflared[514341]: context canceled
```
**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.