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

jumphost not working in "Test Connection"

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.138.4
      Publish Over SSH 1.20.1
    • Similar Issues:

      Description

      I have tested which fw is allowed jenkins directly access is ok to target host.

      I am trying to use 'jumphost' feature in my env,  after test with below error. 

      From linux secure log on jumphost, can not find jenkins host passed ssh tunnel request. 

      Can you help? Thank you.

      [my env topology]

      172.16.4.200(jenkins) --> 172.16.4.201(jumphost, fw allowed) --> 172.16.248.11(target)

      [ERROR]

      jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [app]. Message [timeout: socket is not established]]

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          It looks like authentication is failing in the chain of connections, either the jump host or the final endpoint.

          Show
          slide_o_mix Alex Earl added a comment - It looks like authentication is failing in the chain of connections, either the jump host or the final endpoint.
          Hide
          bluefox jesse wen added a comment -

          thank you for your update, i have updated my issue, can you help?

          Show
          bluefox jesse wen added a comment - thank you for your update, i have updated my issue, can you help?
          Hide
          slide_o_mix Alex Earl added a comment -

          I'm not sure if the test connection takes jump hosts into account. Can you try using the host configuration in a job and see if it works there?

          Show
          slide_o_mix Alex Earl added a comment - I'm not sure if the test connection takes jump hosts into account. Can you try using the host configuration in a job and see if it works there?
          Hide
          bluefox jesse wen added a comment -

          Yes, It works beautifully, i can see the jumphost was connected from jenkins job log,  big thanks for the help!

          Show
          bluefox jesse wen added a comment - Yes, It works beautifully, i can see the jumphost was connected from jenkins job log,  big thanks for the help!
          Hide
          slide_o_mix Alex Earl added a comment -

          I'm going to leave this open as something to fix for the "test connection" feature

          Show
          slide_o_mix Alex Earl added a comment - I'm going to leave this open as something to fix for the "test connection" feature
          Hide
          bluefox jesse wen added a comment -

          sounds great!

          Show
          bluefox jesse wen added a comment - sounds great!

            People

            • Assignee:
              Unassigned
              Reporter:
              bluefox jesse wen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: