fluidd-core / FluiddPI

FluiddPi - A Pi image with Klipper, Moonraker, Fluidd and Web Camera support pre-installed.
https://docs.fluidd.xyz
GNU General Public License v3.0
299 stars 58 forks source link

Asks for login after initial install #30

Closed ChSt15 closed 2 years ago

ChSt15 commented 2 years ago

Im trying out fluiddpi for the first time so this might just be a beginner issue. When connecting for the first time it asks for username and password, which I haven't setup yet. Using SSH I changed the moonraker.conf force_logins to false and even after rebooting still asks for login. Using an older version like 1.16.2 solves the issue even after updating everything.

rainman0607 commented 2 years ago

+1

matmen commented 2 years ago

I've diagnosed this to be an issue with IPv6 (introduced in #9). The moonraker trusted hosts currently only include link-local addresses, but SLAAC (/ public) v6 addresses are required here too. I'm not sure how to fix this ATM, considering that we neither want to just add all hosts to the trusted hosts, nor can we make NGINX listen on link-local only (and I also don't want to just disable IPv6...). Maybe someone else has an idea here? @fluidd-core/triage

For reference, this is the same issue as described in https://github.com/mainsail-crew/MainsailOS/issues/100

hens50 commented 2 years ago

yes, same problem

matmen commented 2 years ago

A temporary workaround is to use the 1.16.2 FluiddPi image or removing the listen [::]:80 from the nginx config. We're working on a solution.