Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Quick Kill option for Tunnels

While troubleshooting some issues we often kill our tunnel and restart. The Tunnel will hang until tests complete (understood that this is also a useful feature) but we would like the ability to immediately kill the tunnel if we don't care about our tests completing before the tunnel is allowed to die. 

  • Guest
  • Nov 7 2018
  • Already exists
  • Attach files
  • Jean Sandberg commented
    18 Jul, 2019 06:22pm

    Hi Sim!

    For non-Windows platforms, one can kill the Sauce Connect process immediately, by hitting Ctrl-C twice or kill -9. For Windows, it sounds like you might want to kill the process from the command line and use the /F flag:

    If that doesn't work, can you open a support ticket and include Sauce Connect log from running Sauce Connect in verbose mode? (-v)



  • Chandra Yalangi commented
    7 Nov, 2018 10:48pm

    Got it. Thanks Simeon. I will review the requirement with the team (usually takes 1 or 2 weeks) and I will get back to you.

  • Guest commented
    7 Nov, 2018 10:26pm

    A force kill option on the UI would be a great help but if the button calls the rest command then access to that REST call could also be useful for us in creating a automated self healing process! :)

  • Chandra Yalangi commented
    7 Nov, 2018 09:14pm

    Thanks Simeon. Would a "force kill" option from UI help you? What would be your ideal solution to "force kill" the tunnel - REST call, UI button?

  • Guest commented
    7 Nov, 2018 08:47pm

    Hi Chandra,

    Currently our tunnel is running as a service, so I stop the service, kill sc.exe in task manager and also go to the SauceLabs dashboard and stop the tunnel there. Even after doing all of that the tunnel will "hang open" for an indefinite period of time normally determined by automated or manual tests that are currently open.  The fastest way to have the tunnel be closed is to kill each test through the Sauce dashboard (and that doesn't always seem to work). Ideally, we'd like to see that the tunnel be killed immediately, when we choose to do so, with the simple click of a button, instead of waiting for the tunnel to disappear on it's own.



  • Chandra Yalangi commented
    7 Nov, 2018 08:32pm

    Hi Simeon,

    How do you currently kill the tunnels? from the Sauce Labs tunnels dashboard or with CTRL+C?