Sauce connect proxy faqs – the sauce labs cook book – sauce labs documentation wiki

Contents

Microsoft Edge, Chrome 71+ and also the Safari browser on OS X 10.10+ and mobile iOS 8+ proxies these common ports:

Sauce connect proxy faqs - the sauce labs cook book - sauce labs documentation wiki disable SSL bumping

80, 443, 888,
2000, 2001, 2020, 2109, 2222, 2310,
3000, 3001, 3010, 3030, 3210, 3333,
4000, 4001, 4201, 4040, 4321, 4502, 4503, 4567,
5000, 5001, 5002, 5050, 5555, 5432,
6000, 6001, 6060, 6666, 6543,
7000, 7070, 7774, 7777,
8000, 8001, 8003, 8031, 8080, 8081, 8443, 8765, 8777, 8888,
9000, 9001, 9031, 9080, 9081, 9090, 9191, 9876, 9877, 9999,
49221, 55001

If you are testing on Edge or Safari and want another port, please tell us! We all do our very best to aid ports that’ll be helpful for a lot of customers, for example individuals utilized by popular frameworks.

When We Have Five Users, Are We Able To Use Five Cases of Sauce Connect Proxy? Or Do We must Setup One Shared Instance?

You can utilize either, even though you have only one Sauce account! Should you choose choose five separate instances, you will have to create unique identifiers for every. You may also create sub-accounts that every their very own individual access keys.

What’s SCProxy?

SCProxy is really a built-in http proxy in SC. All demands/responses between your browsers running the selenium make sure the net servers go through it. Becasue it is only used internally in SC, it does not matter which port it uses. A totally free port is allotted dynamically when SC is began.

Can One Split Testing Traffic Across Multiple Sauce Connect Proxy Tunnels?

Sauce Connect Proxy offers some choices for high availability which allow multiple Sauce Connect Proxy tunnels to become grouped right into a pool that’s treated just like a single tunnel. This provides several positive aspects, including the opportunity to distribute the burden of test traffic. See High Availability Sauce Connect Proxy Setup to learn more.

Why Would We Obtain Errors Running Tests Through Sauce Connect Proxy On CORS-Enabled Sites?

Mix-Origin Resource Discussing (CORS) errors could result from a number of reasons, but recommendations the following strategies have resolved these problems:

  • Make certain the ulimit/open file limit of the machine reaches least 8000, the recommend value for Sauce Connect Proxy use
  • Begin a Sauce Connect instance while using -B all and -N command flags. To learn more by what these flags provide for your tunnel, please visit Sauce Connect Command Line Reference
Sauce connect proxy faqs - the sauce labs cook book - sauce labs documentation wiki SCProxy is

So Why Do My Tests on Android Fail With Certification Errors or Neglect to Login?

Neither Android 4.4 nor 5. respect the CyberVillains certificate in the system level, so that all tests on individuals platforms – including browser and application tests – must disable SSL bumping. Otherwise, all SSL file encryption will fail.

Microsoft Edge, Chrome 71+ and also the Safari browser on OS X 10.10+ and mobile iOS 8+ proxies these common ports:

Sauce connect proxy faqs - the sauce labs cook book - sauce labs documentation wiki disable SSL bumping

80, 443, 888,
2000, 2001, 2020, 2109, 2222, 2310,
3000, 3001, 3010, 3030, 3210, 3333,
4000, 4001, 4201, 4040, 4321, 4502, 4503, 4567,
5000, 5001, 5002, 5050, 5555, 5432,
6000, 6001, 6060, 6666, 6543,
7000, 7070, 7774, 7777,
8000, 8001, 8003, 8031, 8080, 8081, 8443, 8765, 8777, 8888,
9000, 9001, 9031, 9080, 9081, 9090, 9191, 9876, 9877, 9999,
49221, 55001

If you are testing on Edge or Safari and want another port, please tell us! We all do our very best to aid ports that’ll be helpful for a lot of customers, for example individuals utilized by popular frameworks.

When We Have Five Users, Are We Able To Use Five Cases of Sauce Connect Proxy? Or Do We must Setup One Shared Instance?

You can utilize either, even though you have only one Sauce account! Should you choose choose five separate instances, you will have to create unique identifiers for every. You may also create sub-accounts that every their very own individual access keys.

What’s SCProxy?

SCProxy is really a built-in http proxy in SC. All demands/responses between your browsers running the selenium make sure the net servers go through it. Becasue it is only used internally in SC, it does not matter which port it uses. A totally free port is allotted dynamically when SC is began.

Can One Split Testing Traffic Across Multiple Sauce Connect Proxy Tunnels?

Sauce Connect Proxy offers some choices for high availability which allow multiple Sauce Connect Proxy tunnels to become grouped right into a pool that’s treated just like a single tunnel. This provides several positive aspects, including the opportunity to distribute the burden of test traffic. See High Availability Sauce Connect Proxy Setup to learn more.

Why Would We Obtain Errors Running Tests Through Sauce Connect Proxy On CORS-Enabled Sites?

Mix-Origin Resource Discussing (CORS) errors could result from a number of reasons, but recommendations the following strategies have resolved these problems:

  • Make certain the ulimit/open file limit of the machine reaches least 8000, the recommend value for Sauce Connect Proxy use
  • Begin a Sauce Connect instance while using -B all and -N command flags. To learn more by what these flags provide for your tunnel, please visit Sauce Connect Command Line Reference
Sauce connect proxy faqs - the sauce labs cook book - sauce labs documentation wiki SCProxy is

So Why Do My Tests on Android Fail With Certification Errors or Neglect to Login?

Neither Android 4.4 nor 5. respect the CyberVillains certificate in the system level, so that all tests on individuals platforms – including browser and application tests – must disable SSL bumping. Otherwise, all SSL file encryption will fail.

This is applicable to both Android Emulators and Real Devices. For tests around the native Android browser, certificates error dialog box will appear warning about certificate issues. However, application tests may not show this error message since appear dialog box relies upon the application itself. Application tests will neglect to authenticate the login because of the certificate issue.

Android 5.1 has began adding support for that CyberVillains certificate, so it’s not necessary to disable SSL bumping with this version.

To disable SSL bumping, add some -B all option when you begin a Sauce Connect tunnel.

Resourse: https://wiki.saucelabs.com/display/DOCS/

Setting Up and Using Sauce Connect Proxy