Skip to content

Geo Map widget cannot access network on Ubuntu 24.04 (PyQt5 built with OpenSSL 1.x vs system OpenSSL 3.x) #197

@marione73

Description

@marione73

On Ubuntu Studio 24.04.3 LTS, the Geo Map widget is unable to load map tiles from the Internet.
The problem appears to be caused by an SSL/TLS incompatibility between PyQt5 (built against OpenSSL 1.x) and the system OpenSSL 3.x, which is now standard on Ubuntu 24.04.

As a result, HTTPS connections initiated by Qt fail and the Geo Map widget cannot download map tiles.

Environment
OS: Ubuntu Studio 24.04.3 LTS
Orange3: (output of pip show Orange3)
orange3-geo: (output of pip show orange3-geo)
Python: 3.12 (venv)
PyQt5: (output of pip show PyQt5)
System OpenSSL (from Python):
python -c "import ssl; print(ssl.OPENSSL_VERSION)"
Output:
OpenSSL 3.0.13 30 Jan 2024

Error message

When using the Geo Map widget, the following messages appear in the terminal:

qt.network.ssl: Incompatible version of OpenSSL (built with OpenSSL 1.x, runtime version is >= 3.x)
Supporto SSL: False
Versione SSL:

Consequently, the widget displays:

Cannot fetch map from the Internet

Additional diagnostics

Running the following test confirms that Qt SSL is not available:

from PyQt5.QtNetwork import QSslSocket
print(QSslSocket.supportsSsl())
print(QSslSocket.sslLibraryVersionString())

Output:

False
None

The same test using PyQt6 returns True, confirming that the issue is specific to PyQt5/OpenSSL compatibility.
What was tried
Reinstalling Orange3 and orange3-geo in a clean virtual environment
Reinstalling PyQt5 and PyQtWebEngine from PyPI
Clearing Orange user cache (~/.orange3)
Creating a fresh virtual environment
Testing with PyQt6 (SSL works, but Orange3 stable still requires PyQt5)
None of the above resolved the issue when using PyQt5 on Ubuntu 24.04.
Expected behavior
The Geo Map widget should be able to access map tile providers over HTTPS on modern Linux distributions using OpenSSL 3.x.

Possible directions
Provide PyQt5 wheels compatible with OpenSSL 3.x
Add official support for PyQt6 in Orange3 / orange3-geo
Document the limitation and recommended workaround for Ubuntu 24.04+

Thank you for your work on Orange and orange3-geo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions