java.net.ProtocolException: Server redirected too many times (20)

Apereo Issues | Juergen | 7 years ago
  1. 0

    org.jasig.cas.client.session.SingleSignOutFilter.doFilter(ServletRequest, ServletResponse, FilterChain): in case of POST: final String logoutRequest = CommonUtils.safeGetParameter(request, "logoutRequest"); org.jasig.cas.client.util.CommonUtils.safeGetParameter(HttpServletRequest, String): request.getQueryString() == null || request.getQueryString().indexOf(parameter) == -1 ? null : request.getParameter(parameter); query string does NOT contain "logoutRequest", its a POST param --> single sign out filter is not applied results (the same as if not having Single Sign Out Filter installed at all): 2009-08-27 22:55:47,445:4229795 [ pool-11-thread-15] util.HttpClient ERROR java.net.ProtocolException: Server redirected too many times (20) @org.jasig.cas.util.HttpClient java.net.ProtocolException: Server redirected too many times (20) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1315) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at org.jasig.cas.util.HttpClient$MessageSender.call(HttpClient.java:200) at org.jasig.cas.util.HttpClient$MessageSender.call(HttpClient.java:160) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Apereo Issues | 7 years ago | Juergen
    java.net.ProtocolException: Server redirected too many times (20)
  2. 0

    org.jasig.cas.client.session.SingleSignOutFilter.doFilter(ServletRequest, ServletResponse, FilterChain): in case of POST: final String logoutRequest = CommonUtils.safeGetParameter(request, "logoutRequest"); org.jasig.cas.client.util.CommonUtils.safeGetParameter(HttpServletRequest, String): request.getQueryString() == null || request.getQueryString().indexOf(parameter) == -1 ? null : request.getParameter(parameter); query string does NOT contain "logoutRequest", its a POST param --> single sign out filter is not applied results (the same as if not having Single Sign Out Filter installed at all): 2009-08-27 22:55:47,445:4229795 [ pool-11-thread-15] util.HttpClient ERROR java.net.ProtocolException: Server redirected too many times (20) @org.jasig.cas.util.HttpClient java.net.ProtocolException: Server redirected too many times (20) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1315) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at org.jasig.cas.util.HttpClient$MessageSender.call(HttpClient.java:200) at org.jasig.cas.util.HttpClient$MessageSender.call(HttpClient.java:160) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Apereo Issues | 7 years ago | Juergen
    java.net.ProtocolException: Server redirected too many times (20)
  3. 0

    Java URLConnection error with ntlm authentication, but only on Linux and only Java 7

    Stack Overflow | 4 years ago | Yanick
    java.net.ProtocolException: Server redirected too many times (20)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tring to connect using HTTPS: Server redirected too many times

    Stack Overflow | 4 years ago | vamsi krishna
    java.net.ProtocolException: Server redirected too many times (20)
  6. 0

    [help] sslsocket connect to https via proxy

    Oracle Community | 1 decade ago | 843790
    java.net.ProtocolException: Server redirected too many times (20)

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ProtocolException

      Server redirected too many times (20)

      at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
    2. Java RT
      HttpsURLConnectionImpl.getInputStream
      1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1315)
      2. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
      2 frames
    3. Jasig CAS Core
      HttpClient$MessageSender.call
      1. org.jasig.cas.util.HttpClient$MessageSender.call(HttpClient.java:200)
      2. org.jasig.cas.util.HttpClient$MessageSender.call(HttpClient.java:160)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:619)
      5 frames