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

Chromium downloads broken for Platform Windows #2653

Closed
dammitjanet opened this issue Jun 5, 2024 · 3 comments · Fixed by #2654
Closed

Chromium downloads broken for Platform Windows #2653

dammitjanet opened this issue Jun 5, 2024 · 3 comments · Fixed by #2654

Comments

@dammitjanet
Copy link

dammitjanet commented Jun 5, 2024

Description

If you try an download Chromium on Windows (Platform Win32 or Win64), both cannot be found and results in an error

An unhandled exception occurred while processing the request.
HttpRequestException: Response status code does not indicate success: 404 (Not Found).
System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()

PuppeteerException: Failed to download Chromium for Win64 from https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/124.0.6367.201/chrome-win32.zip

Complete minimal example reproducing the issue

			var browserFetcherOptions = new BrowserFetcherOptions
			{
				Browser = SupportedBrowser.Chromium,
				Platform = Platform.Win64
			};

			var browserFetcher = new BrowserFetcher(browserFetcherOptions);
			await browserFetcher.DownloadAsync();

Expected behavior:

The BrowserFetcher to get the requested browser

Actual behavior:

An error is thrown,

PuppeteerException: Failed to download Chromium for Win64 from https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/124.0.6367.201/chrome-win32.zip

Versions

  • Which version of PuppeteerSharp are you using? => 18.0.0
  • Which .NET runtime and version are you targeting? Asp Net Core 8.0

Additional Information

the correct url for the latest Chromium build appears to be,

https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1310601/chrome-win.zip

not sure even where the buildId of 124.0.6367.201 comes from as https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/LAST_CHANGE results in 1310601 as of today

@kblok
Copy link
Member

kblok commented Jun 5, 2024

Fixing!

@kblok
Copy link
Member

kblok commented Jun 6, 2024

@dammitjanet v18.0.1 shipped with the fix.

@dammitjanet
Copy link
Author

perfect, and thank you for the quick fix

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

Successfully merging a pull request may close this issue.

2 participants