Closed bhreinb closed 1 year ago
Yes, saucelabs-connector
start a webserver to allow monitoring connection metrics on the port 8888, I think we can get a random free port in the provider and pass it to the saucelabs-connector
binary.
Hi @AndreyBelym,
sounds good. You can see the reason for the feature request in this project
https://github.com/bhreinb/SYSTAC
namely a ability to run tests in parallel with Testcafe & Cucumber. Thanks a mill.
@bhreinb @AndreyBelym Is this resolved now?
This improvement is not implemented yet. So, your PR would be appreciated.
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.
Hi There,
On occasions I need to open two or more tunnels to sauce labs. Out of the box this module sends the following command line arguments to the library 'sauce-connect-launcher'
[ "-u", "",
"-k",
"",
"--tunnel-identifier",
1538299859372,
"--direct-domains",
".google.com,.gstatic.com,*.googleapis.com",
"--readyfile",
"/var/folders/9k/9y01ch7s6h95s9_ky6g_bpc40000gp/T/sc-launcher-readyfile"
]
That module (sauce-connect-launcher) is using this binary to establish a tunnel to sauce labs
When this executes once the command completes successfully, see below
However, when I attempt to open another tunnel I get the following output with the exact same parameters
Namely, the first instance is using selenium port 8888, while the second instance tries to connect on that same port 8888 which is why it fails to connect in the second circumstance. The issue I describe above is exactly what I'm seeing when I tunnel to SauceLabs with this module via two processes on the same machine as the second instance is trying to use a port already in use and fails. To fix this the module needs to pass the selenium port down to sauce-connect-launcher so to bypass this problem. Let me know if there are any questions.