TheSpaghettiDetective / moonraker-obico

GNU Affero General Public License v3.0
153 stars 41 forks source link

Obico unable to connect after enabling logins #76

Closed charredchar closed 1 year ago

charredchar commented 1 year ago

I enabled logins in Moonraker and Fluidd to help keep things a bit more secure but now Obico will no longer connect even after going through the reconnect proceedure. Checking the Obico logs show the following line repeating every 30 seconds.

WARNING  obico.moonraker_conn - api key is unset, trying to fetch one
INFO  backoff - Backing off ensure_api_key(...) for 30.7s (requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http://127.0.0.1:7125/access/api_key)

I have the API Key from Fluidd, I've used it for other connections such as my Slicer. But I do not see any documentation on how to add this to Obico so it can start monitoring again.

charredchar commented 1 year ago

My apologies, I had trouble finding anything about adding an API Key to the config when searching but I was finally able to find the (one) page that has it. 😅 https://www.obico.io/docs/user-guides/moonraker-obico/config/