Configurating Machine
I am working on getting my Pi up and running, I am following the instructions on the following page: https://os.ratrig.com/docs/installation
I have connected to the pi via ethernet and completed the updates in the order as mentioned in the documentation.
I am trying to now configure the machine using the configuration tab, when I click on the configuration tab it takes me to http://ratos.local/configure but the page gives a 502 Bad Gateway error.
I have tried this while connecting to the pi through the ratos wifi and without connecting through wifi.
Feeling stuck!
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.
75 Replies
What url are you using to view the dashboard at all?
This is the URL to view the dashboard: http://ratos.local/config
My local IP is 192.168.0.163 I used that initially to connect
Are you able to open
http://192.168.0.163/config
?yes, its takes me to the machine tab
cool. Don't know why your network name resolution is having troubles with
ratos.local
for some paths, but that should let you keep moving forward.yes I completed all the updates on the config but when I go to configuration it gives me the bad gateway error
configure does not work for me
it gives the error
that makes no sense. hm
The tabs highlighted give me the bad gateway error
others are working okay
How did you install ratos to the sd card initially?
I used balena etcher to flash the image
then connected pi to power and checked if I was getting the wifi hotspot
the connectd my ethernet cable, I used a octopi to get the IP address
cool, so the login is stll pi / raspberry ?
yes that was the login
kk
did you get the pi connected to your wifi as well?
not sure what the issue is
My office does not have wifi
I can only use ethernet cables
I'm wondering if there is something weird like those pages are only looking at the wifi interface
I was able to connect to the ratos hotspot
@blacksmithforlife I'm out of ideas for now, you have any suggestions?
I would like to see the address bar while you're viewing mainsail
My office uses a VPN of some sort could that be causing an issue ?
let me send you a screenshot
this is with config
with configure
SO weird that one page works and another doesn't
that sucks, thanks for your help !
the configurer is hosted on the pi as a separate process than mainsail
I believe it uses nginx
is it being blocked by firewall or something?
if you are getting a bad gateway that is usually due to the configurer not running
is there something I can do to get it up and running?
ohh, interesting! and good to know
I'm assuming you've tried rebooting
Yes a few times
Other thing im curious about is where KlipperScreen came from. Didn't think that came with ratos but I haven't installed 2.1 yet.
I am not sure what that is
that answers that then 🙂
?
means you didn't add it, which means it came with ratos
thanks for your response, is there any method to check the root cause of this issue? Should I try with another raspberry pi ? or maybe check on another network
Sorry, I work was busy and I couldn't answer. I believe you can check the status of it running with
sudo systemctl status ratos-configurator.service
no issues at all !
Where do I type the sudo
systemctl status ratos-configurator.service
?
can I type it into the console box ?no, you will have to ssh into the pi
oh okay, let me try that
sorry for the newbie questions, is there a specific way to ssh into the pi? like I need a cable or something ?
you need to connect the pi to your network, and then if using a windows machine you can type in the CMD
ssh pi@<YOUR PI'S IP ADDRESS
, password by default is raspberry
and it will not show you typing the password which is normalmy Pi is already connected by ethernet cable
can I use putty to ssh into it ?
this is what I get
@miklschmidt - help
So first of all, the screenshot shows old packages, looks like they have not been updated, start there. Refresh the update manager.
You may also want to do a hard refresh of mainsail, it's on 2.13 so it should show the custom package descriptions and not the client names.
If that does nothing, show me the output of:
You may somehow have ended up on the wrong branch.
This should not exist on an updated installation.
In so far as the
ratos-configurator
is on v2.1.x-deployment
, doing a git pull
followed by ratos doctor
should get everything into work order.
If there are any errors, post them here, i'll get you sorted.Thank you for your detailed response,
I hit the refresh icon on the update manager and it still shows all packages are up to date.
I am not sure what hard refresh of mainsail means or how to do it. I hit refresh on all the buttons that are visible after hitting the power icon on the top right corner. I typed in the code above after ssh-ing into the Pi: see image for details
I am not sure what hard refresh of mainsail means or how to do it. I hit refresh on all the buttons that are visible after hitting the power icon on the top right corner. I typed in the code above after ssh-ing into the Pi: see image for details
when I tried git pull I got the following error after a while:
I tried the rat doctor as well after reconnecting to the pi as the connection timed out
I am not sure what hard refresh of mainsail means or how to do it.Ctrl + shift + r .. That clears the cache and reloads the browser, it's a generic browser feature. This explains the crux of your issues, you have network problems. It's still processing in your screenshot, should fix your issues
My office uses a vpn, could that be an issue ?
depends on the specifics
can I complete the configuration at another location that does not have a VPN and then bring it back to my office to complete the rest of the setup ?
Sure!
okay I think that will be easier for me to try
Just run
ratos doctor
, it'll report the status as it goes (once it's gotten over the initial package installation)
Once that's happy you can go ahead and configure 🙂okay, thanks. the ratos doctor is still at the same spot for the last hour, is that normal ?
I took my pi home and used my wifi to connect to the pi but I get the same issue.
I was able to connect to the configure page initially but after doing the updates it stopped working.
I am planning to start fresh again. Which img would you recommend flashing on the SD?
Thanks!
2024-07-27-RatOS-2.1.0-RC2-raspberry-rpi32.img.xz
Then run the updates in the prescribed orderthank you
I flashed a fresh img onto a new SD card and the configuration page is now visible, but I have not yet updated the items on my update manager. I did follow the order last time
as per the online guide I need to do ratos first and then ratos configurator
This is my configuration page currently before any updates
I have completed the 2 updates first for Ratos and then ratos configurator
My configuration page has stopped working again.....
what did I do wrong ???
Same issue here. Also VAOC and RealTime Analysis don't work
edit: fixed. I had to delete
chopper_tune.cfg -> ../../chopper-resonance-tuner/chopper_tune.cfg
. I tried Chopper_tune months ago and after tests, I deleted it. But this .cfg file remains somewhere and made this issues.Had the same 502 Bad Gateway after installing RatOS 2.1.
ratos doctor
solved the issueWhen I use ratos doctor nothing happens
I ssh into the pi and use ratos doctor and it did not do anything for the whole day
Is there a previous more stable version that does not have this issue ??
Cause I am having this issues only after updating