-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Failed to load resource: net::ERR_EMPTY_RESPONSE - standalone chrome #437
Comments
To follow this up, I'm running into
|
This appears to be a memory leaking application. I can only run 46 sign in/out combinations before both the selenium/standalone-chrome or my native osx browser break. |
I'm looking for any help or pointers anyone can give me. I've done much memory profiling and all is well with the application. I'm only having this problem when driving with selenium. I can't say with any certainty it is selenium, the docker image, chrome, or anything else. I've put a great deal of time into researching it, and I've run out of leads. I'm willing to try anything, just point me to it and I'll give it a shot. |
After an effort today, it appears our server running on the host hangs or becomes non-responsive to the chrome container. If this is the case and chrome is managing connections properly, then this is entirely unrelated to selenium. |
For those that find this, I have definitively found this problem to reside in a hanging Capybara server. I still don't know the alternative, but it is being tracked here: |
Meta -
Image(s):
selenium/standalone-chrome
3.1.0, 3.2.0, 3.3.0Docker Version:
17.03.0-ce, build 60ccb22
and17.03.1-ce, build c6d412e
OS:
OSX
Expected Behavior -
Run continuously without intermittent hang on page load or ajax request
Actual Behavior -
When running CI tests, chrome will eventually start presenting
Failed to load resource: net::ERR_EMPTY_RESPONSE
in the console logs. I have executeddocker logs chrome
and there seems to be nothing outstanding. Selenium is working, and I have a retry to attempt to wait for the react app to be rendered before proceeding (which seems to work well).Several successive tests will fail with the same error, then chrome starts once again responding and tests succeed. The offending test succeeds on it's own, and when commented out, it just moves on to failing at the test that runs about 3/4 through the run.
The container is being run with:
docker run --rm --name chrome -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:3.2.0
and I have also tried
--shm-size=4g
with no change in success rate.Logs
Here is the console from the first failed test:
The docker log is attached.
For this period of errors in the console log, selenium seems to be responding (only chrome is non-responsive).
Tests start failing at
20:19:06
and start succeeding again at20:20:08
- ~1m later.I'm open to any ideas.
The text was updated successfully, but these errors were encountered: