java.io.IOException: Server returned HTTP response code: 500 for URL:

Jenkins JIRA | newenigma | 5 years ago
  1. 0

    When trying to install or update a plugin, the following error occurs: {noformat} java.io.IOException: Server returned HTTP response code: 500 for URL: http://updates.jenkins-ci.org/update-center.json?uctest at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1290) at hudson.model.UpdateCenter$UpdateCenterConfiguration.testConnection(UpdateCenter.java:709) at hudson.model.UpdateCenter$UpdateCenterConfiguration.checkUpdateCenter(UpdateCenter.java:562) at hudson.model.UpdateCenter$ConnectionCheckJob.run(UpdateCenter.java:847) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 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) {noformat} The proxy settings have been entered in the update manager, but it still cannot connect. Having looked into the code, we have been able to reproduce the error from a standalone page running on the same server. When we changed the code on our standalone page to use apache commons HttpClient to make the connection, it worked perfectly and gave us a 200 response code back. It would be a nice improvement if there was an option in the update center to use HttpClient instead of the current method used.

    Jenkins JIRA | 5 years ago | newenigma
    java.io.IOException: Server returned HTTP response code: 500 for URL:
  2. 0

    Jenkins plug-in install issues

    Stack Overflow | 7 days ago | redsam
    java.io.IOException: Server returned HTTP response code: 401 for URL: http://updates.jenkins-ci.org/update-center.json?uctest
  3. 0

    Rest Webservice returns 500

    Stack Overflow | 2 years ago | SNK
    java.io.IOException: Server returned HTTP response code: 500 for URL:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug 113787 – java.io.IOException HTTP response code: 500

    netbeans.org | 5 months ago
    java.io.IOException: Server returned HTTP response code: 500 for URL:

  1. tyson925 571 times, last 4 weeks ago
  2. jedcua 2 times, last 4 months ago
  3. thiago.santos 2 times, last 4 months ago
  4. kkandda 4 times, last 6 months ago
  5. hari haran 1 times, last 7 months ago
2 more registered users
40 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.io.IOException

    Server returned HTTP response code: 500 for URL:

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
  2. Java RT
    HttpURLConnection.getInputStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1290)
    1 frame
  3. Hudson
    UpdateCenter$ConnectionCheckJob.run
    1. hudson.model.UpdateCenter$UpdateCenterConfiguration.testConnection(UpdateCenter.java:709)
    2. hudson.model.UpdateCenter$UpdateCenterConfiguration.checkUpdateCenter(UpdateCenter.java:562)
    3. hudson.model.UpdateCenter$ConnectionCheckJob.run(UpdateCenter.java:847)
    3 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    6. java.lang.Thread.run(Thread.java:619)
    6 frames