-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
Description
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 [email protected]:sveltejs/vite-plugin-svelte.git
cd vite-plugin-svelte
pnpm i
pnpm test:build #passes with [email protected]
pnpm i -Dw [email protected]
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
sapphi-red, brc-dd, ankur-lt and eugene1gsapphi-red