You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the image FROM mcr.microsoft.com/playwright/python:v1.41.0-jammy, I encounter the following error when accessing a certain website: "ssl routines:: unsafe legacy renegotiation disabled."
#30922
curl https://xxx.oa.com
When I use the image FROM mcr.microsoft.com/playwright/python:v1.41.0-jammy, I encounter the following error when accessing a certain website: "ssl routines:: unsafe legacy renegotiation disabled."
I will try to solve this problem. With the following configuration, curl can obtain a normal response, but the Python program still throws an exception.
1.Find the openssl.cnf file (mine is located at: /etc/ssl/openssl.cnf) and add the following content:
[ crypto_policy ]
# BEGIN LOCAL MODIFICATIONS
# <https://bugzilla.redhat.com/show_bug.cgi?id=2072070>
# <https://gitlab.com/redhat-crypto/fedora-crypto-policies/-/issues/42>
Options = UnsafeLegacyServerConnect
# END LOCAL MODIFICATIONS
.include = /etc/crypto-policies/back-ends/opensslcnf.config
2.Create the file /etc/crypto-policies/back-ends/opensslcnf.config and add the following content:
Is there a Playwright testing scenario that is broken due to this or do Playwright browsers navigate to the URL fine? It might be that curl needs additional openssl configuration to deal with it that I'm seeing on the internet. It is outside of the scope of Playwright though.
We need more information to act on this report. As long as we can't repro it, it is unlikely with can make progress with it. Allow me to close it, but please file a new one and link to this issue when you get back to it!
Version
mcr.microsoft.com/playwright/python:v1.41.0-jammy
Steps to reproduce
curl https://xxx.oa.com
When I use the image FROM mcr.microsoft.com/playwright/python:v1.41.0-jammy, I encounter the following error when accessing a certain website: "ssl routines:: unsafe legacy renegotiation disabled."
Expected behavior
I expect to succcess response
Actual behavior
"ssl routines:: unsafe legacy renegotiation disabled."
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: