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

Log and output error messages during address validation

      When clicking the "Validate Address" button, if an error occurs the user will only be told "Address looks good but we are unable to connect to it". Please include some helpful error message

          [JENKINS-29219] Log and output error messages during address validation

          Saurya SS added a comment - - edited

          I am not able to get parameterized remote trigger plugin work with Jenkins 1.584. I get the same error message "Address looks good, but we were not able to connect to it". I need to use https url instead of http. As soon as I enter http url it says "Address looks good" message and I am able to trigger build but not successful due to following errors.

          Unexpected end of file from server
          Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.
          Retry attempt #1 out of 5
          Unexpected end of file from server
          Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.
          Retry attempt #2 out of 5

          I am not able to trigger jobs remotely. It seems https url is not acceptable in plugin configuration.

          Please advise.

          Saurya SS added a comment - - edited I am not able to get parameterized remote trigger plugin work with Jenkins 1.584. I get the same error message "Address looks good, but we were not able to connect to it". I need to use https url instead of http. As soon as I enter http url it says "Address looks good" message and I am able to trigger build but not successful due to following errors. Unexpected end of file from server Connection to remote server failed, waiting for to retry - 10 seconds until next attempt. Retry attempt #1 out of 5 Unexpected end of file from server Connection to remote server failed, waiting for to retry - 10 seconds until next attempt. Retry attempt #2 out of 5 I am not able to trigger jobs remotely. It seems https url is not acceptable in plugin configuration. Please advise.

          Steve Ramage added a comment -

          Hi saurya1979,

          I worked on a similar problem several months ago when I filed the bug. I also filed a patch and a pull request, but I think the maintainer is gone. The pull request is here: https://github.com/SJrX/parameterized-remote-trigger-plugin/commit/acf24b131e94a01c184bf5dcf840c6dac9137e4c
          . If I had to venture a guess, it is that you have a self signed certificate (or a certificate signed by a CA that isn't standard), and Java is tossing an exception.

          Steve Ramage

          Steve Ramage added a comment - Hi saurya1979 , I worked on a similar problem several months ago when I filed the bug. I also filed a patch and a pull request, but I think the maintainer is gone. The pull request is here: https://github.com/SJrX/parameterized-remote-trigger-plugin/commit/acf24b131e94a01c184bf5dcf840c6dac9137e4c . If I had to venture a guess, it is that you have a self signed certificate (or a certificate signed by a CA that isn't standard), and Java is tossing an exception. Steve Ramage

            morficus Maurice W.
            sramage Steve Ramage
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: