Skip to content

Not able to connect to selenium grid - getting connection refused error. #212

@qburst-hari

Description

@qburst-hari

I started a selenium hub with the command -

docker run -d -p 4444:4444 --name selenium-android-hub -P selenium/hub

Then I started the appium docker command -

docker run --privileged -d -p 6080:6080 -p 4723:4723 -p 5554:5554 -p 5555:5555 -e DEVICE="Samsung Galaxy S6" -e APPIUM=true -e CONNECT_TO_GRID=true -e APPIUM_HOST="127.0.0.1" -e APPIUM_PORT=4723 -e SELENIUM_HOST="127.0.0.1" -e SELENIUM_PORT=4444 -e MOBILE_WEB_TEST=true --name android-container budtmo/docker-android-x86-8.1

But when I accessed noVNC, in logs it says

[Appium] Request to register with grid was unsuccessful:Error: connect ECONNREFUSED 127.0.0.1:4444
[debug][Appium] Hub down or not responding:Error: connect ECONNREFUSED 127.0.0.1:4444

Please let me know whats the issue is ?

With the same hub, I was able to add normal chrome borwser nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions