OIDC Discovery Error: cURL error 28: Resolving timed out after 3000 milliseconds #2733

Closed
opened 2026-02-05 04:57:04 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @itxworks on GitHub (Apr 1, 2022).

Describe the Bug

Getting this Error only with Bookstack Container (https://hub.docker.com/r/linuxserver/bookstack)

OIDC Discovery Error: HTTP request failed during discovery with error: cURL error 28: Resolving timed out after 3000 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.xxxx.com/realms/xxxx/.well-known/openid-configuration

Steps to Reproduce

Works fine with other Apps linke "keycloak traefik forward auth" ...

Expected Behaviour

Is there a way to increase the curl timeout ...

Screenshots or Additional Context

image

Browser Details

Chrome

Exact BookStack Version

[BookStack v22.03]

PHP Version

image: lscr.io/linuxserver/bookstack

Hosting Environment

Debian 11 VPS

Originally created by @itxworks on GitHub (Apr 1, 2022). ### Describe the Bug Getting this Error only with Bookstack Container (https://hub.docker.com/r/linuxserver/bookstack) OIDC Discovery Error: HTTP request failed during discovery with error: cURL error 28: Resolving timed out after 3000 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://auth.xxxx.com/realms/xxxx/.well-known/openid-configuration ### Steps to Reproduce Works fine with other Apps linke "keycloak traefik forward auth" ... ### Expected Behaviour Is there a way to increase the curl timeout ... ### Screenshots or Additional Context ![image](https://user-images.githubusercontent.com/73403258/161236859-0bcfe368-4f30-4816-88e7-f3b4e03de902.png) ### Browser Details Chrome ### Exact BookStack Version [BookStack v22.03] ### PHP Version image: lscr.io/linuxserver/bookstack ### Hosting Environment Debian 11 VPS
OVERLORD added the 🐛 Bug label 2026-02-05 04:57:04 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Apr 1, 2022):

Hi @itxworks,

Is there a way to increase the curl timeout ...

No, not without editing app files at least. I'm not sure editing the timeout is the answer here, three seconds is quite a long time for a request resolve to occur. It indicates there's an issue elsewhere.

  • Is that https://auth.xxxx.com/realms/xxxx/.well-known/openid-configuration URL accessible from the BookStack host when manually sending a curl request?
    • If so, how long does it take to resolve?
    • Does this still work when accessing the container?
curl https://auth.xxxx.com/realms/xxxx/.well-known/openid-configuration
@ssddanbrown commented on GitHub (Apr 1, 2022): Hi @itxworks, > Is there a way to increase the curl timeout ... No, not without editing app files at least. I'm not sure editing the timeout is the answer here, three seconds is quite a long time for a request resolve to occur. It indicates there's an issue elsewhere. - Is that `https://auth.xxxx.com/realms/xxxx/.well-known/openid-configuration` URL accessible from the BookStack host when manually sending a curl request? - If so, how long does it take to resolve? - Does this still work when accessing the container? ``` curl https://auth.xxxx.com/realms/xxxx/.well-known/openid-configuration ```
Author
Owner

@itxworks commented on GitHub (Apr 1, 2022):

OK ... thx

@itxworks commented on GitHub (Apr 1, 2022): OK ... thx
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2733