java.io.IOException

tip

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.

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

  • support jenkins 2.x
    via GitHub by bjusufbe
    ,
  • GitHub comment 48#224321772
    via GitHub by amittell
    ,
  • GitHub comment 466#238658640
    via GitHub by davidcpell
    ,
  • 2.1 support
    via GitHub by cdenneen
    ,
  • Can't install Jenkins plugin with cli
    via Stack Overflow by red888
    ,
  • Can't install Jenkins plugins with the cli
    via by red 888,
  • GitHub comment 488#235335720
    via GitHub by jharshman
    ,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    74 more bugmates