Solving Error: TLS initialization failed on PySide2
Unsolved
QtWebEngine
-
wrote on 22 Jul 2024, 19:28 last edited by
When i use
QNetworkAccessManager
andQNetworkRequest
it givesError: TLS initialization failed
.I researched on internet and learned that i must install OpenSSL. Then i install OpenSSL3.3.1 and add. After adding it to the PATH, I placed the
libcrypto
andlibssl
DLL files in the Python/dlls and project directories. Then i restart my computer but result doesn't change.So what should i do for solving this issue?
-
Hi,
You should move to PySide6. Support for OpenSSL 3 started with Qt 6. Even if the support is back-ported to 5.15, you would need to build PySide2 yourself with the corresponding version of Qt 5.
1/2