cloudflare / cloudflare/cloudflared

🐛Cloudflared Update ERR update failed to apply

Open
#1,493 0 comments 0 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**
On my customers computer that have slow internet connections I am not able to use the Cloudflared update to keep cloudflared up to date. The error message I am getting is:
2025-06-19T15:40:11Z ERR update failed to apply error="context deadline exceeded (Client.Timeout or context cancellation while reading body)"
failed to update cloudflared: context deadline exceeded (Client.Timeout or context cancellation while reading body)

I did a speed test from https://speed.cloudflare.com/. Their upload is 1.41Mbs, download is 1.70 Mbs, Latency is 304 ms, Jitter 127 ms, and Packet Loss is 0%.

**To Reproduce**
Steps to reproduce the behavior:
1. Open CMD as Administrator
2. Enter the Command, cloudflared update
3. then after a minute or so it gives me this error:
2025-06-19T15:40:11Z ERR update failed to apply error="context deadline exceeded (Client.Timeout or context cancellation while reading body)"
failed to update cloudflared: context deadline exceeded (Client.Timeout or context cancellation while reading body)

If it's an issue with Cloudflare Tunnel:
the Tunnel seems to be working fine.

**Expected behavior**
could you make it to where there is a longer timeouts and have it try multiple times to do the cloudflaed update? I would expect the cloudflared update to work on slow internet connection but just take longer.

**Environment and versions**
- OS: Window 11 pro
- Architecture: Intel 11th Gen Core I7-11700T
- Version: Windows 11 Pro
Version 24H2
Installed on ‎1/‎7/‎2025
OS build 26100.4349
Experience Windows Feature Experience Pack 1000.26100.107.0

**Logs and errors**
2025-06-19T15:40:11Z ERR update failed to apply error="context deadline exceeded (Client.Timeout or context cancellation while reading body)"
failed to update cloudflared: context deadline exceeded (Client.Timeout or context cancellation while reading body)

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