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
Cannot update Error: 502: Bad Gateway #617
Comments
I also have this issue, but am on 3.12. Haven't been able to upgrade the OS since 3.13 came out,. |
Me to same problem also from 3.12 to 4.8 |
Eu também estou com esse problema... versão 3.13 pra 4,8. Alguém sabe como resolver? |
Same problem here when trying to upgrade from 3.13 to 4.8. Any solution? Systemzustand |
I ran a tcpdump while i ran the os update and it seems to grab the entire upgrade, then fails after that - there is definitely a ton of traffic passing. Is there anyway to manually download the OS upgrade an upgrade in place using a local file? Example: 09:06:18.579391 IP homeassistant.home.35306 > s3-1-w.amazonaws.com.https: Flags [.], ack 65872, win 9774, length 0 |
I did a little more digging and the TCP stream from AWS above is terminated by HomeAssistant (RST) - but the network looks good during the whole exchange. So something in the OS is dropping the connection in the middle of upgrade. |
What helped for me was changing the Virtio network device to Intel E1000, reboot Hassos and tried to update again. |
@Mediacj - are you running on a virtual machine? |
Oh yes sorry, I am running it as a VM under Proxmox. |
Thanks @Mediacj - is your adapter set to NAT in the VM? I'm running virtual box, but i have the adapter "bridged" from the host machine, so i can't change the device type right now. I'm going to try playing with changing it to NAT and some other options possibly. |
@Mediacj - wow that is amazing. It worked!!! For anyone else finding this, i changed the Virtualbox VM adapter to NAT. Obviously this is going to rip HA off the network and disable SSH access. I had to login via a VNC window and run 'os update' - but it updated VERY fast, and then rebooted and came up on version 4.8. I've now moved it back to a bridged ethernet adapter and all is good. |
Ok great! My adapter is bridged to the host. I just updated to version 4.9 without errors. |
same error 502 bad gateway from 3.13 to 4.9, using rpi4 2gb after trying again to start the update:
third try: Error: 502: Bad Gateway any solution? |
Geo-blocking? If yes, you need use maybe an VPN? |
how do you come up with geo blocking? how can that be the reason? Confusing for me |
Wait, you've opened issue about that you can't reach the update server but forgot to mention that you're blocking external access in your initial post? |
sorry my fault, getting this error message when updating in the prod environment with external access too, not only in test: via gui: Error: 502: Bad Gateway LOG:
try via terminal:
|
I have exactly the same problem now, I did not see this topic because of the name, and only now I saw a 502 error at my side too. |
today the update from 3.13 to 4.10 suddenly worked. I haven't changed anything |
Thanks, I will try today to update my other instance... |
All fine now! |
I've tried to update the supervisor 3.13 to 4.10 several times without success. The installation was cancelled with message: Error: 502: Bad Gateway. Rpi3b+, HA v0.111.4. |
I got the same problem here, updating from 3.13 to 4.10. Tried at least 4-5 times but no luck. Every single try I get "Error: 502: Bad Gateway." Update: Few more tries(think this one was 12th) and it finally updated. |
FYI - i just did the update again. Had issues (502 bad gateway) updating the OS. So I repeated my previous process:
Seems to work like a charm. |
Same issue from 3.13 to 4.10 |
It may be caused by a time-out due to the long download time (>10 min). You'll need to:
|
The error reoccurs with the new update from 4.10 to 4.11 :( Error: 502: Bad Gateway
|
Same here with the new update from 4.10 to 4.11 |
Me too |
Same problem - HassOS 4.10 running in VM - can't update, everything else works fine... |
Please use reactions instead of writing me too's. |
This comment has been minimized.
This comment has been minimized.
Same happening from 4.11 to 4.12. I've finally downloaded the update hassos_rpi4-4.12.raucb , put it in a pen drive and used Import From USB on Supervisor/System/Host System Panel to update the Rpi4. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still having the same problem running a RPI4: Here's my recent error logs:
|
When this happens to me (I'm kinda getting used to updates via the web interface being flaky), I do it via the command line. That seems to work more reliably. Login to the device (a RPI in my case) via SSH and (as root) type |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. |
HassOS release with the issue:
currently running version 3.11
Supervisor logs:
Journal logs:
Kernel logs:
Description of problem:
it shows ERROR:502: Bad Gateway every time i try to update from 3.11
The text was updated successfully, but these errors were encountered: