-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
I/O Read timed out #447
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
Comments
@NiGhTTraX I am seeing the issue as well for 3.3.1 where upon turning on debug I see I don't see the error with 3.0.1. |
I used a slightly modified version of your docker-compose file, see here, to check this issue. I also see in the log when I enable the debug option this:
See this I googled and this seems to be normal. What I imagine is that in a newer version of the HttpClient, those "read time out" messages were included and that is why you see them now in the debug log. So I think that this is not a docker-selenium, and neither a Selenium issue, it is just the handling of connection pooling by the HttpClient in the Apache libraries. I would suggest to close this issue since it is not related to docker-selenium. |
@diemol the stack overflow answer you linked says that the debug message can be ignored as they're not causing any problems. I'm seeing the message in the logs whenever my Selenium init times out. I'm not sure if there's a connection between them, but I'd sure like to get to the bottom of it. |
@NiGhTTraX |
Hi @NiGhTTraX, Just to follow up on this, what do you mean by "my Selenium init times out". Can you please explain? |
When I ask the Selenium hub for a session it takes too long (more than 10s) and my tests time out. I can see in the logs that a request to create a new one has been received and in the debug logs I see the read time out error.
I can't reproduce this consistently, so if you have any ideas on how to provide more info, I'm all ears. |
I was trying to find ways to reproduce as well and I was not successful. I am not sure if the situation improved with the latest release for you @NiGhTTraX, did you find a way to reproduce it? |
@diemol I haven't had a failure in quite a while, so maybe it was fixed. Closing for now and I'll reopen it if it happens again. |
Cool, let us know if you find something again. Thanks for the quick reply. |
Meta
Images: (hub + node-chrome + node-firefox) 3.2.0
OS: Ubuntu
Setup
I'm spinning up a hub container and 1 Chrome node and 1 Firefox node and linking them via docker-compose. My tests are running in a nodejs container that has a link to the hub. I'm starting 2 of those containers, one requesting a Chrome session, one requesting a Firefox session.
This is my compose file.
Problem
One of the 2 nodejs containers reports a test timeout at random times. When running the hub container with
-debug true
I can see a[read] I/O error: Read timed out"
error a bunch of times.The text was updated successfully, but these errors were encountered: