Random Read Timeouts on API Requests Using Python
We currently experience read timeouts using the Python API (api.novu.co) on a regular basis.
Workflow:
We have a simple workflow with the following steps:
1. In-App
2. Digest
3. Email
Description:
On a daily basis we trigger between 100-200 messages using the EventApi.trigger function in one run around 00:00 UTC.
After running a few requests (today after 7) it runs into the read timout (
HTTPSConnectionPool(host='api.novu.co', port=443): Read timed out. (read timeout=5)
).
On a second try a few hours later it can fail again or run successfully (as today).
We also noticed a longer execution time on the first non-working try (triggered 7 activities in 8m 30s) compared to the working second try (triggered 248 activities in 1m 8s)
The problems started around the 31.10.24 and occurred on nearly every day.
Does anyone has a clue why this could be happening or knows if there are currently problems with the API (I found nothing on the Novu status page that still persists)?1 Reply
As we are in sync on this in intercom. I will keep you updated on this there.
Thanks