"Too many HTTP redirects" from iOS to Apache/JBoss Server

We have a major problem with “Too many HTTP redirects” connection error. The problem occurs only when the connection is made through a mobile network (wi-fi works fine).

What we have is an Apache server which gets the requests and then it connects to JBoss to fetch the data.

If the server is restarted the problem is not present for a while but soon it occurs again. What is interesting is that the Android app doesn’t have the problem, it happens only with the iOS app.

I tried this solution – Handling redirects correctly with NSURLConnection but it doesn’t help.

Source: apache

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.