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

Certain ports failing when running grunt-saucelabs #105

Closed
jansepar opened this issue Feb 22, 2014 · 3 comments
Closed

Certain ports failing when running grunt-saucelabs #105

jansepar opened this issue Feb 22, 2014 · 3 comments

Comments

@jansepar
Copy link
Contributor

I had an issue where a number of my tests weren't running on certain browsers with the following error:

Could not read test result for Error: Error response status: 7

The error happened on these browsers:

  • Mac 10.6::ipad(4.3)
  • Windows 2012::internet explorer(10)
  • Mac 10.6::ipad(4.3)
  • Mac 10.6::ipad(5)
  • Mac 10.6::iphone(4.3)
  • Mac 10.6::ipad(5)
  • Mac 10.6::iphone(5)
  • Linux::android(4)

But always successfully ran the tests for the following browsers:

  • Windows 2008::chrome
  • firefox(18.0)

I was initially very confused because I had another project I was using grunt-saucelabs with that was working just fine, using the same browsers. The only difference was port 3000 and port 3003 - I tried switching from 3003 to 3000, all of my tests started running again! Didn't dig too deep into why this was happening, but filing it anyways.

@Jonahss
Copy link
Collaborator

Jonahss commented Feb 24, 2014

Thanks for reporting, see pull request #104

Sauce Labs lists specific ports which are forwarded through Sauce Connect: https://saucelabs.com/docs/connect

The newest version of grunt-saucelabs should spit out a warning message when using non-supported ports.

@Jonahss Jonahss closed this as completed Feb 24, 2014
@jansepar
Copy link
Contributor Author

Cool thanks for the info! I did try the latest and I don't think I got any warnings... but I'd have to try it again to confirm.

Also, it would probably be handy to mention this caveat in the README with a link to the docs that lists the ports.

@Jonahss
Copy link
Collaborator

Jonahss commented Feb 24, 2014

Yeah yellow warning shows up in the stdout. I'm going to hold off adding it explicitly to the README since it's more Sauce specific and less grunt-saucelabs specific. The README doesn't explain tunneling at all in the first place.

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