Skip to content
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

Selenium inside Docker TLS Handshake Error[🐛 Bug]: #10588

Closed
thlorenzen opened this issue Apr 28, 2022 · 4 comments
Closed

Selenium inside Docker TLS Handshake Error[🐛 Bug]: #10588

thlorenzen opened this issue Apr 28, 2022 · 4 comments
Labels
G-chromedriver Requires fixes in ChromeDriver

Comments

@thlorenzen
Copy link

What happened?

When trying to reach ea.com from inside Docker Container with selenium. I get an webpage with following Error:
502 Bad Gateway TlsProtocolException('Cannot establish TLS with accounts.ea.com:443 (sni: accounts.ea.com): TlsException("SSL handshake error: Error([(\'SSL routines\', \'\', \'unsafe legacy renegotiation disabled\')])")')

It happended since I update chromedriver and google-chrome and it only happens inside Docker-Container.

Im not sure if its correct to post it here, but im stuck since 2 days with this errror.

How can we reproduce the issue?

print("not local init...")
# chrome_options.add_argument('--headless')
chrome_options.add_argument("--window-size=1920x1080")
chrome_options.add_argument('--disable-gpu')
chrome_options.add_argument("--disable-dev-shm-usage")
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--remote-debugging-port=9222")
chrome_options.add_argument('--ignore-certificate-errors')
chrome_options.add_argument('--ignore-ssl-errors')

driver = webdriver.Chrome(options=chrome_options)

Relevant log output

502 Bad Gateway
TlsProtocolException('Cannot establish TLS with accounts.ea.com:443 (sni: accounts.ea.com): TlsException("SSL handshake error: Error([(\'SSL routines\', \'\', \'unsafe legacy renegotiation disabled\')])")')`

Operating System

Ubuntu

Selenium version

newest

What are the browser(s) and version(s) where you see this issue?

101

What are the browser driver(s) and version(s) where you see this issue?

chrome

Are you using Selenium Grid?

No response

@github-actions
Copy link

@thlorenzen, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol
Copy link
Member

diemol commented Apr 28, 2022

This does seem like an issue either with the website or Chrome/ChromeDriver. You can try reporting it to the Chrome team or contacting the site directly.

@diemol diemol added G-chromedriver Requires fixes in ChromeDriver and removed I-defect needs-triaging labels Apr 28, 2022
@github-actions
Copy link

Hi, @thlorenzen.
This issue has been determined to require fixes in ChromeDriver.

You can see if the feature is passing in the Web Platform Tests.

If it is something new, please create an issue with the ChromeDriver team.
Feel free to comment the issues that you raise back in this issue. Thank you.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators May 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
G-chromedriver Requires fixes in ChromeDriver
Projects
None yet
Development

No branches or pull requests

2 participants