Closed
Description
openedon Dec 22, 2022
Context:
- Playwright Version: 1.29.1
- Operating System: linux
- Node.js version: node18
- Browser:chromium
Code Snippet
sorry, no easy code snippet for now as this involves a browserserver, i'll try to reduce a testcase in the coming days but maybe you have an idea about it even with this.
reproduction: https://github.com/dominikg/pwsock
originally discovered in vite-plugin-svelte repo:
git clone git@github.com:sveltejs/vite-plugin-svelte.git
cd vite-plugin-svelte
pnpm i
pnpm test:build #passes with playwright-core@1.28.1
pnpm i -Dw playwright-core@1.29.1
pnpm test:build # fails with errors during setup, initial page.goto can't use socks?
Describe the bug
page.goto fails to connect for each test
page.goto: net::ERR_SOCKS_CONNECTION_FAILED at http://localhost:5510/
some also log
(node:81641) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 socksRequested listeners added to [SocksProxy]. Use emitter.setMaxListeners() to increase limit
links:
create browserserver
page.goto call
cc @dgozman you've been working on socks related features lately
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment