microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
66.21k stars 3.62k forks source link

[Bug]: Peer failed to perform TLS handshake: Error receiving data: Connection reset by peer #33040

Open MusibulKhan opened 2 days ago

MusibulKhan commented 2 days ago

Version

Version 1.47.0

Steps to reproduce

File Name test_skip_browser.py

def test_youtube(page): page.goto("https://youtube.com")

Terminal Run

pytest test_skip_browser.py --browser firefox --browser chromium --browser webkit --headed

Image

Expected behavior

Should Open Youtube into webkit.

Actual behavior

playwright._impl._errors.Error: Page.goto: Peer failed to perform TLS handshake: Error receiving data: Connection reset by peer

Additional context

No response

Environment

Ubuntu 20.04.6 LTS PyCharm 2024.2.1 (Community Edition) Build #PC-242.21829.153, built on August 29, 2024 Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.awt.X11.XToolkit Linux 5.15.0-122-generic GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 2048M Cores: 12 Registry: ide.experimental.ui=true i18n.locale= Current Desktop: ubuntu:GNOME

pavelfeldman commented 2 days ago

Sounds like your OS is out of date with the trusted certificates.