Hello I am using a podman compose setup with keycloak, strapi and a frontend behind nginx.
If I test the system in my windows machine it works fine. I can authenticate against the keycloak with username and password.
Now if I want to deploy it on a linux machine I get the setup up and running and I am being redirected to keyclaok but when I want to login I get this error in my browser:
[strapi-app] | [2024-10-11 13:19:49.875] http: GET /api/connect/keycloak/callback?session_state=468d2f9d-2183-48a4-9b6c-590c19fb7121&iss=https%3A%2F%2Flocalhost.keycloak%2Frealms%2Fstrapi&code=myCODE(5022 ms) 302
[strapi-app] | [2024-10-11 13:19:50.116] http: GET /api/auth/keycloak/callback?error=request-compose%3A%20timeout (10 ms) 400
[strapi-app] | [2024-10-11 13:19:57.379] http: GET /api/auth/keycloak/callback?error=request-compose%3A%20timeout (13 ms) 400
What I want to know is is what does this error mean?
And can I fix it?
I already tried to set the request timeout in server.ts to 10 min s but it didnt change anything :
export default ({ env }) => ({
host: env(‘HOST’, ‘0.0.0.0’),
port: env.int(‘PORT’, 1337),
url: env(‘URL’, ‘http://localhost:1337’),
app: {
keys: env.array(‘APP_KEYS’),
},
webhooks: {
populateRelations: env.bool(‘WEBHOOKS_POPULATE_RELATIONS’, false),
},
http: {
serverOptions: {
timeout: 600000,
},
},
});
Any help is appreciated ![]()
And I would like to add a Tag #provider
This topic has been created from a Discord post (1294297097629335602) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord