Skip to content

I/O Read timed out #447

@NiGhTTraX

Description

@NiGhTTraX

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.

12:30:01.104 DEBUG - Connection request: [route: {}->http://172.24.0.4:5555][total kept alive: 1; route allocated: 1 of 2000; total allocated: 2 of 2000]
12:30:01.106 DEBUG - Connection leased: [id: 3][route: {}->http://172.24.0.4:5555][total kept alive: 0; route allocated: 1 of 2000; total allocated: 2 of 2000]
12:30:01.106 DEBUG - Stale connection check
12:30:01.109 DEBUG - http-outgoing-3 << "[read] I/O error: Read timed out"
12:30:01.110 DEBUG - http-outgoing-3: set socket timeout to 0
12:30:01.110 DEBUG - Executing request POST /wd/hub/session/3d09edb1-e6b1-4fa0-8f56-f2d2b0199e18/url HTTP/1.1
12:30:01.110 DEBUG - Target auth state: UNCHALLENGED
12:30:01.110 DEBUG - Proxy auth state: UNCHALLENGED
12:30:01.111 DEBUG - http-outgoing-3 >> POST /wd/hub/session/3d09edb1-e6b1-4fa0-8f56-f2d2b0199e18/url HTTP/1.1
12:30:01.111 DEBUG - http-outgoing-3 >> Connection: keep-alive
12:30:01.111 DEBUG - http-outgoing-3 >> User-Agent: webdriverio/webdriverio/4.6.2
12:30:01.111 DEBUG - http-outgoing-3 >> Host: selenium:4444
12:30:01.111 DEBUG - http-outgoing-3 >> Accept: application/json
12:30:01.111 DEBUG - http-outgoing-3 >> Content-Type: application/json; charset=UTF-8
12:30:01.112 DEBUG - http-outgoing-3 >> Content-Length: 26
12:30:01.112 DEBUG - http-outgoing-3 >> Accept-Encoding: gzip,deflate
12:30:01.112 DEBUG - http-outgoing-3 >> "POST /wd/hub/session/3d09edb1-e6b1-4fa0-8f56-f2d2b0199e18/url HTTP/1.1[\r][\n]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions