-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[BUG] - Error: Failed to download chromium ETIMEDOUT, cannot install #5442
Comments
this is a critical issue affecting all versions - blocking all installs - affects 1.5.1 as well |
As a workaround to getting our CI working again I've resorted to using the PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD environment variable to skip download, downloading chromium directly from npm and then pointing to that using the executablePath option when Chromium is launched. |
So this only seems to be occurring in an Azure Pipeline, Locally it's fine. The URL the pipeline would be trying to download from would be: This works fine locally. Browsing to the IP Address directly is what returns that message. I'm now thinking because of that this might be an networking issue out of Azure DevOps. I'm investigating this now. I will update this when I've run some tests on the build agents. |
This seems to be an internal Azure Pipeline issue, so I'll close this. Feel free to re-submit if there are indeed problems on our side. |
@thebib Hello I encountered an issue that sounds similar to yours. This is my code:
FYI I'm using playwright with jest, hence you see jest syntax. Locally the test works fine. But when I run it in my Jenkins CI, I get an error on the
Based on what you said:
I used
I used the I'm using Mac to develop locally, while the Jenkins agent is running on linux. Wonder what you did for your workaround to get your CI working. I still can't get my own CI to work. Appreciate any advice as I'm new to this. I'm also not using Docker. Thanks! |
Same problem here trying to install the latest version (1.12.2) with NPM. This is bad for new users, they will try to install playwright following the docs The error that I encounter was the following: npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! (node:22337) UnhandledPromiseRejectionWarning: Error: Failed to download chromium, caused by
npm ERR! Error: connect ETIMEDOUT 13.107.246.33:443
npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) Is this out of service since February? |
@jonathanpmartins it is our CDN where the browser builds get served from. Does Its probably blocked by e.g. your cooperate firewall or your internal network does block it. The service is up and working for all the other users. |
Strange, because I'm working from home. This should not happen! If I try to access this URL <Error>
<Code>InvalidQueryParameterValue</Code>
<Message>Value for one of the query parameters specified in the request URI is invalid. RequestId:bee86ed6-501e-00c2-0302-637cec000000 Time:2021-06-16T22:54:18.7136694Z</Message>
<QueryParameterName>comp</QueryParameterName>
<QueryParameterValue/>
<Reason/>
</Error> Trying to download I did follow the tips from @thebib and @sharlwong and could make it work fine! Thanks |
Context:
Apologies, this is unrelated to the Playwright codebase but wouldn't know where to go otherwise,
I'm running an NPM install to grab Chromium from within a bionic:playwright container using Azure DevOps and it's returning a timeout when trying to download the executable.
Error: Failed to download chromium, caused by deasync@0.1.20 install /__w/1/s/investor-zone/node_modules/deasync Error: connect ETIMEDOUT 13.107.246.13:443
Browsing to the URL yields:
<h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>08oImYAAAAABLHLg5vDiFR72GN1/9tBvdTUFOMzBFREdFMDcyMQBFZGdl
The text was updated successfully, but these errors were encountered: