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

jumphost not working in "Test Connection"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Incomplete
    • None
    • Jenkins ver. 2.138.4
      Publish Over SSH 1.20.1

    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

          bluefox jesse wen created issue -
          bluefox jesse wen made changes -
          Field Original Value New Value
          Attachment issue.png [ 46009 ]
          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.

          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.
          bluefox jesse wen made changes -
          Attachment issue-new.png [ 46016 ]
          Description I am trying to use 'jumphost' feature in my env,  after test with below error. Can you help?

           

          [ERROR]

          jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [app]. Message [Auth fail]]
          I am trying to use 'jumphost' feature in my env,  after test with below error. 

           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]]

           

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

          Can you help? Thank you.
          bluefox jesse wen made changes -
          Attachment issue.png [ 46009 ]
          bluefox jesse wen added a comment -

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

          bluefox jesse wen added a comment - thank you for your update, i have updated my issue, can you help?
          bluefox jesse wen made changes -
          Description I am trying to use 'jumphost' feature in my env,  after test with below error. 

           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]]

           

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

          Can you help? Thank you.
          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. 

           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]]

           

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

          Can you help? Thank you.
          bluefox jesse wen made changes -
          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. 

           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]]

           

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

          Can you help? Thank you.
          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]]
          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?

          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?
          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!

          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!
          slide_o_mix Alex Earl made changes -
          Summary jumphost not working jumphost not working in "Test Connection"
          slide_o_mix Alex Earl made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          slide_o_mix Alex Earl added a comment -

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

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

          sounds great!

          bluefox jesse wen added a comment - sounds great!
          slide_o_mix Alex Earl made changes -
          Assignee Alex Earl [ slide_o_mix ]

          For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/93
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-56119%22

          (Note: this is an automated bulk comment)

          gmcdonald Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/93 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-56119%22 (Note: this is an automated bulk comment)

          Closing ticket, please use the corresponding Github Issue as linked above.

          gmcdonald Gavin McDonald added a comment - Closing ticket, please use the corresponding Github Issue as linked above.
          gmcdonald Gavin McDonald made changes -
          Resolution Incomplete [ 4 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

            Unassigned Unassigned
            bluefox jesse wen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: