502 Bad Gateway error with RatOS v2.1-RC2
I followed the instruction here https://os.ratrig.com/docs/installation
I updated ratos, then ratos-configurator, then all components, updating went fine, but after they finished, I cannot access configurator, RA or VAOC, just 502 bad gateway screen
Installing RatOS | RatOS
This is preliminary documentation for the upcoming v2.1.0 release. The work is still ongoing and the documentation is not yet complete.
18 Replies
Are you able to ssh into the pi?
If you power cycle the printer, does the hotspot come up or does it connect to your wifi?
i can access ratos.local (mainsail), but ratos.local/configure is 502
yes I am able to ssh into the pi
try running
ratos doctor
if that doesn't work, try
it says ratos: command not found

that is VERY puzzling
yeah kinda weird, I tried some wget download before and it timed out so often, so I disabled ipv6 and it's fine. Im thinking of there is issue with the ipv6 that prevent updating to work, should I fresh flash the os, then disable ipv6 and repeat the installation steps?
how do you think?
I would start fresh, yes. Did you have to do something to force ipv6?
try with the IP address instead of
ratos.local
no it enabled by default
still not work
I haven't heard of anyone specifically using ipv6 for their ratos, but I don't know your networking situation
yeah, I don't think it is really setup for it - I recall others having ipv6 issues before
if I remember correctly, they needed to make a moonraker config change, but this was years ago
i think its missing something
btw moonraker shows this in notifications

Did you change anything with the writing to sd card? That isn't looking like the install nor update worked, despite everything saying it did
I did not make any change, fresh install. if I dont update ratos and ratos-configurator, it still fine and I can setup my printer normally. I opened an git issue https://github.com/Rat-OS/RatOS/issues/178 3 months ago and some guys had this issue too
GitHub
502 Bad getway after updating RatOS core packages (v2.1.0-RC2) · I...
What happened Error 502 Bad Getway when access http://ratos.local/configure after updating ratos core packages What did you expect to happen I want to try new ratos version, so I downloaded https:/...
Solution
Try balena etcher again, but an earlier version
I think 1.8 is the latest that works, I used 1.7 successfully
@Tiki man it worked! I tried to use balena v1.8. So the problem is from the writing the os to the sd card. thank you very much!