Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot login: timeout on /login endpoint #1808

Closed
Yann-J opened this issue Mar 17, 2022 · 5 comments
Closed

Cannot login: timeout on /login endpoint #1808

Yann-J opened this issue Mar 17, 2022 · 5 comments

Comments

@Yann-J
Copy link
Contributor

Yann-J commented Mar 17, 2022

Organizr Version: 2.1.1690
Branch: develop-v2
WebServer: nginx packaged in official docker image, and Caddy as reverse proxy
Operating System: Official Docker
Problem Description:

Since about a week (probably coinciding with my weekly scheduled restart/upgrade), it is not possible to login to my Organizr server.

The symptom is a timeout on the calls to /api/v2/login - actually an HTTP 504 Gateway Timeout returned by nginx after 60s. The UI shows the 'Login Error API Connection Failed' error toaster.

This happens both through Caddy or directly hitting the container port, in all 3 browsers (FF/Safari/Chrome), after a full cookie cleanup, and a fully container restart/recreate.

My auth configuration is Plex OAuth + local users, and this is affecting both login methods.

Already logged-in users can still connect, but new logins are rejected.

No meaningful container logs:

organizr_1  | Already up to date.
organizr_1  | Adding cron now...
organizr_1  | [cont-init.d] 40-install: exited 0.
organizr_1  | [cont-init.d] 50-debug: executing...
organizr_1  | -----------------------
organizr_1  | |     Kernel Info     |
organizr_1  | -----------------------
organizr_1  | Linux ae6ff563e8aa 5.11.0-31-generic #33-Ubuntu SMP Wed Aug 11 13:19:04 UTC 2021 x86_64 GNU/Linux
organizr_1  | Time Zone: Etc/UTC
organizr_1  | [cont-init.d] 50-debug: exited 0.
organizr_1  | [cont-init.d] done.
organizr_1  | [services.d] starting services
organizr_1  | [services.d] done.
organizr_1  | Running cron job...
organizr_1  | Running cron job...
organizr_1  | Running cron job...
organizr_1  | Running cron job...

Reproduction Steps:

Login to my server (I can DM some credentials).


Errors on screen? If so paste here:

Login Error
API Connection Failed

I need some help, I really fear I'll be locked out forever...

Many thanks!

@causefx
Copy link
Owner

causefx commented Mar 17, 2022 via email

@Yann-J
Copy link
Contributor Author

Yann-J commented Mar 17, 2022

Oh you're right, disabling the Tautulli SSO has resolved this! Thx!

@Yann-J Yann-J closed this as completed Mar 17, 2022
@rix1337
Copy link
Sponsor Contributor

rix1337 commented Mar 20, 2022

@causefx thx for that last comment - i was debugging this for 2 hours... seems tautulli sso is broken atm

@rix1337
Copy link
Sponsor Contributor

rix1337 commented Mar 20, 2022

@causefx can we prevent sso timeouts from preventing logins entirely? seems tautullis behavior is unexpected, but disabling that function was the last thing i would have checked..
For the last hour or so I thought the 2FA token was broken and at fault.

@causefx
Copy link
Owner

causefx commented Mar 20, 2022

I will be putting in custom timeouts for each sso item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants