OIDC Discovery Error: cURL error 28: Resolving timed out after 5000 milliseconds #4554

Closed
opened 2026-02-05 09:05:03 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @jothoma1 on GitHub (Apr 3, 2024).

Describe the Bug

When a user click on the SSO login button for connecting there is a timeout but only when the user is logging in after an inactivity period or the first time of the day (same behavior).
The login with our Keycloak OIDC works great with other apps (grafana, itop, etc) without this behavior
When the timeout occurs, user retry a second time and it works flawlessly
It's like Bookstack is freezed for a small delay and the OIDC dialog is slower with this delay so we have more than 5000 milliseconds

Bookstack is installed on a Debian 12 VM and Keycloak on another Debian 12. No Firewall between the 2, no CPU or RAM usage.

Steps to Reproduce

Works fine with OIDC login with other apps (grafana and itop are ok everytime)
Same as this one : https://github.com/BookStackApp/BookStack/issues/3360

Expected Behaviour

Instantly have Keycloak login without delay

Screenshots or Additional Context

image

Browser Details

Firefox / Chrome / Edge ->same

Exact BookStack Version

24.02.2

Originally created by @jothoma1 on GitHub (Apr 3, 2024). ### Describe the Bug When a user click on the SSO login button for connecting there is a timeout **but only when the user is logging in after an inactivity period or the first time of the day (same behavior)**. The login with our Keycloak OIDC works great with other apps (grafana, itop, etc) without this behavior When the timeout occurs, user retry a second time and it works flawlessly It's like Bookstack is freezed for a small delay and the OIDC dialog is slower with this delay so we have more than 5000 milliseconds Bookstack is installed on a Debian 12 VM and Keycloak on another Debian 12. No Firewall between the 2, no CPU or RAM usage. ### Steps to Reproduce Works fine with OIDC login with other apps (grafana and itop are ok everytime) Same as this one : https://github.com/BookStackApp/BookStack/issues/3360 ### Expected Behaviour Instantly have Keycloak login without delay ### Screenshots or Additional Context ![image](https://github.com/BookStackApp/BookStack/assets/19167503/e9c0da71-0b16-4108-9293-5f36a7012968) ### Browser Details Firefox / Chrome / Edge ->same ### Exact BookStack Version 24.02.2
OVERLORD added the 🐛 Bug label 2026-02-05 09:05:03 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4554