Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: cli
    • Labels:
    • Environment:
      Ubuntu 10.04.4 amd 64, OpenJDK 6
    • Similar Issues:

      Description

      I posted related bug https://issues.jenkins-ci.org/browse/JENKINS-20128 and was fixed in 1.540. I decided to upgrade both our build servers (1 in our local network and other is remote).
      When I run (on local jenkins)
      java -jar jenkins-cli.jar -s http://10.23.0.6:8080/ help --username my_usr --password my_pwd
      it gives a valid output.

      When I run (on remote jenkins)
      java -jar jenkins-cli.jar -s http://us.astorex.com:4555/ help --username my_usr --password my_pwd
      it crashes. output attached.

      There are no any issues with version 1.534, reverted to it.

        Attachments

        1. 2.log
          65 kB
        2. err.log
          2 kB
        3. network.png
          network.png
          22 kB

          Issue Links

            Activity

            Hide
            paule Paul Estis added a comment -

            I'm seeing this same issue as well when running the following command:
            java -jar jenkins-cli.jar -s http://<servername>:8080 -i /Users/paule/.ssh/paule help

            Jenkins Server & CLI Version: 1.540

            Show
            paule Paul Estis added a comment - I'm seeing this same issue as well when running the following command: java -jar jenkins-cli.jar -s http://<servername>:8080 -i /Users/paule/.ssh/paule help Jenkins Server & CLI Version: 1.540
            Hide
            kimo Serj Rashitov added a comment -

            When I'm connecting from server - cli works fine, but when connecting from client - it shows same errors.

            Server:

            jenkins 1.542
            kubuntu 13.10 i686
            java version "1.7.0_25"
            OpenJDK Runtime Environment (IcedTea 2.3.12) (7u25-2.3.12-4ubuntu3)
            OpenJDK Client VM (build 23.7-b01, mixed mode, sharing)

            Client:

            windows7 x64
            java version "1.7.0_45"
            Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
            Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

            Show
            kimo Serj Rashitov added a comment - When I'm connecting from server - cli works fine, but when connecting from client - it shows same errors. Server: jenkins 1.542 kubuntu 13.10 i686 java version "1.7.0_25" OpenJDK Runtime Environment (IcedTea 2.3.12) (7u25-2.3.12-4ubuntu3) OpenJDK Client VM (build 23.7-b01, mixed mode, sharing) Client: windows7 x64 java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
            Hide
            danielbeck Daniel Beck added a comment -

            Does this still occur on recent Jenkins versions? Should have been fixed around 1.540 or so.

            Show
            danielbeck Daniel Beck added a comment - Does this still occur on recent Jenkins versions? Should have been fixed around 1.540 or so.
            Hide
            nkorotysh Nick Korotysh added a comment - - edited

            This problem still exists. but it only is reproducible only over external network. when jenkins and client in same network in works correctly.

            tested on:
            server:
            Jenkins 1.584
            OS: Ubuntu 14.04 amd64 server
            java:
            java version "1.7.0_65"
            OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04)
            OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

            client:
            OS: Ubuntu 14.04 amd64 desktop
            java:
            java version "1.8.0_20"
            Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
            Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

            tried to run: java -jar service/jenkins-cli.jar -s http://us.astorex.com:4555/ --username my_usr --password my_pass help
            output attached (err.log)

            P.S. works correctly over our VPN, problem exists only over external network

            Show
            nkorotysh Nick Korotysh added a comment - - edited This problem still exists. but it only is reproducible only over external network. when jenkins and client in same network in works correctly. tested on: server: Jenkins 1.584 OS: Ubuntu 14.04 amd64 server java: java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.2) (7u65-2.5.2-3~14.04) OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode) client: OS: Ubuntu 14.04 amd64 desktop java: java version "1.8.0_20" Java(TM) SE Runtime Environment (build 1.8.0_20-b26) Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode) tried to run: java -jar service/jenkins-cli.jar -s http://us.astorex.com:4555/ --username my_usr --password my_pass help output attached (err.log) P.S. works correctly over our VPN, problem exists only over external network
            Hide
            danielbeck Daniel Beck added a comment -

            So how does the network between CLI client and Jenkins server look like? Firewall? Proxy? Router?

            Anything related shown in jenkins log on the server?

            Show
            danielbeck Daniel Beck added a comment - So how does the network between CLI client and Jenkins server look like? Firewall? Proxy? Router? Anything related shown in jenkins log on the server?
            Hide
            nkorotysh Nick Korotysh added a comment -

            There is my network structure (see network.png). There is no any proxy or firewalls. nothing changed since Jenkins 1.534, and this version works correctly, most recent - not.

            Show
            nkorotysh Nick Korotysh added a comment - There is my network structure (see network.png). There is no any proxy or firewalls. nothing changed since Jenkins 1.534, and this version works correctly, most recent - not.

              People

              • Assignee:
                Unassigned
                Reporter:
                nkorotysh Nick Korotysh
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: