Unable to login to oauth after some time. #9748
Replies: 4 comments 5 replies
-
This looks to me like some sort of networking issue, not an Immich bug. |
Beta Was this translation helpful? Give feedback.
-
(Immich Have been trying to setup Authelia with immich for a while now and am seeing this same error (albeit consistently). I have Authelia/LLDAP otherwise working well (e.g. with calibre-web) - I can manually hit other API functions successfully and get expected JSON back if I am logged into immich the normal way, e.g. In the
...so the endpoint should be there.... If I try to manually I get an appropriate error, so the endpoint is reachable:
However, actually trying the Authelia login it consistently just hangs for a while then I get:
Using bash inside the
So...in all I am a bit confounded and stuck - and this is the only such error/report I can find, hence this contribution.
...and the |
Beta Was this translation helpful? Give feedback.
-
Hey @bossanova808 , were you ever able to resolve this? I am experiencing exactly the same issue as you for days now, with no luck in resolving it. |
Beta Was this translation helpful? Give feedback.
-
No, it doesn't work even after restart.
…On Mon, Jan 6, 2025, 19:51 MrWetsnow ***@***.***> wrote:
Does restarting the immich server fix it for you (it does for me every
time).
—
Reply to this email directly, view it on GitHub
<#9748 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABL3FTHEJWJNP3BEE266OSD2JLGC3AVCNFSM6AAAAABUWBE4USVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZVGI3DINQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The bug
I have oauth working properly, it goes via cloudflare (which uses google accounts). No issues. Every once in a while, on a new computer where I need to login, it doesn't work.
I get the login screen, I click the button to try to login, and it eventually times out. The server logs show:
If I restart immich (I use docker compose) then I can immediately login again. I use a cloudflare tunnel to access the server (on a raspberry pi) remotely. I suspect something is running out of some resource, but I am not sure where to look. Next time this happens, what would be useful debug information to provide you with?
Thank you
Dan
The OS that Immich Server is running on
Debian 12 (piOS)
Version of Immich Server
v1.105.1
Version of Immich Mobile App
v1.105.1
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
[Nest] 6 - 05/24/2024, 9:41:40 PM ERROR [ImmichServer] [AuthService] Error in OAuth discovery: RPError: outgoing request timed out after 30000ms [Nest] 6 - 05/24/2024, 9:41:40 PM ERROR [ImmichServer] [AuthService] RPError: outgoing request timed out after 30000ms at /usr/src/app/node_modules/openid-client/lib/helpers/request.js:140:13 at async Issuer.discover (/usr/src/app/node_modules/openid-client/lib/issuer.js:143:22) at async AuthService.getOAuthClient (/usr/src/app/dist/services/auth.service.js:245:28) at async AuthService.authorize (/usr/src/app/dist/services/auth.service.js:144:24) [Nest] 6 - 05/24/2024, 9:41:45 PM LOG [ImmichServer] [EventRepository] Websocket Connect: iMU3QKmyUzdT3sKVAACR [Nest] 6 - 05/24/2024, 9:41:58 PM LOG [ImmichServer] [EventRepository] Websocket Disconnect: iMU3QKmyUzdT3sKVAACR
Beta Was this translation helpful? Give feedback.
All reactions