+
Skip to content

502 Error from Keycloak #41050

Open
Open
@Harishkanagvel

Description

@Harishkanagvel

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

authentication

Describe the bug

[Wed Jul 09 10:24:25.225343 2025] [proxy:debug] [pid 21:tid 140425994151616] proxy_util.c(2641): [client 10.0.0.2:36854] AH00944: connecting http://infinity-keycloak-service:8080/auth/realms/infinity/protocol/openid-connect/auth?client_id=infinity-client&redirect_uri=https%3A%2F%2F172.16.1.94%2F&state=f9515cb0-8293-4db1-9a18-c3467866c865&response_mode=fragment&response_type=code&scope=openid&nonce=6cd26b21-d2ec-4d92-9d7e-50323a56270c to infinity-keycloak-service:8080, referer: https://172.16.1.94/
[Wed Jul 09 10:24:25.225362 2025] [proxy:debug] [pid 21:tid 140425994151616] proxy_util.c(2864): [client 10.0.0.2:36854] AH00947: connected /auth/realms/infinity/protocol/openid-connect/auth?client_id=infinity-client&redirect_uri=https%3A%2F%2F172.16.1.94%2F&state=f9515cb0-8293-4db1-9a18-c3467866c865&response_mode=fragment&response_type=code&scope=openid&nonce=6cd26b21-d2ec-4d92-9d7e-50323a56270c to infinity-keycloak-service:8080, referer: https://172.16.1.94/
[Wed Jul 09 10:24:25.225768 2025] [proxy_http:error] [pid 21:tid 140425994151616] (104)Connection reset by peer: [client 10.0.0.2:36854] AH01102: error reading status line from remote server infinity-keycloak-service:8080, referer: https://172.16.1.94/
[Wed Jul 09 10:24:25.225806 2025] [proxy_http:debug] [pid 21:tid 140425994151616] mod_proxy_http.c(1187): [client 10.0.0.2:36854] AH01105: NOT Closing connection to client although reading from backend server infinity-keycloak-service:8080 failed., referer: https://172.16.1.94/
[Wed Jul 09 10:24:25.225826 2025] [proxy:error] [pid 21:tid 140425994151616] [client 10.0.0.2:36854] AH00898: Error reading from remote server returned by /auth/realms/infinity/protocol/openid-connect/auth, referer: https://172.16.1.94/
[Wed Jul 09 10:24:25.225842 2025] [proxy:debug] [pid 21:tid 140425994151616] proxy_util.c(2592): AH00943: http: has released connection for (infinity-keycloak-service:8080)

This is apache log - it happens randomly and rarely

When apache try to connect to keycloak service it get connected and close the connection with Connection reset by peer: [client 10.0.0.2:36854] AH01102: error reading status line from remote server infinity-keycloak-service:8080, referer: https://172.16.1.94/

Why this happens

Version

25.0.6

Regression

  • The issue is a regression

Expected behavior

It should not close the connection

Actual behavior

It should not close the connection

How to Reproduce?

When i leave the application idle for few hours the issue is reproduced

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载