Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

docker-compose.yml is missing HUB_PORT_4444_TCP_PORT environment variable #12

@tbradley-sans

Description

@tbradley-sans

The docker-compose.yml provided in GitHub has two errors in it. These cause this error when running the container:

ERROR: Error forwarding the new session Empty pool of VM for setup Capabilities {browserName: chrome, handlesAlerts: true, javascriptEnabled: true, locationContextEnabled: true, loggingPrefs: org.openqa.selenium.logging..., requestOrigins: {name: webdriverio, url: http://webdriver.io, version: 4.14.1}, rotatable: true}

The problem is that the environment sections need to have this:

HUB_PORT_4444_TCP_PORT=4444

Otherwise, the script that starts the selenium standalone jar file specifies a URL to connect to the HUB which is invalid, and the chrome and firefox containers can't establish a connection to the hub.

The example docker-compose.yml that's shown in README.md doesn't have this problem. It does specify HUB_PORT_4444_TCP_PORT. But the docker-compose.yml is missing that line.

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