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

Build Publisher Pluging when using https the jenkins loging does not work

    XMLWordPrintable

Details

    Description

      SSL level handshake seams to work as expected, but after that, when the pluging is required to loggin into to our master Jenkins the loggin failed.

      Some debug outputs:
      Hudson - Build-Publisher Thread for hel-jenkins, READ: TLSv1 Handshake, length = 48
      Padded plaintext after DECRYPTION: len = 48
      0000: 14 00 00 0C A6 D6 8A 61 96 A2 7A 66 2D 39 A6 68 .......a..zf-9.h
      0010: 0C 52 97 E9 41 3D D0 5D 0B 55 06 74 A0 B0 09 61 .R..A=.].U.t...a
      0020: 3C CA 87 58 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B <..X............

          • Finished
            verify_data: { 166, 214, 138, 97, 150, 162, 122, 102, 45, 57, 166, 104 }

            ***
            [read] MD5 and SHA1 hashes: len = 16
            0000: 14 00 00 0C A6 D6 8A 61 96 A2 7A 66 2D 39 A6 68 .......a..zf-9.h
            Hudson - Build-Publisher Thread for hel-jenkins, WRITE: TLSv1 Change Cipher Spec, length = 1
            [Raw write]: length = 6
            0000: 14 03 01 00 01 01 ......

          • Finished
            verify_data: { 18, 93, 60, 26, 114, 176, 76, 26, 181, 204, 50, 169 }

            ***
            [write] MD5 and SHA1 hashes: len = 16
            0000: 14 00 00 0C 12 5D 3C 1A 72 B0 4C 1A B5 CC 32 A9 .....]<.r.L...2.
            Padded plaintext before ENCRYPTION: len = 48
            0000: 14 00 00 0C 12 5D 3C 1A 72 B0 4C 1A B5 CC 32 A9 .....]<.r.L...2.
            0010: 71 8E 64 9A 91 A2 29 C3 21 4C E3 B0 C8 6D 9F 86 q.d...).!L...m..
            0020: 2E 15 D0 7E 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B ................
            Hudson - Build-Publisher Thread for hel-jenkins, WRITE: TLSv1 Handshake, length = 48
            [Raw write]: length = 53
            0000: 16 03 01 00 30 AD 84 A4 88 51 3D E9 38 F3 97 96 ....0....Q=.8...
            0010: 09 0C 13 94 4C 44 34 2A 6A AD A7 65 54 48 62 7F ....LD4*j..eTHb.
            0020: 55 DA 27 DE 96 2F 26 21 B4 4A 49 FF CB 0F 00 E1 U.'../&!.JI.....
            0030: 1D 05 2F 14 54 ../.T
            Padded plaintext before ENCRYPTION: len = 224
            0000: 47 45 54 20 2F 6C 6F 67 69 6E 3B 6A 73 65 73 73 GET /login;jsess
            0010: 69 6F 6E 69 64 3D 37 79 39 30 32 63 6D 78 74 37 ionid=7y902cmxt7
            0020: 72 63 76 79 39 62 70 30 70 61 35 76 6B 79 20 48 rcvy9bp0pa5vky H
            0030: 54 54 50 2F 31 2E 31 0D 0A 55 73 65 72 2D 41 67 TTP/1.1..User-Ag
            0040: 65 6E 74 3A 20 4A 61 6B 61 72 74 61 20 43 6F 6D ent: Jakarta Com
            0050: 6D 6F 6E 73 2D 48 74 74 70 43 6C 69 65 6E 74 2F mons-HttpClient/
            0060: 33 2E 31 0D 0A 48 6F 73 74 3A 20 68 65 6C 2D 6A 3.1..Host: hel-j
            0070: 65 6E 6B 69 6E 73 2E 76 61 69 73 61 6C 61 2E 63 enkins.xxx.x
            0080: 6F 6D 0D 0A 43 6F 6F 6B 69 65 3A 20 24 56 65 72 xx..Cookie: $Ver
            0090: 73 69 6F 6E 3D 30 3B 20 4A 53 45 53 53 49 4F 4E sion=0; JSESSION
            00A0: 49 44 3D 37 79 39 30 32 63 6D 78 74 37 72 63 76 ID=7y902cmxt7rcv
            00B0: 79 39 62 70 30 70 61 35 76 6B 79 3B 20 24 50 61 y9bp0pa5vky; $Pa
            00C0: 74 68 3D 2F 0D 0A 0D 0A 45 C4 11 B4 16 4E 99 6C th=/....E....N.l
            00D0: 64 99 D9 A5 CE 03 B3 B7 1A 42 12 8E 03 03 03 03 d........B......
            ...

      Hudson - Build-Publisher Thread for hel-jenkins, READ: TLSv1 Application Data, length = 1440
      Padded plaintext after DECRYPTION: len = 1440
      0000: 3C 68 74 6D 6C 3E 0A 3C 68 65 61 64 3E 0A 3C 6D <html>.<head>.<m
      0010: 65 74 61 20 68 74 74 70 2D 65 71 75 69 76 3D 22 eta http-equiv="
      0020: 43 6F 6E 74 65 6E 74 2D 54 79 70 65 22 20 63 6F Content-Type" co
      0030: 6E 74 65 6E 74 3D 22 74 65 78 74 2F 68 74 6D 6C ntent="text/html
      0040: 3B 20 63 68 61 72 73 65 74 3D 49 53 4F 2D 38 38 ; charset=ISO-88
      0050: 35 39 2D 31 22 2F 3E 0A 3C 74 69 74 6C 65 3E 45 59-1"/>.<title>E
      0060: 72 72 6F 72 20 34 30 34 20 4E 6F 74 20 46 6F 75 rror 404 Not Fou
      0070: 6E 64 3C 2F 74 69 74 6C 65 3E 0A 3C 2F 68 65 61 nd</title>.</hea
      0080: 64 3E 0A 3C 62 6F 64 79 3E 3C 68 32 3E 48 54 54 d>.<body><h2>HTT
      0090: 50 20 45 52 52 4F 52 20 34 30 34 3C 2F 68 32 3E P ERROR 404</h2>
      00A0: 0A 3C 70 3E 50 72 6F 62 6C 65 6D 20 61 63 63 65 .<p>Problem acce
      00B0: 73 73 69 6E 67 20 2F 6C 6F 67 69 6E 3B 6A 73 65 ssing /login;jse
      00C0: 73 73 69 6F 6E 69 64 3D 37 79 39 30 32 63 6D 78 ssionid=7y902cmx
      00D0: 74 37 72 63 76 79 39 62 70 30 70 61 35 76 6B 79 t7rcvy9bp0pa5vky
      00E0: 2E 20 52 65 61 73 6F 6E 3A 0A 3C 70 72 65 3E 20 . Reason:.<pre>
      00F0: 20 20 20 4E 6F 74 20 46 6F 75 6E 64 3C 2F 70 72 Not Found</pr
      0100: 65 3E 3C 2F 70 3E 3C 68 72 20 2F 3E 3C 69 3E 3C e></p><hr /><i><
      0110: 73 6D 61 6C 6C 3E 50 6F 77 65 72 65 64 20 62 79 small>Powered by
      0120: 20 4A 65 74 74 79 3A 2F 2F 3C 2F 73 6D 61 6C 6C Jetty://</small
      0130: 3E 3C 2F 69 3E 3C 62 72 2F 3E 20 20 20 20 20 20 ></i><br/>
      0140: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
      .....

      Hudson - Build-Publisher Thread for hel-jenkins, called close()
      Hudson - Build-Publisher Thread for hel-jenkins, called closeInternal(true)
      Hudson - Build-Publisher Thread for hel-jenkins, SEND TLSv1 ALERT: warning, description = close_notify
      Padded plaintext before ENCRYPTION: len = 32
      0000: 01 00 F0 BF F3 CD 98 87 97 92 8C 17 4F D9 42 D3 ............O.B.
      0010: C6 A5 14 2F 48 4E 09 09 09 09 09 09 09 09 09 09 .../HN..........
      Hudson - Build-Publisher Thread for hel-jenkins, WRITE: TLSv1 Alert, length = 32
      [Raw write]: length = 37
      0000: 15 03 01 00 20 46 83 A6 26 F3 1F 71 6B 3E E3 80 .... F..&..qk>..
      0010: 15 8C 9A 0E 3E C5 11 3D 1A 83 3C 75 99 3A 0C 24 ....>..=..<u.:.$
      0020: 83 BC E0 79 7B ...y.
      Hudson - Build-Publisher Thread for hel-jenkins, called closeSocket(selfInitiated)
      Hudson - Build-Publisher Thread for hel-jenkins, called close()
      Hudson - Build-Publisher Thread for hel-jenkins, called closeInternal(true)
      Hudson - Build-Publisher Thread for hel-jenkins, called close()
      Hudson - Build-Publisher Thread for hel-jenkins, called closeInternal(true)
      ←[33mFeb 25, 2014 10:14:27 AM hudson.plugins.build_publisher.PublisherThread run
      WARNING: Error during build transmission: https://xxx.xxx.com/: URL doesn't exist
      org.apache.commons.httpclient.HttpException: https://xxx.xxx.com/: URL doesn't exist
      at hudson.plugins.build_publisher.PublisherThread.assertUrlExists(PublisherThread.java:279)
      at hudson.plugins.build_publisher.PublisherThread.synchronizeProjectSettings(PublisherThread.java:218)
      at hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:113)

      ←[0m
      When using http protocol to our old Jenkins, the Jenkins loggin seams to work as expected.

      Attachments

        Activity

          tapiomtr tapiomtr created issue -
          tapiomtr tapiomtr made changes -
          Field Original Value New Value
          Description SSL level handshake seams to work as expected, but after that, when the pluging is required to loggin into to our master Jenkins the loggin failed.

          When using http protocol to our old Jenkins, the Jenkins loggin seams to work as expected.
          Summary Build Publisher Pluging https authentication does not work Build Publisher Pluging when using https the jenkins loging does not work
          tapiomtr tapiomtr made changes -
          Description SSL level handshake seams to work as expected, but after that, when the pluging is required to loggin into to our master Jenkins the loggin failed.

          When using http protocol to our old Jenkins, the Jenkins loggin seams to work as expected.
          SSL level handshake seams to work as expected, but after that, when the pluging is required to loggin into to our master Jenkins the loggin failed.

          Some debug outputs:
          Hudson - Build-Publisher Thread for hel-jenkins, READ: TLSv1 Handshake, length = 48
          Padded plaintext after DECRYPTION: len = 48
          0000: 14 00 00 0C A6 D6 8A 61 96 A2 7A 66 2D 39 A6 68 .......a..zf-9.h
          0010: 0C 52 97 E9 41 3D D0 5D 0B 55 06 74 A0 B0 09 61 .R..A=.].U.t...a
          0020: 3C CA 87 58 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B <..X............
          *** Finished
          verify_data: { 166, 214, 138, 97, 150, 162, 122, 102, 45, 57, 166, 104 }
          ***
          [read] MD5 and SHA1 hashes: len = 16
          0000: 14 00 00 0C A6 D6 8A 61 96 A2 7A 66 2D 39 A6 68 .......a..zf-9.h
          Hudson - Build-Publisher Thread for hel-jenkins, WRITE: TLSv1 Change Cipher Spec, length = 1
          [Raw write]: length = 6
          0000: 14 03 01 00 01 01 ......
          *** Finished
          verify_data: { 18, 93, 60, 26, 114, 176, 76, 26, 181, 204, 50, 169 }
          ***
          [write] MD5 and SHA1 hashes: len = 16
          0000: 14 00 00 0C 12 5D 3C 1A 72 B0 4C 1A B5 CC 32 A9 .....]<.r.L...2.
          Padded plaintext before ENCRYPTION: len = 48
          0000: 14 00 00 0C 12 5D 3C 1A 72 B0 4C 1A B5 CC 32 A9 .....]<.r.L...2.
          0010: 71 8E 64 9A 91 A2 29 C3 21 4C E3 B0 C8 6D 9F 86 q.d...).!L...m..
          0020: 2E 15 D0 7E 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B ................
          Hudson - Build-Publisher Thread for hel-jenkins, WRITE: TLSv1 Handshake, length = 48
          [Raw write]: length = 53
          0000: 16 03 01 00 30 AD 84 A4 88 51 3D E9 38 F3 97 96 ....0....Q=.8...
          0010: 09 0C 13 94 4C 44 34 2A 6A AD A7 65 54 48 62 7F ....LD4*j..eTHb.
          0020: 55 DA 27 DE 96 2F 26 21 B4 4A 49 FF CB 0F 00 E1 U.'../&!.JI.....
          0030: 1D 05 2F 14 54 ../.T
          Padded plaintext before ENCRYPTION: len = 224
          0000: 47 45 54 20 2F 6C 6F 67 69 6E 3B 6A 73 65 73 73 GET /login;jsess
          0010: 69 6F 6E 69 64 3D 37 79 39 30 32 63 6D 78 74 37 ionid=7y902cmxt7
          0020: 72 63 76 79 39 62 70 30 70 61 35 76 6B 79 20 48 rcvy9bp0pa5vky H
          0030: 54 54 50 2F 31 2E 31 0D 0A 55 73 65 72 2D 41 67 TTP/1.1..User-Ag
          0040: 65 6E 74 3A 20 4A 61 6B 61 72 74 61 20 43 6F 6D ent: Jakarta Com
          0050: 6D 6F 6E 73 2D 48 74 74 70 43 6C 69 65 6E 74 2F mons-HttpClient/
          0060: 33 2E 31 0D 0A 48 6F 73 74 3A 20 68 65 6C 2D 6A 3.1..Host: hel-j
          0070: 65 6E 6B 69 6E 73 2E 76 61 69 73 61 6C 61 2E 63 enkins.xxx.x
          0080: 6F 6D 0D 0A 43 6F 6F 6B 69 65 3A 20 24 56 65 72 xx..Cookie: $Ver
          0090: 73 69 6F 6E 3D 30 3B 20 4A 53 45 53 53 49 4F 4E sion=0; JSESSION
          00A0: 49 44 3D 37 79 39 30 32 63 6D 78 74 37 72 63 76 ID=7y902cmxt7rcv
          00B0: 79 39 62 70 30 70 61 35 76 6B 79 3B 20 24 50 61 y9bp0pa5vky; $Pa
          00C0: 74 68 3D 2F 0D 0A 0D 0A 45 C4 11 B4 16 4E 99 6C th=/....E....N.l
          00D0: 64 99 D9 A5 CE 03 B3 B7 1A 42 12 8E 03 03 03 03 d........B......
          ...

          Hudson - Build-Publisher Thread for hel-jenkins, READ: TLSv1 Application Data, length = 1440
          Padded plaintext after DECRYPTION: len = 1440
          0000: 3C 68 74 6D 6C 3E 0A 3C 68 65 61 64 3E 0A 3C 6D <html>.<head>.<m
          0010: 65 74 61 20 68 74 74 70 2D 65 71 75 69 76 3D 22 eta http-equiv="
          0020: 43 6F 6E 74 65 6E 74 2D 54 79 70 65 22 20 63 6F Content-Type" co
          0030: 6E 74 65 6E 74 3D 22 74 65 78 74 2F 68 74 6D 6C ntent="text/html
          0040: 3B 20 63 68 61 72 73 65 74 3D 49 53 4F 2D 38 38 ; charset=ISO-88
          0050: 35 39 2D 31 22 2F 3E 0A 3C 74 69 74 6C 65 3E 45 59-1"/>.<title>E
          0060: 72 72 6F 72 20 34 30 34 20 4E 6F 74 20 46 6F 75 rror 404 Not Fou
          0070: 6E 64 3C 2F 74 69 74 6C 65 3E 0A 3C 2F 68 65 61 nd</title>.</hea
          0080: 64 3E 0A 3C 62 6F 64 79 3E 3C 68 32 3E 48 54 54 d>.<body><h2>HTT
          0090: 50 20 45 52 52 4F 52 20 34 30 34 3C 2F 68 32 3E P ERROR 404</h2>
          00A0: 0A 3C 70 3E 50 72 6F 62 6C 65 6D 20 61 63 63 65 .<p>Problem acce
          00B0: 73 73 69 6E 67 20 2F 6C 6F 67 69 6E 3B 6A 73 65 ssing /login;jse
          00C0: 73 73 69 6F 6E 69 64 3D 37 79 39 30 32 63 6D 78 ssionid=7y902cmx
          00D0: 74 37 72 63 76 79 39 62 70 30 70 61 35 76 6B 79 t7rcvy9bp0pa5vky
          00E0: 2E 20 52 65 61 73 6F 6E 3A 0A 3C 70 72 65 3E 20 . Reason:.<pre>
          00F0: 20 20 20 4E 6F 74 20 46 6F 75 6E 64 3C 2F 70 72 Not Found</pr
          0100: 65 3E 3C 2F 70 3E 3C 68 72 20 2F 3E 3C 69 3E 3C e></p><hr /><i><
          0110: 73 6D 61 6C 6C 3E 50 6F 77 65 72 65 64 20 62 79 small>Powered by
          0120: 20 4A 65 74 74 79 3A 2F 2F 3C 2F 73 6D 61 6C 6C Jetty://&lt;/small
          0130: 3E 3C 2F 69 3E 3C 62 72 2F 3E 20 20 20 20 20 20 ></i><br/>
          0140: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
          .....

          Hudson - Build-Publisher Thread for hel-jenkins, called close()
          Hudson - Build-Publisher Thread for hel-jenkins, called closeInternal(true)
          Hudson - Build-Publisher Thread for hel-jenkins, SEND TLSv1 ALERT: warning, description = close_notify
          Padded plaintext before ENCRYPTION: len = 32
          0000: 01 00 F0 BF F3 CD 98 87 97 92 8C 17 4F D9 42 D3 ............O.B.
          0010: C6 A5 14 2F 48 4E 09 09 09 09 09 09 09 09 09 09 .../HN..........
          Hudson - Build-Publisher Thread for hel-jenkins, WRITE: TLSv1 Alert, length = 32
          [Raw write]: length = 37
          0000: 15 03 01 00 20 46 83 A6 26 F3 1F 71 6B 3E E3 80 .... F..&..qk>..
          0010: 15 8C 9A 0E 3E C5 11 3D 1A 83 3C 75 99 3A 0C 24 ....>..=..<u.:.$
          0020: 83 BC E0 79 7B ...y.
          Hudson - Build-Publisher Thread for hel-jenkins, called closeSocket(selfInitiated)
          Hudson - Build-Publisher Thread for hel-jenkins, called close()
          Hudson - Build-Publisher Thread for hel-jenkins, called closeInternal(true)
          Hudson - Build-Publisher Thread for hel-jenkins, called close()
          Hudson - Build-Publisher Thread for hel-jenkins, called closeInternal(true)
          ←[33mFeb 25, 2014 10:14:27 AM hudson.plugins.build_publisher.PublisherThread run
          WARNING: Error during build transmission: https://xxx.xxx.com/: URL doesn't exist
          org.apache.commons.httpclient.HttpException: https://xxx.xxx.com/: URL doesn't exist
                  at hudson.plugins.build_publisher.PublisherThread.assertUrlExists(PublisherThread.java:279)
                  at hudson.plugins.build_publisher.PublisherThread.synchronizeProjectSettings(PublisherThread.java:218)
                  at hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:113)

          ←[0m
          When using http protocol to our old Jenkins, the Jenkins loggin seams to work as expected.
          tapiomtr tapiomtr made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 154023 ] JNJira + In-Review [ 178661 ]

          People

            vjuranek vjuranek
            tapiomtr tapiomtr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: