Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Chromedriver download URL had been changed since from chrome 115 version led to build image fails #665

Closed
linjin-harvey opened this issue Jan 16, 2024 · 2 comments

Comments

@linjin-harvey
Copy link

linjin-harvey commented Jan 16, 2024

COMMAND:
./images chrome -b https://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_120.0.6099.216-1_amd64.deb -d 120.0.6099.216 -t selenoid/chrome:120.0

ERROR:

Google Chrome 120.0.6099.216 
Removing intermediate container f8e8f3044bcc
 ---> fc19013f42b1
Successfully built fc19013f42b1
Successfully tagged selenoid/dev_chrome:120.0.6099.216
2024/01/15 17:22:09 downloading driver from https://chromedriver.storage.googleapis.com/120.0.6099.216/chromedriver_linux64.zip
2024/01/15 17:22:09 command error: failed to download chromedriver: download chromedriver: failed to download driver archive: unexpected response code: 404

ROOT CAUSE:
Source code still using https://chromedriver.storage.googleapis.com/%s/chromedriver_linux64.zip to download all chromedriver version.
image

SOLUTION:
Change chromedriver download URL to https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/linux64/chromedriver-linux64.zip if download chromedriver version is >= 115

@vania-pooh
Copy link
Member

@linjin-harvey this is actually implemented, but this exact version 120.0.6099.216 is not present in their index file. https://github.com/aerokube/images/blob/master/build/chrome.go#L227

@linjin-harvey
Copy link
Author

linjin-harvey commented Jan 17, 2024

@aandryashin aandryashin closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants