-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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] net::ERR_TUNNEL_CONNECTION_FAILED #34252
Comments
It's hard for us to debug what exactly is going on based on what you shared. Please provide us with a reproducible example that we can run on our end, to see what's going on. Ideally keep Kubernetes out of it, and reproduce it with Docker. |
Would it work if I sent you the full function that you can run on your end? I can also send you the dockerfile if you want to see the config. If something else, please let me know what you need. As for Kubernetes, I was thinking it could be part of the problem, seeing as the same code runs locally with no errors. |
I'd prefer to not debug your application, just from a security perspective. Please create a minimal reproduction. |
Thank you, I will create another post when I have the example. In the meantime, I have another lead I want to check. |
System info
Playwright Version: v1.49.1
Operating System: Debian GNU/Linux 11 (bullseye)
Browser: Default version of Chromium installed in the image mcr.microsoft.com/playwright:v1.49.1-noble
NOTE: - the same code works when run locally on Windows 11 in PyCharm. The error below is when run in a kubernetes pod from a docker image.
- the same connection in the same environment works when using requests.get(url, proxies=proxy) instead of playwright
- the same error happens when using no proxy
- I tried using playwright with Chrome instead of Chromium and I got chrome_crashpad_handler: --database is required
- I tried using playwright with Firefox and the browser fails to start, with no error message. It just times out after a minute
Source code
Steps
Try to launch browser
Expected
It launches successfully
Actual
It gives this error:
'''
DEBUG:root:Response: https://en.wikipedia.org/wiki/Manx_language - 407
DEBUG:root:Request failed: https://en.wikipedia.org/wiki/Manx_language - net::ERR_TUNNEL_CONNECTION_FAILED
'''
The text was updated successfully, but these errors were encountered: