In the import and use of the Request library, when I call the get request
response = requests.get(“https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41¤t=temperature_2m,wind_speed_10m&hourly=temperature_2m,relative_humidity_2m,wind_speed_10m”)
print(response.status_code)
I get this error
Traceback (most recent call last):
File “/usr/project.py”, line 138, in
File “/usr/project.py”, line 93, in main
File “request.py”, line 318, in get
File “request.py”, line 190, in request
ImportError: no module named ‘ussl’
Anyone who has dealt with this error before, could you help me?
hi,
Could you tell me what firmware version you are using?
1 Like

This is my firmware version
hi,lgor
I have tested this firmware, which does not support USSL, let me confirm with RD, you can debug other functions first, thank you
Hi,
Do you know which firmware version has access to the ussl service?
hi,lgor
I’m confirming it. I’ll get back to you as soon as possible
1 Like
hi,lgor
EC200AUHA does not support USSL, but EC200AEUHA supports USSL, can you accept using EC200UEUHA to debug first?
Hi Felix,
We are experiencing the exact same issue as in this thread — ImportError: no module named 'ussl' on QuecPython. Adding our case here for visibility.
We are using the EC200A-EUV1-HA module (ASR1803S chipset) with QuecPython and need Python-level TLS (ussl) for our relay client. Our physical module is EC200AEUV1HAR02A01M16_OCPU_QPY (EUV1-HA V1 hardware).
For testing we also flashed EC200AEUHAR01A09M16_OCPU_QPY (QPY_OCPU_V0009_EC200A_EUHA_FW, release notes V0109), whose release notes list SSL in the Functions List. On both images import ussl fails at runtime:
>>> import ussl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'ussl'
>>> import ssl
ImportError: no module named 'ssl'
>>> import _ssl
ImportError: no module named '_ssl'
help('modules') confirms no ssl/ussl/_ssl are available, and the bundled request.py fails at line 315 with the same ImportError. We also verified the TLS C symbols exist in app.bin (_ssl, ql_ssl_ctx_set_opt), so the code appears to be present but the Python binding is not enabled for this ASR1803S build.
In the earlier thread (post #7) you confirmed “EC200AEUHA supports USSL” — we have the same question for our module variant. Could you please:
- Confirm which specific EC200A-EUV1-HA QuecPython firmware build (or EC200A-EU-HA build) ships the working
ussl module, and
- Provide the download link for an EC200A-EU QPY firmware with SSL (CONFIG_MBEDTLS / ussl) enabled** for the ASR1803S chipset.
If a build with ussl is not yet available, please advise whether SSL can be enabled in a custom QuecPython build for the EC200A-EU (ASR1803S).
Device evidence attached:
- Physical module:
EC200AEUV1HAR02A01M16_OCPU_QPY (EUV1-HA)
- Tested image:
EC200AEUHAR01A09M16_OCPU_QPY (V0009) via ATI
import ussl/ssl/_ssl → ImportError (screenshots above)
help('modules') → ussl not present
Thank you in advance.
Dear Customer
I have sent the firmware to you via email, please have a try.