-
Notifications
You must be signed in to change notification settings - Fork 389
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
Timed out waiting for the browser to connect #16
Comments
Not sure why, can you see
|
Thanks @bahmutov for your quick reply. Below is what I got:
|
Weird, maybe the container is too memory limited for Chrome to run? We are testing Cypress + Chrome browser in https://github.com/cypress-io/cypress-test-node-versions |
I don't think that is the problem. It was 2GB so I tried setting it to 4GB but having the same issue. See below:
|
By any chance are you running this locally say in OSX where its using network filesystem instead of docker having its own dedicated one? |
I'm accessing to the container with
|
from Mac OSX right? |
Yes, on Mac OSX but also in Bamboo CI |
Ok, can I ask why don't you run Mac Cypress directly? Like why do you need to put it into local Docker container? You don't see the GUI... |
and does Cypress run with built-in electron browser? |
On Mac OSX works both, electron and chrome. I'm running it in the Docker container because I need it for CI. As it was not working I was testing it. In the Docker container electron works, but I need to run it with Chrome which doesn't work. |
Having same issue on Windows 10.
|
I have the exactly the same problem of cypress timing out. Running it on gitlab ci with the given chrome image. Are there any news about this topic? I verified the following steps:
|
No updates, let me update our GitLab CI example to see if it works https://gitlab.com/cypress-io/cypress-example-docker-gitlab/issues/3 |
I invite everyone to take a look at Cypress running on GitLab CI (both electron and chrome browser). Maybe the simple test is too small and simple? |
FWIW, I'm seeing the same thing on Circle CI 2.0 with the I've attached the Dockerfile, in case that's useful. |
I tried enabling Cypress debug logging to get more information ( Since the log statement's been there since 0.19 (according to Git history) I wonder if that means it's not actually getting launched. None of the promises a few lines up even seem to be running, since I'm not seeing any of the log data that should happen beforehand (for instance, util.path) occur either. Or maybe not, it's always tricky to jump into a new codebase and figure out what's supposed to occur.
|
@arsduo appreciate your detailed debugging analysis. There are actually two problems in play here:
|
Thanks for the response! That's good to know. FWIW this is actually happening in Docker on Circle CI 2.0 -- we're building the client in a container so that it can interact with a container hosting the server. If there's any additional info I can give you, just let me know. |
Thanks for the response, I just ran into this issue. |
I'm able to repro this both locally and on Jenkins CI. |
If anyone has time to debug this issue and maybe find a way to see inside the container (vnc?) - that would be super helpful.
…Sent from my iPhone
On Dec 1, 2017, at 18:35, Cameron Cooks ***@***.***> wrote:
I'm able to repro this both locally and on Jenkins CI.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
If you're on a linux machine you should be able to mount the x11 socket to display the window on the host. |
We are all on OSX |
Using the above docker run -v options, with -it, and --shm-size=2g, here is some more info on what I am experiencing:
|
If anyone has any other ideas on how I can debug this I'd love to hear it. I'm not sure where to go from here |
@bahmutov has been working on this, we'll probably have an update tomorrow or later in the week. |
Thank you!
…On Dec 5, 2017 19:45, "Brian Mann" ***@***.***> wrote:
@bahmutov <https://github.com/bahmutov> has been working on this, we'll
probably have an update tomorrow or later in the week.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAC8xZ_BZH42jRYJFuSwJjZ8tXaQa0Edks5s9fGdgaJpZM4QOMcc>
.
|
@bahmutov spent a couple hours tracking this down and should have fixes out for |
That's great! Thank you all.
…On Dec 6, 2017 14:33, "Brian Mann" ***@***.***> wrote:
@bahmutov <https://github.com/bahmutov> spent a couple hours tracking
this down and should have fixes out for 1.1.4 - it was a combination of
issues that should all get resolved.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAC8xdqx_Gfs2R4PmUCYwFUdFZji8Bwhks5s9voRgaJpZM4QOMcc>
.
|
@bahmutov Thanks so much!!!! |
Released in |
I just tested Here is the raw output from the terminal (Docker on Mac)
|
Hi,
I'm trying to run
cypress run --browser chrome
incypress/browsers:chrome62
image but seems that chrome is not starting. Do you know what the problem could be?Dockerfile.:
Stacktrace:
The text was updated successfully, but these errors were encountered: