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

Tunnel stuck on my setup #169

Open
mkxml opened this issue Nov 7, 2014 · 4 comments
Open

Tunnel stuck on my setup #169

mkxml opened this issue Nov 7, 2014 · 4 comments

Comments

@mkxml
Copy link

mkxml commented Nov 7, 2014

Hello guys,

I'm having a problem here, I'm trying to test my program with saucelabs-mocha task but the connection to the sauce labs tunnel just keeps hanging, it says the testing process started by never close the tunnel and from the sauce labs console I get this odd message:

Automatic Tunnel: Jobs will not proxy through this tunnelunless the right identifier is provided.

I think it's something related to the tunnel ID, anyone else having this problem?

@Jonahss
Copy link
Collaborator

Jonahss commented Nov 10, 2014

Hmm, that log message is expected if I'm not mistaken.
What happens if you manually start an unnamed sauce connect tunnel, and set 'tunneled' to false in the grunt task? This should cause grunt-saucelabs to not start a tunnel, but all your tests will be default utilize your tunnel.

@mkxml
Copy link
Author

mkxml commented Nov 19, 2014

Now it does not open a tunnel to sauce labs but it still doesn't run the test.

Also I don't have any other tunnel to sauce labs, I'm expecting the grunt task to open one.

When running with tunneled: true the grunt log looks like this:

Running "connect:server" (connect) task
Started connect web server on http://0.0.0.0:8080

Running "saucelabs-mocha:all" (saucelabs-mocha) task

 1 / 1 tests started

When running with tunneled: false the grunt log looks like this:

Running "connect:server" (connect) task
Started connect web server on http://0.0.0.0:8080

Running "saucelabs-mocha:all" (saucelabs-mocha) task
=> Starting Tunnel to Sauce Labs
>> Connected to Saucelabs

 1 / 1 tests started

Both cases never complete the test. When running mocha locally everything looks fine.

@evilaliv3
Copy link
Contributor

this happens to me also on openpgpjs: https://travis-ci.org/evilaliv3/openpgpjs

how did you manage to solve your issue @mkautzmann ?

@mkxml
Copy link
Author

mkxml commented May 11, 2015

@evilaliv3 I actually didn't, my project is mainly web component focused so I decided to use Polymer's Web Component Tester, that project has a plugin for sauce labs called wct-sauce. I still don't know why their method is working on my environment and grunt-saucelabs is not.

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

3 participants