-
Notifications
You must be signed in to change notification settings - Fork 721
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
Update fails on raspberry pi - context deadline exceeded #253
Comments
I get this error too when I run
Previously I used to get
before the update to the API #249 I'm running cloudflared on a raspberry pi 3B cat /etc/os-release |
Same issue here. cloudflared version 2020.10.0 (built 2020-10-06-1530 UTC) PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" |
OK, fixed it. Well, more specifically, they fixed it... This is how: Roll back cloudflared to an older, stable, version: Then update cloudflared (to 2020.10.2): Run the update command again, and you should get a sensible response about cloudflared being up to date |
Thanks @tamhamilton - this worked a treat! |
Nope, still getting |
Cloudflared definitely reporting v2020.10.2? |
Looks like I forgot a step Thanks @tamhamilton |
I would say, that this is more of a workaround than a fix. What do the people do, that don't see this issue report here? |
Thank you, the re-install stable then update method worked for me as well. |
Actually that wasn't a rollback. It's a re-install since the stable version is always the latest one. |
That's what I thought, but I checked the version after my initial steps and it didn't report 2020.10.2 (can't remember what it actually was though). Ran the update command, and it did update (rather than just report that cloudflared is at the latest version), and now reports 2020.10.2. Anyhow, I apologise if my incorrect terminology offends anyone... Just wanted to share the steps that got me up and running properly. |
Can also Replicate this. 2020.10.0 is what my version was. @KommX steps fixed my issue. Sounds like people will just need to deploy this fix for the updates to work again. |
The provided suggestions doesn't work for me. cloudflared -v output after running the commands:
|
And what now happens when you run |
@tamhamilton |
I was on Re-installing the older version enabled me to update successfully to |
@tommetje But, after doing that, now in the latest version, are you able to update using cloudflared's built-in updater? Because I know I'm able to update it replacing the binary. However, what I want to know is if I'll need to make an script for automatising the updating process, as I was relying in the built-in one for the automation. Will the built-in updater be fixed at some point? |
Howdy everyone. We just release 2020.11.3 which lengthen the timeout on the updater. The timeout was previously a bit short for some connections and thus the timeout error. Updating from the latest version forward should work as expected. A possible work without doing a manual upgrade/replace would to downgrade to the older updater and then upgrade to the latest version. When running version
This will force a downgrade to version 2020.9.3 with the old updater that will then update to the latest version |
@daltoniam
|
@ferferga After running the update command, currently I am told that cloudflared is up to date. I have a 1000mbit connection and I too got the timeout error message before I re-installed cloudflared, the timeout must have been set very short 😃 |
@daltoniam Pulling the latest release from GitHub and checking for updates worked great! Thank you very much! @KommX You musy grab the latets release from the releases tab and replace it in your system. |
This worked well for me. Thanks. |
The forced downgrade mentioned by @daltoniam didn't work for me either, attempting to go from 2020.10.2 to 2020.11.3, and the straight update also failed. However the steps I used previously worked a charm, again. Hopefully 2020.11.3 has cleared up the issue finally. |
Successfully updated cloudflared to 2020.11.4 from 2020.11.3 using the automatic updater; seems like the fix in .3 is functional! |
Same here, thanks for the fix! |
I understand that this would be a workaround. But as I stated before, that's not a proper fix, since all the affected people out there would have to have knowledge about this workaround. |
Still intermittently getting this issue, actually. Just updated to 2020.11.10 successfully now, but was getting the error earlier today with 2020.11.9. Is it just 'internet weather'? |
I stumbled about this error because i had to restart my local dns resolver and cloudflared stoped working after that. If you find yourself in the situation that you are running an older version on Debian/Ubuntu, you can use the following to get things going again:
I was raised to V2020-12 after that and everything is working now again. |
Same problem here need help cloudflared version 2021.3.1 (built 2021-03-15-1925 UTC) Mar 21 14:54:32 raspberrypi cloudflared[516]: 2021-03-21T17:54:32Z ERR failed to connect to an HTTPS backend "https://94.140.15.15/dns-query" error="failed to perform an HTTPS request: Post "https://94.140.15.15/dns-query\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" |
What version of cloudflared are you running? There are a couple of workarounds further up this thread... |
@DFlexy This issue is for that message appearing while running You will probably have better luck opening a new issue for that, as this is completely unrelated to the original issue. |
I think there's no issues for the cloudflared itself but the upstream server. You can chose the DOH server regionally. |
Since #249 got closed I want to create a new issue for the problem that was mentioned there and that some of us including me face:
When I run
sudo cloudflare update
I get the error:failed to update cloudflared: context deadline exceeded (Client.Timeout or context cancellation while reading body)
More info:
The text was updated successfully, but these errors were encountered: