Error MBEDTLS_ERR_SSL_CONN_EOF on api request with Pico W and display #10608
Replies: 5 comments
-
I am having this error also on an esp32s3 it seems to be a firebase problem. Here are some of the other people having the problem |
Beta Was this translation helpful? Give feedback.
-
For me, this looks like some rate limiting measure on the API (Firebase) side. |
Beta Was this translation helpful? Give feedback.
-
adding Like karfas, I think this might be a rate limiting issue. If this is a home heating system, querying it every 5 seconds is overkill. Pimoroni have tweaked stuff in their distribution, too. It may be something caused in their code. |
Beta Was this translation helpful? Give feedback.
-
Please can you double check I am reading the correct section on rate limits I have found these limits about firebase functions
https://firebase.google.com/docs/functions/quotas#rate_limits This would suggest that on average you should wait 6.25s |
Beta Was this translation helpful? Give feedback.
-
When calling any api, it makes sense to code not only for the happy path. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to access my test endpoint using a Pico W with a Pimoroni Display Pack 2.0, using the their pimoroni-picow-v1.19.12-micropython.uf2 .
I've been having a lot of trouble getting the error
(-29312, 'MBEDTLS_ERR_SSL_CONN_EOF')
, so I've trimmed my code down to the basics to try to get to the bottom of the trouble. Here's my basic code:When I run this, here's the output:
I thought the error would be related to memory usage, but if I understand this output correctly (I have zero experience with micropython) the error does not seem related to memory usage.
Any suggestions about what might be causing this error?
Beta Was this translation helpful? Give feedback.
All reactions