Upgraded to 1.8.3 and logins stopped working

Are you using a reverse proxy in front of Octoprint?

I have HAProxy in front of my Octoprint instance and had to add

        option forwardfor
        http-request set-header X-Real-IP %[src]
        http-request set-header X-Forwarded-Proto https if { ssl_fc }

in order to log in.

1 Like

Hello,

argon2_cffi pip binary is ducked. just do a:
pip install --force-reinstall --no-binary :all: argon2_cffi

No luck running that force no-binary all command on raspberry....

  Collecting importlib-metadata
    Downloading importlib_metadata-4.12.0.tar.gz (48 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.2/48.2 kB 1.2 MB/s eta 0:00:00
    Installing build dependencies: started
    Installing build dependencies: still running...
    Installing build dependencies: still running...
    Installing build dependencies: finished with status 'error'
    error: subprocess-exited-with-error

Managed to fix it on raspberry by installing with following command in venv:

pip install --force-reinstall --no-binary=argon2-cffi-bindings argon2_cffi

And by adding haproxy forwardfor rules also the remote access now works.

And same fix also worked for my pine64 venv env.