cancel
Showing results for 
Search instead for 
Did you mean: 

Max redirect limit exceeded

harry
Contributor

Max redirect limit exceeded

Using POST HTTP request  i was seeing this error. I have redirect flag also set to true

 

Sat May 01 08:42:14 EDT 2021: DEBUG: http-outgoing >>
POST /identity/oidc/login HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/xml
Content-Length: 175
Host: url
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/12.0.1)
Cookie: JSESSIONID=6017D6E26282A5579C56027B1CE273DF; AWSALB=IJE6caMgHK+bMt/rusngCTiV4d6mMV7IvyvBX4Fd0Z8pmgJpMa/BJUVqaWdormdl3i0LDDLxmchw4snE2Al2zxWPpLV064MV9HfjVu2cjHRF+Q5fLsgW3grtOOzF; AWSALBCORS=IJE6caMgHK+bMt/rusngCTiV4d6mMV7IvyvBX4Fd0Z8pmgJpMa/BJUVqaWdormdl3i0LDDLxmchw4snE2Al2zxWPpLV064MV9HfjVu2cjHRF+Q5fLsgW3grtOOzF

_csrf=b4e73e10-1eaf-4042-b5c6-a5fe74cbf7eb&username=xxxxx&password=xxxxx&login_challenge=d591c04285854c94bf097914858aca1e&referer=url

harry_0-1619874811997.png

 

Sat May 01 08:42:14 EDT 2021: DEBUG: http-incoming <<
HTTP/1.1 302
Date: Sat, 01 May 2021 12:42:14 GMT
Content-Length: 0
Connection: keep-alive
Set-Cookie: AWSALB=VSuMY2JGr+wwTk66mf6uezUtWSFfmgOB7m0s+4qYyJvk9BuMfVGERzH+ZnackTADwjD4VX7Kv6TV0exneRgAhhFeyDAgPr57+vSxznc2RvjRmJBnOBeD0xO3+Z8i; Expires=Sat, 08 May 2021 12:42:14 GMT; Path=/
Set-Cookie: AWSALBCORS=VSuMY2JGr+wwTk66mf6uezUtWSFfmgOB7m0s+4qYyJvk9BuMfVGERzH+ZnackTADwjD4VX7Kv6TV0exneRgAhhFeyDAgPr57+vSxznc2RvjRmJBnOBeD0xO3+Z8i; Expires=Sat, 08 May 2021 12:42:14 GMT; Path=/; SameSite=None; Secure
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: DENY
Location: https://url/identity/oidc/login

3 REPLIES 3
richie
Community Hero

Re: Max redirect limit exceeded

Hey @harry,

I dont know if missed something, but i couldnt see any error response in the content you published. It looks like youve posted the Raw from the initial request and the redirect.

Can you provide the logging?

Cheers

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
harry
Contributor

Re: Max redirect limit exceeded

Now i was able to do the redirect calls for the http request. But  after execution for 30 mins. Http request ( redirect) call gets hanged for ever.

richie
Community Hero

Re: Max redirect limit exceeded

Hey @harry,

Ive seen your PM and your message below, but can you plz clarify:

Are you sayin that youre submitting a request that is successfully redirected (so is working fine), but after 30mins (or perhapa rather tham elapsed time, instead ita after a certain number of successful redirects), the redirection call is failing?

Is that correct? Sorry, i reallt have to understand all the whole process and exactly what is failing before i can provide any suggestions

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
New Here?
Join us and watch the welcome video:
Top Kudoed Authors