Functional tests for my open-source project that run on Sauce Labs have been failing since Aug 28.
I see that the browser is being sent a command to open the test url which is hosted in the CI environment. It’s expected to open it on localhost:8000 over sauce-connect. The attempt times out. I’ve confirmed that that old commits where this job passed, now fail when rerun, timing out for the same reason.
Support at Sauce Labs has looked at it but hasn’t offered much insight yet. I’m hoping someone here might be able to shed some light.
We’ve tested doing a GET request from travis to the test server and it returns a 200 status, so we’re just at a loss as to how to troubleshoot the request over sauce-connect. Thanks in advance for any help or tips!
We are having the same issue, also started on ~27th August (without making any changes in the Travis build script).
Not only the browser running on SauceLabs cannot access “localhost” server running on Travis, it cannot access any website (google.com etc.). Sauce Connect doctor is not reporting any significant issue.
Interesting thing I noticed is when I run the same script on forked repo, which uses travis-ci.org (not .com) it work seamlessly. So this may point to eg. some networking problem on travis-ci.com.
Also when I take over control of the browser (started from Travis with Sauce Connect] in Sauce Labs dashboard, I can verify I cannot access basically any website from that browser.
Also when I take over control of the browser (started from Travis with Sauce Connect] in Sauce Labs dashboard, I can verify I cannot access basically any website from that browser.
Oh yeah? I found that clicking in the url bar showed the localhost address it’s trying to connect to, but it just doesn’t connect. I don’t know if I tried visiting any other sites.
Interesting thing I noticed is when I run the same script on forked repo, which uses travis-ci.org (not .com) it work seamlessly. So this may point to eg. some networking problem on travis-ci.com.
So should we be reporting this to support at travis? This space was the only course of action I found for reporting issues with travis-ci.
We are in touch with Sauce Lab Support Team and they clarified that they were able to fix this issue on their end. So we expect this to be resolved for your case as well. Could you please re-check and see if this is still the case?