Frequent but unpredictable "401 Unauthorized" responses during initial RatOS configuration

I'm building a V-Minion from a refurbished Fabreeko kit using a Raspberry Pi 3A and BTT SKR 2 for controls. After flashing the latest pre-built RatOS image (RatOS-v1.2.4-buster-lite.img.xz), I get frequent but irregular "401 Unauthorized" HTTP responses that are preventing me from using the RatOS web interface. I've included the steps I followed this morning, and also attached Moonraker and Klippy logs (these logs were a pain to obtain, because of the aforementioned 401 responses! 😅 )

Thank you!

Steps I followed:
  • Remove MicroSD card from SKR2 and from Raspberry Pi
  • Flash RatOS-v1.2.4-buster-lite.img.xz using Raspberry Pi Imager
  • Manually edit ratos-wpa-supplicant.txt to provide my Wi-Fi SSID and PSK (they have whitespace and special characters, configurator doesn't work with it)
  • Insert flashed MicroSD card into Raspberry Pi, power on the Ratrig power supply, wait 60-ish seconds
  • Browse to http://ratos.local; the site mostly loads but I still receive some 401 Unauthorized responses, for example when trying to load http://ratos.local/server/files/config/.theme/sidebar-logo.svg
  • Use the "Compile Firmware" macro button, wait for it to finish
  • In the "Machine" tab, browse to config/firmware_binaries/
  • Attempt to download firmware-btt-skr-2-429.bin, receive 401 unauthorized error
  • Attempt to download klipper and moonraker log files, receive 401 unauthorized error
  • Refresh page; site loads same as before (majority of page loads but a few 401 unauthorized errors, e.g. the logo)
  • Update ratos-configurator
  • Refresh page; receive 401 Unauthorized errors when trying to load ws://ratos.local/websocket
  • Refresh page; everything loads including logo, but still can't download the firmware .bin or log files.
  • Refresh page; everything loads; I download the log and bin files.
  • Refresh page; receive several 401 unauthorized errors but after some retries, most of the page loads (no logo again)
  • Shut down RatOS, power down PSU, make Discord post
klippy.log20.32KB
Was this page helpful?