• Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • sauce-ondemand-plugin
    • Linux, Jenkins ver. 1.523, Sauce OnDemand Plugin v. 1.67

      I am trying to start Sauce Connect tunnel that uses my proxy server for connections by means of Sauce OnDemand Plugin. To do that I entered "-p localhost:5000" (without quotes) to the Sauce Connect Options field within Sauce Connect Advanced Options section of my Jenkins job config. When Jenkins job starts, log message appears that Sauce Connect was successfully started, though, when my java code (that is run by Jenkins job) tries to start the remote WebDriver (normal URL:http://<account>:<apikey>@localhost:4445/wd/hub), it fails with "UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure." exception.

      It looks like tunnel did not start at all when "--proxy" argument was provided in options (once I removed this argument, tunnel was successfully started without proxy usage).

          [JENKINS-21874] Can't start Sauce Connect with proxy

          Andrei Khveras created issue -
          Andrei Khveras made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ]
          Ross Rowe made changes -
          Assignee New: Ross Rowe [ rossrowe ]
          Andrei Khveras made changes -
          Attachment New: SauceConnectManager.java [ 25722 ]
          Andrew Campbell made changes -
          Assignee Original: Ross Rowe [ rossrowe ] New: Andrew Campbell [ thecampbellcash ]
          Andrew Campbell made changes -
          Resolution New: Done [ 10000 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 153875 ] New: JNJira + In-Review [ 207429 ]

            thecampbellcash Andrew Campbell
            tenety Andrei Khveras
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: