Timeout on get_monitors() #61

Closed
opened 2023-12-07 11:13:30 +01:00 by Akhofreeze · 0 comments
Akhofreeze commented 2023-12-07 11:13:30 +01:00 (Migrated from github.com)

Hello !
Got timeout on api.get_monitors() while api.get_monitor(1) is working.
I got 50 monitors.
Here is the trace:
Traceback (most recent call last): File "get.py", line 10, in <module> monitors = api.get_monitors() File "/home/victor/.local/lib/python3.10/site-packages/uptime_kuma_api/api.py", line 1175, in get_monitors r = list(self._get_event_data(Event.MONITOR_LIST).values()) File "/home/victor/.local/lib/python3.10/site-packages/uptime_kuma_api/api.py", line 538, in _get_event_data raise Timeout(f"Timed out while waiting for event {event}") uptime_kuma_api.exceptions.Timeout: Timed out while waiting for event monitorList
And I don't have any errors on Uptime Kuma logs.

Someone has any ideas ?

Thanks

EDIT : NETWORK ISSUE THREW K8S INGRESS

Hello ! Got timeout on ```api.get_monitors()``` while ```api.get_monitor(1)``` is working. I got 50 monitors. Here is the trace: ` Traceback (most recent call last): File "get.py", line 10, in <module> monitors = api.get_monitors() File "/home/victor/.local/lib/python3.10/site-packages/uptime_kuma_api/api.py", line 1175, in get_monitors r = list(self._get_event_data(Event.MONITOR_LIST).values()) File "/home/victor/.local/lib/python3.10/site-packages/uptime_kuma_api/api.py", line 538, in _get_event_data raise Timeout(f"Timed out while waiting for event {event}") uptime_kuma_api.exceptions.Timeout: Timed out while waiting for event monitorList ` And I don't have any errors on Uptime Kuma logs. Someone has any ideas ? Thanks EDIT : NETWORK ISSUE THREW K8S INGRESS
Sign in to join this conversation.
No description provided.