Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Proxy the REST API through Sauce Connect

It is possible to proxy Selenium traffic through Sauce Connect.  This allows developers in restricted environments to use Sauce Labs by having their network team set up a vetted, trusted instance of Sauce Connect on a machine with access to Sauce Labs' infrastructure, with developer machines only able to access that machine.


This only works for Selenium traffic, meaning users can't access the REST API.  It would be helpful for these same users to proxy REST API calls through Sauce Connect.

  • Dylan Lacey
  • Apr 15 2016
  • Already exists
  • Attach files
  • Vimalraj Selvam commented
    17 Feb, 2017 08:27am

    Any updates on this issue? As admin posted, how do we do the proxy forward when the SC is not localhost?

  • Dylan Lacey commented
    29 Sep, 2016 03:11am

    How do you go about doing so?  Do you change your REST API URL and port and, if so, what too?

    Additionally, often customers have specifically set up an instance of Sauce Connect on a machine that is NOT localhost, to deliberately isolate external network access.  Is there a solution for these users?

  • Chiarng Lin commented
    27 Sep, 2016 09:29pm

    This already works as long as you're on the localhost where SC is installed. You can then proxy forward to that box to send REST API calls through SC.