java.io.IOException: Server returned HTTP response code: 403 for URL: http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag/slave-agent.jnlp

Jenkins JIRA | Vassilena Treneva | 4 years ago
  1. 0

    After the upgrade all our Windows slaves could not be reached: C:\jenkins>java -jar slave.jar -jnlpUrl http://bambpmsauto.eur.ad.sag:8080/compu ter/vmbam04.eur.ad.sag/slave-agent.jnlp Failing to obtain http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag /slave-agent.jnlp java.io.IOException: Failed to load http://bambpmsauto.eur.ad.sag:8080/computer/ vmbam04.eur.ad.sag/slave-agent.jnlp: 403 Forbidden at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:228) at hudson.remoting.Launcher.run(Launcher.java:190) at hudson.remoting.Launcher.main(Launcher.java:166) Waiting 10 seconds before retry Failing to obtain http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag /slave-agent.jnlp I also tried headless slave: CouldNotLoadArgumentException[ Could not load file/URL specified: http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag/slave-agent.jnlp] at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.io.IOException: Server returned HTTP response code: 403 for URL: http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag/slave-agent.jnlp at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) This must be a regression of some kind because all the slaves were fine before the upgrade of the version (we were on 1.497 as 1.498 had similar problems)

    Jenkins JIRA | 4 years ago | Vassilena Treneva
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag/slave-agent.jnlp
  2. 0

    After the upgrade all our Windows slaves could not be reached: C:\jenkins>java -jar slave.jar -jnlpUrl http://bambpmsauto.eur.ad.sag:8080/compu ter/vmbam04.eur.ad.sag/slave-agent.jnlp Failing to obtain http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag /slave-agent.jnlp java.io.IOException: Failed to load http://bambpmsauto.eur.ad.sag:8080/computer/ vmbam04.eur.ad.sag/slave-agent.jnlp: 403 Forbidden at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:228) at hudson.remoting.Launcher.run(Launcher.java:190) at hudson.remoting.Launcher.main(Launcher.java:166) Waiting 10 seconds before retry Failing to obtain http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag /slave-agent.jnlp I also tried headless slave: CouldNotLoadArgumentException[ Could not load file/URL specified: http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag/slave-agent.jnlp] at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.io.IOException: Server returned HTTP response code: 403 for URL: http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag/slave-agent.jnlp at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) This must be a regression of some kind because all the slaves were fine before the upgrade of the version (we were on 1.497 as 1.498 had similar problems)

    Jenkins JIRA | 4 years ago | Vassilena Treneva
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag/slave-agent.jnlp
  3. 0

    [JENKINS-25895] GUI-mode JNLP slave does not reconnect after Jenkins restart (UnixSlaveRestarter broken) - Jenkins JIRA

    jenkins-ci.org | 7 months ago
    java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost:8080/jenkins/computer/someslave/slave-agent.jnlp
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java.io.IOException: Server returned HTTP response code: 520 for URL:

    Stack Overflow | 2 years ago | user2874349
    java.io.IOException: Server returned HTTP response code: 520 for URL:
  6. 0

    Minecrift does not seem to load natives on a friend of mine's pc

    GitHub | 3 years ago | petterroea
    java.io.IOException: Server returned HTTP response code: 503 for URL: http://hopper.minecraft.net/crashes/submit_report/

  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: 403 for URL: http://bambpmsauto.eur.ad.sag:8080/computer/vmbam04.eur.ad.sag/slave-agent.jnlp

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
  2. Java RT
    HttpURLConnection.getInputStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    1 frame
  3. com.sun.deploy
    BasicHttpRequest.doGetRequest
    1. com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    2. com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    3. com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    4. com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
    4 frames
  4. com.sun.javaws
    Main$1.run
    1. com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    2. com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    3. com.sun.javaws.Main.launchApp(Unknown Source)
    4. com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    5. com.sun.javaws.Main$1.run(Unknown Source)
    5 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame