-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Blank page & Timed out waiting for the browser to connect. Retrying... #4246
Comments
Can you try cypress v3.3.0 please? It solves a lot of proxy issues
…Sent from my iPhone
On May 19, 2019, at 17:34, Matt Ensor ***@***.***> wrote:
Hey there,
I'm having a little difficulty running Cypress and am looking for some help :)
When I run npx cypress open and attempt to run the suite using electron 59 or chrome 74 I get a blank page. When I check network requests for the page the html and cypress runner loads fine but the upgrade to web socket does not respond.
When I run npx cypress run this is what I get
Timed out waiting for the browser to connect. Retrying...
Timed out waiting for the browser to connect. Retrying again...
The browser never connected. Something is wrong. The tests cannot run. Aborting...
(Results)
┌─────────────────────────┐
│ Tests: 0 │
│ Passing: 0 │
│ Failing: 1 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: 0 seconds │
│ Spec Ran: signup.js │
└─────────────────────────┘
I've tried reinstalling cypress a number of times and the Cypress tests run fine on other developers machines.
Node version v10.15.3
Npm version 6.4.1
Cypress Version 3.2.0
Mac OS Mojave 10.14.4
any suggestions or ideas would be great!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I just upgraded to 3.3.0, still having the same issue |
@mattensor Sorry to hear it's not connecting. Can you provide a reproducible example that we can run? It likely has something to do with the url you are attempting to visit during Also a screenshot of the 'blank page' on During |
Thanks so much for your help @jennifer-shehane . I have some screenshots for you. It seems the websocket upgrade request is timing out, and it's not even getting to my actual cypress tests. Any help you can give would be really appreciated :) |
Facing the same issue.. Electron locally works fine, when trying remote from gitlab CI it cannnot connect.. |
@tijnster I believe your issue is likely different since it is isolated to GitLab CI run. Could you open a new issue with as much information as possible? @mattensor We've seen some similar issues in the past, which they were able to resolve through some debugging or they never provided a way to reproduce.
Can you try some of our troubleshooting techniques? Logging DEBUG logs or clearing App Data? Are you behind a proxy? Have you configured the proxy? |
@jennifer-shehane Sure, will do! |
When I run cypress with debug here is what I get
I have cleared App data & the same problem still persists. |
I got logs similar to these. The problem was that my
file did not include a line:
|
@mattensor did you ever get a solve for this? I'm facing the exact same issue. |
I needed to include 127.0.0.1 localhost in my host file |
Hey there,
I'm having a little difficulty running Cypress and am looking for some help :)
When I run
npx cypress open
and attempt to run the suite using electron 59 or chrome 74 I get a blank page. When I check network requests for the page the html and cypress runner loads fine but the upgrade to web socket does not respond.When I run
npx cypress run
this is what I getI've tried reinstalling cypress a number of times and the Cypress tests run fine on other developers machines.
Node version v10.15.3
Npm version 6.4.1
Cypress Version 3.2.0
Mac OS Mojave 10.14.4
any suggestions or ideas would be great!
The text was updated successfully, but these errors were encountered: