-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Timeout fail on CircleCI #94
Comments
I'm seeing the same issue with CircleCI. Could it be related to the way Docker networking is setup in Circle? https://circleci.com/docs/2.0/building-docker-images/#separation-of-environments That sounds suspiciously like Loki wouldn't be able to connect directly to the Chrome containers, right? |
I actually get the following error message:
Will investigate more. |
@oblador My naive approach would be to set up an additional target that doesn't spin up docker, but instead connects to a predefined docker container. This would require users that set up CircleCI to ensure the correct container is running and is reachable, but to be honest I don't see a good way to spin up the docker container from inside a CircleCI command. I'll experiment with this and hopefully provide a PR :) |
@dbartholomae Looking forward to it! |
@oblador I've played around with some concepts and in the end came up with the following thoughts: It's not done yet, currently I'm stuck with two issues, one being that I cannot run it on windows because the Docker container cannot connect to the webserver running on host that has storybook in it. The other (and in my opinion more important) issue is that on Linux all screenshots are taken from the same page, so it seems the iframe isn't loaded correctly. I'll most likely continue working on this next weekend. |
I was only able to run loki on CircleCI using an image with Chrome and node installed and then running loki on |
#218 to wait little longer when loading storybooks seems to help A lot. |
Which image did you use for this? I had a similar thought, but I'm still seeing differences in ~20% of my screenshots. |
This could potentially be fixed by #478 |
Hi, I have this error on CircleCI (locally everything is fine):
I increased the timeout in
docker.js
to30000
as suggested in #38 but this did not fix the issue.CircleCI is using
circleci/ruby:2.5-node
image.Any tips on debugging this issue?
The text was updated successfully, but these errors were encountered: