Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sauce Connect handing (setup/teardown) #4

Open
santiycr opened this issue Apr 23, 2012 · 5 comments
Open

Sauce Connect handing (setup/teardown) #4

santiycr opened this issue Apr 23, 2012 · 5 comments

Comments

@santiycr
Copy link
Collaborator

Have Grid optionally handle Sauce Connect setup/teardown during registration

@santiycr
Copy link
Collaborator Author

There's Java code available for this already that can be re-used:
https://github.com/saucelabs/ci-sauce

@freynaud
Copy link
Owner

is that the ssh tunnel ?

@santiycr
Copy link
Collaborator Author

Yes, this is the tunneling technology that allows sauce to hit internal servers

@freynaud
Copy link
Owner

how does the tunnel work ? is the tunnel between my tests and the sauce grid, or between my tests and a sauce node ?

@santiycr
Copy link
Collaborator Author

That's an excellent question. The answer is "it depends". The tunnel basically let's cloud browsers proxy through an HTTP proxy created in the machine that runs the Connect script. This means that it can be either in the nodes or the hub.
Due to the fact only one tunnel needs to be running for one account and that every test for that account is proxied through the tunnel automatically as soon as connect is started, I'd recommend the hub, as it makes more sense for the hub to be the master coordinator of the tunnel as well as the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants