Skip to content
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

Unable to create a new session on a new Docker version (API 1.43) #1340

Closed
valentyn-red-bird opened this issue May 19, 2023 · 4 comments
Closed
Milestone

Comments

@valentyn-red-bird
Copy link

valentyn-red-bird commented May 19, 2023

Docker API: 1.43
Engine: 24.0.0
Compose: 2.18.1
Selenoid: 1.10.10

Client:
Version: 23.0.5
API version: 1.43 (downgraded from 1.42)
Go version: go1.19.8
Git commit: bc4487a
Built: Wed Apr 26 16:12:25 2023
OS/Arch: linux/amd64
Context: default

Server: Docker Engine - Community
Engine:
Version: 24.0.0
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 1331b8c
Built: Mon May 15 18:48:30 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.1
GitCommit: 1677a17964311325ed1c31e2c0a3589ce6d5c30d
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0

Step: navigate to any URL via Selenium API
Expected: browser is opened and redirected to specified URL.
Actual: session is failing by timeout: ERROR: New session attempts retry count exceeded

Logs:

selenoid-1 | 2023/05/19 07:39:19 [-] [INIT] [Loading configuration files...]
selenoid-1 | 2023/05/19 07:39:19 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json]
selenoid-1 | 2023/05/19 07:39:19 [-] [INIT] [Video Dir: /opt/selenoid/video]
selenoid-1 | 2023/05/19 07:39:19 [-] [INIT] [Logs Dir: /opt/selenoid/logs]
selenoid-1 | 2023/05/19 07:39:19 [-] [INIT] [Did not manage to determine your Docker API version - using default version: 1.42]
selenoid-1 | 2023/05/19 07:39:19 [-] [INIT] [Listening on :4444]
selenoid-1 | 2023/05/19 07:39:36 [-] [NEW_REQUEST] [unknown] [172.18.0.2]
selenoid-1 | 2023/05/19 07:39:36 [-] [NEW_REQUEST_ACCEPTED] [unknown] [172.18.0.2]
selenoid-1 | 2023/05/19 07:39:36 [0] [LOCATING_SERVICE] [chrome] [112.0]
selenoid-1 | 2023/05/19 07:39:36 [0] [USING_DOCKER] [chrome] [112.0]
selenoid-1 | 2023/05/19 07:39:36 [0] [CREATING_CONTAINER] [selenoid/vnc_chrome:112.0]
selenoid-1 | 2023/05/19 07:39:36 [0] [STARTING_CONTAINER] [selenoid/vnc_chrome:112.0] [81518f2690901c7dcff1d47dc4d9f079b5b55937269740b75899f7c96480b151]
selenoid-1 | 2023/05/19 07:39:36 [0] [CONTAINER_STARTED] [selenoid/vnc_chrome:112.0] [81518f2690901c7dcff1d47dc4d9f079b5b55937269740b75899f7c96480b151] [0.23s]
selenoid-1 | 2023/05/19 07:39:36 [0] [SERVICE_STARTED] [selenoid/vnc_chrome:112.0] [81518f2690901c7dcff1d47dc4d9f079b5b55937269740b75899f7c96480b151] [0.00s]
selenoid-1 | 2023/05/19 07:39:36 [0] [PROXY_TO] [81518f2690901c7dcff1d47dc4d9f079b5b55937269740b75899f7c96480b151] [http://:4444/]
selenoid-1 | 2023/05/19 07:39:36 [0] [SESSION_ATTEMPTED] [http://:4444/] [1]
selenoid-1 | 2023/05/19 07:39:36 [0] [SESSION_FAILED] [http://:4444/] [200 OK]
selenoid-1 | 2023/05/19 07:39:36 [0] [REMOVING_CONTAINER] [81518f2690901c7dcff1d47dc4d9f079b5b55937269740b75899f7c96480b151]
selenoid-1 | 2023/05/19 07:39:36 [0] [CONTAINER_REMOVED] [81518f2690901c7dcff1d47dc4d9f079b5b55937269740b75899f7c96480b151]
selenoid-1 | 2023/05/19 07:39:37 [-] [NEW_REQUEST] [unknown] [172.18.0.2]
selenoid-1 | 2023/05/19 07:39:37 [-] [NEW_REQUEST_ACCEPTED] [unknown] [172.18.0.2]
selenoid-1 | 2023/05/19 07:39:37 [1] [LOCATING_SERVICE] [chrome] [112.0]
selenoid-1 | 2023/05/19 07:39:37 [1] [USING_DOCKER] [chrome] [112.0]
selenoid-1 | 2023/05/19 07:39:37 [1] [CREATING_CONTAINER] [selenoid/vnc_chrome:112.0]
selenoid-1 | 2023/05/19 07:39:37 [1] [STARTING_CONTAINER] [selenoid/vnc_chrome:112.0] [976bf60454b159b3367c0ee673f3c69bf972e10c7e7e691378c6d5afcad14fd8]

Root cause: Did not manage to determine your Docker API version - using default version: 1.43

@valentyn-red-bird
Copy link
Author

@vania-pooh seems like a similar to #500 and #556

@vania-pooh vania-pooh added this to the 1.10.12 milestone May 19, 2023
vania-pooh added a commit to vania-pooh/selenoid that referenced this issue May 21, 2023
vania-pooh added a commit to vania-pooh/selenoid that referenced this issue May 21, 2023
vania-pooh added a commit that referenced this issue May 21, 2023
Updated Docker client to 1.43 (related to #1340)
@vania-pooh
Copy link
Member

@valentyn-red-bird check with aerokube/selenoid:latest image.

@valentyn-red-bird
Copy link
Author

Took it in test. I hope I will give feedback as soon as possible.

@vania-pooh
Copy link
Member

Checked myself in Docker 24.0.1. Everything works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants