-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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]install python -m playwright install on windows7 Python3.8.7, got this error message:(node:5848) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 13.107.24 6.13:443 #4996
Comments
The installer downloads browsers from urls like |
I can download webkit-win64.zip using your urls. So network firewall should not block such urls. |
13.107.246.13 is a Microsoft Azure ip and it looks like playwright is having hard time connecting to it. Can you run the command with |
C:\Users\10034852>set DEBUG=pw* C:\Users\10034852>python -m playwright install |
Yeah, looks like azure playwright.azureedge.net is not accessible from where you are :/ |
Closing since I don't think this is actionable on our side. |
Hey guys. We faced similar issue. And the root cause was in proxy that was not set in environment variables. |
I'm having this issue now and only a VPN connection solved the problem. So, to install a NPM package I need a VPN? What is going on? Take a look: #5442. npm info run [email protected] install node_modules/playwright node install.js
npm info run [email protected] install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 734ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 397943ms
npm verb stack Error: command failed
npm verb stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
npm verb stack at ChildProcess.emit (node:events:390:28)
npm verb stack at maybeClose (node:internal/child_process:1064:16)
npm verb stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm verb pkgid [email protected]
npm verb cwd /var/www/project
npm verb Linux 5.4.0-89-generic
npm verb argv "/usr/bin/node" "/usr/local/bin/npm" "install" "--verbose"
npm verb node v16.13.0
npm verb npm v7.17.0
npm ERR! code 1
npm ERR! path /var/www/project/node_modules/playwright
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! /var/www/project/node_modules/playwright/lib/utils/registry.js:551
npm ERR! throw new Error(`Failed to download ${title}, caused by\n${e.stack}`);
npm ERR! ^
npm ERR!
npm ERR! Error: Failed to download chromium v907428, caused by
npm ERR! Error: connect ETIMEDOUT 13.107.246.33:443
npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16)
npm ERR! at /var/www/project/node_modules/playwright/lib/utils/registry.js:551:13
npm ERR! at async Registry._downloadExecutable (/var/www/project/node_modules/playwright/lib/utils/registry.js:550:5)
npm ERR! at async Registry.install (/var/www/project/node_modules/playwright/lib/utils/registry.js:537:34)
npm ERR! at async installDefaultBrowsersForNpmInstall (/var/www/project/node_modules/playwright/lib/utils/registry.js:663:3)
npm verb exit 1
npm timing npm Completed in 398162ms
npm verb code 1
npm ERR! A complete log of this run can be found in:
npm ERR! /home/jonathan/.npm/_logs/2021-11-02T17_14_15_729Z-debug.log |
trying to install python -m playwright install on windows7 Python3.8.7, got this error message:
C:\Users\10034852>python -m playwright install
(node:5848) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT 13.107.24
6.13:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
(node:5848) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). To termina
te the node process on unhandled promise rejection, use the CLI flag
--unhandle d-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:5848) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered: