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

SiteMonitor plugin doesn't seem to honor proxy settings

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • sitemonitor-plugin
    • None

      I'm using Jenkins behind a proxy. I've set the http proxy setting on the plugins screen and can update plugins properly.

      I've set global environment variables for proxy settings, as well: http_proxy=http://blah:5555 and so forth, and inside jobs I can wget and/or curl to URLs, watch it pick up the proxy setting, and successfully connect.

      However, with the SiteMonitor plugin, it can't connect outbound, and I'm wondering if it's not picking up on the proxy setting. Unfortunately, I don't see any logging that helps me get to the bottom of this.

      This is all I get in the console output:

      ava.net.SocketTimeoutException: connect timed out - connect timed out
      URL: http://google.com, response code: null, status: DOWN

          [JENKINS-25363] SiteMonitor plugin doesn't seem to honor proxy settings

          I can confirm that this is an issue. I have 3 internal websites and 2 external websites that I am testing and the 3 internal websites return status 200 and the 2 external websites get a SocketException.

          Martijn Hiemstra added a comment - I can confirm that this is an issue. I have 3 internal websites and 2 external websites that I am testing and the 3 internal websites return status 200 and the 2 external websites get a SocketException.

          martijnhiemstra Could you verify that the problem is fixed in 0.5 version? still there is a problem with proxy server, but only when basic authentication is supplied.

          Thanks!

          Francisco Hernandez Suarez added a comment - martijnhiemstra Could you verify that the problem is fixed in 0.5 version? still there is a problem with proxy server, but only when basic authentication is supplied. Thanks!

          Planned to publish on next version: 0.6

          Francisco Hernandez Suarez added a comment - Planned to publish on next version: 0.6

            onuba Francisco Hernandez Suarez
            marcesher Marc Esher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: