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

Github OAuth breaks CLI PubKey Authentication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cli, github-oauth-plugin
    • None
    • Jenkins 1.471
      Ubuntu 11.10

      When using the Github OAuth Plugin, attempting to connect to the server using the Jenkins CLI fails with the following error:

      keno@kmf-vh01:~/Downloads$ java -jar jenkins-cli.jar -s http://jenkins.dev:8080/ who-am-i
      Exception in thread "main" java.io.EOFException
      at java.io.DataInputStream.readBoolean(DataInputStream.java:244)
      at hudson.cli.Connection.readBoolean(Connection.java:95)
      at hudson.cli.CLI.authenticate(CLI.java:602)
      at hudson.cli.CLI._main(CLI.java:443)
      at hudson.cli.CLI.main(CLI.java:373)

      This does not happen when other authentication methods are used instead.

            mocleiri Michael O'Cleirigh
            loladiro Keno Fischer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: