Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6859

[Regression] Error message when proxy auth fails for update center does not allow user to understand/correct the issue.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Hudson 1.363 SUN Java 1.6.0_14 (Linux (centOS 5) [fails]
      Hudson 1.308 SUN Java 1.6.0_13 (Linux (centOS 5) [works]

      The error message when proxy auth fails (behind a windows ISA server) is no longer suitable for showing the actual issue.

      With 1.308 you see
      java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )" at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source)
      ...

      With 1.363 you see
      java.net.ProtocolException: Server redirected too many times (20) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at hudson.model.UpdateCenter$UpdateCenterConfiguration.testConnection(UpdateCenter.java:603) at hudson.model.UpdateCenter$UpdateCenterConfiguration.checkUpdateCenter(UpdateCenter.java:456)
      ...

      From this it looks like the update center is broken and not the proxy authentication that is incorrect.

      See URL for a discussion

            Unassigned Unassigned
            teilo James Nord
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: