java.io.IOException

Server returned HTTP response code: 403 for URL: http://localhost:8080/cli

Samebug tips1

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web11155

  • via Google Groups by Karl Davis, 7 months ago
    Server returned HTTP response code: 403 for URL: http://localhost:8080/jenkins/cli
  • via Google Groups by red 888, 8 months ago
    Server returned HTTP response code: 403 for URL: http://localhost:8080/cli
  • Server returned HTTP response code: 403 for URL: http://localhost:8080/jenkins/cli
  • Stack trace

    • java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/cli at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628) at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:78) at hudson.cli.CLI.connectViaHttp(CLI.java:152) at hudson.cli.CLI.<init>(CLI.java:132)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    75 more bugmates