-
-
Notifications
You must be signed in to change notification settings - Fork 305
Closed as not planned
Description
Is there an existing issue for this?
- I have searched the existing issues
Name of mod
auto-uptime-kuma
Name of base container
swag
Current Behavior
When i boot, it runs into a timeout trying to update too many things
sometimes ill get lucky and itll boot say the 10th time but by then i have a whole lot of duplicated monitors
is there anyway we can provide an env to increase this timeout?

Expected Behavior
should boot without timing out
Steps To Reproduce
i guess try lots of monitors? not exactly sure what the specific cause is
Environment
- OS: unraid
- How docker service was installed: dockerman via unraid
CPU architecture
x86-64
Docker creation
..
Container logs
[mod-auto-uptime-kuma] Packages already installed, skipping...
[mod-auto-uptime-kuma] Executing SWAG auto-uptime-kuma mod
[mod-auto-uptime-kuma] The following notifications are enabled by default: ['1:My Discord Alert']
[mod-auto-uptime-kuma] Adding Monitor 'Artifactmmo' for container 'artifactmmo'
Traceback (most recent call last):
File "/app/auto-uptime-kuma.py", line 127, in <module>
add_or_update_monitors(dockerService, configService, uptimeKumaService)
File "/app/auto-uptime-kuma.py", line 23, in add_or_update_monitors
uptime_kuma_service.create_monitor(container_name, container_config)
File "/app/auto_uptime_kuma/uptime_kuma_service.py", line 135, in create_monitor
monitor = self.api.add_monitor(**monitor_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/uptime_kuma_api/api.py", line 1472, in add_monitor
return self._call('add', data)
^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/uptime_kuma_api/api.py", line 547, in _call
r = self.sio.call(event, data, timeout=self.timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/socketio/client.py", line 297, in call
raise exceptions.TimeoutError()
socketio.exceptions.TimeoutError
s6-rc: warning: unable to start service init-mod-swag-auto-uptime-kuma-install: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
Metadata
Metadata
Assignees
Type
Projects
Status
Done