apache redirect issue

Alles, was den Apache betrifft, kann hier besprochen werden.

apache redirect issue

Postby Kailash » 05. June 2020 08:33

Hello Team,

We are using apache - Server version: Apache/2.4.39 (Unix). We are using apach as reverse proxy our Flow is like : Internet - LB - apache - backend.
The issue we are facing is with redirection. We are using mod_proxy module to achieve the same. We need to authenticate users via SSO server.Below is the flow:
1. Internet - LB - apache reverse proxy - backend (test.com) - squid out proxy - LB - apache reverse proxy - SSO server(sso.com) if authenticated redirect back to test.com - squid outbound - LB - apache reverse proxy - test.com

Issue we are facing is that we are stucked at second last step mentioned in flow above. After authenticating from sso server, when we are redirected back to test.com apache is blocking us with below logs. We are using proxypass for redirection to backend.

[Thu Jun 04 17:13:45.849798 2020] [proxy:debug] [pid 45860:tid 140669687047936] proxy_util.c(2588): [client 10.74.207.17:13582] AH00947: connected /oAuthCallbackWithAuthcode?code=vPFf6HH8aFakQXe53NhOOMMw&state=/ to testhost:9000
[Thu Jun 04 17:13:45.851785 2020] [proxy:debug] [pid 45860:tid 140669687047936] proxy_util.c(3057): AH02824: HTTP: connection established with 10.97.22.249:9000 (testhost)
[Thu Jun 04 17:13:45.851808 2020] [proxy:debug] [pid 45860:tid 140669687047936] proxy_util.c(3231): AH00962: HTTP: connection complete to 10.97.22.249:9000 (testhost)
[Thu Jun 04 17:14:45.911236 2020] [proxy_http:error] [pid 45860:tid 140669687047936] (70007)The timeout specified has expired: [client 10.74.207.17:13582] AH01102: error reading status line from remote server testhost:9000
[Thu Jun 04 17:14:45.911341 2020] [proxy_http:debug] [pid 45860:tid 140669687047936] mod_proxy_http.c(1292): [client 10.74.207.17:13582] AH01103: read timeout
[Thu Jun 04 17:14:45.911348 2020] [proxy_http:debug] [pid 45860:tid 140669687047936] mod_proxy_http.c(1351): [client 10.74.207.17:13582] AH01105: NOT Closing connection to client although reading from backend server testhost:9000 failed.
[Thu Jun 04 17:14:45.911391 2020] [proxy:error] [pid 45860:tid 140669687047936] [client 10.74.207.17:13582] AH00898: Error reading from remote server returned by /oAuthCallbackWithAuthcode
[Thu Jun 04 17:14:45.911424 2020] [proxy:debug] [pid 45860:tid 140669687047936] proxy_util.c(2341): AH00943: HTTP: has released connection for (testhost)
[Thu Jun 04 17:14:45.911669 2020] [headers:debug] [pid 45860:tid 140669687047936] mod_headers.c(900): AH01503: headers: ap_headers_error_filter()
[Thu Jun 04 17:14:50.917171 2020] [ssl:debug] [pid 45860:tid 140669678655232] ssl_engine_io.c(1106): [client 10.74.207.17:13582] AH02001: Connection closed to child 131 with standard shutdown (server test.com:443)

Thanks
Kailash
 
Posts: 1
Joined: 05. June 2020 08:14
XAMPP version: Apache/2.4.39
Operating System: centos7

Return to Apache

Who is online

Users browsing this forum: No registered users and 28 guests