Me too
I’ve tried to disable all integrations (exept Supervisor) and all automations - nothing helped
21-05-19 18:06:40 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-12222' coro=<Scheduler._run_task.<locals>._wrap_task() done, defined at /usr/src/supervisor/supervisor/misc/scheduler.py:58> exception=TypeError('an integer is required (got type str)')>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/misc/scheduler.py", line 62, in _wrap_task
await task.coro_callback()
File "/usr/src/supervisor/supervisor/misc/tasks.py", line 416, in _watchdog_addon_application
if addon.in_progress or await addon.watchdog_application():
File "/usr/src/supervisor/supervisor/addons/addon.py", line 479, in watchdog_application
return await self.sys_run_in_executor(check_port, self.ip_address, port)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/supervisor/supervisor/utils/__init__.py", line 43, in check_port
result = sock.connect_ex((str(address), port))
TypeError: an integer is required (got type str)
Got a similar issue, nothing I try stops this or fixes it.
21-05-19 18:26:13 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-3543531' coro=<Scheduler._run_task.<locals>._wrap_task() done, defined at /usr/src/supervisor/supervisor/misc/scheduler.py:58> exception=TypeError('an integer is required (got type str)')>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/misc/scheduler.py", line 62, in _wrap_task
await task.coro_callback()
File "/usr/src/supervisor/supervisor/misc/tasks.py", line 416, in _watchdog_addon_application
if addon.in_progress or await addon.watchdog_application():
File "/usr/src/supervisor/supervisor/addons/addon.py", line 479, in watchdog_application
return await self.sys_run_in_executor(check_port, self.ip_address, port)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/supervisor/supervisor/utils/__init__.py", line 43, in check_port
result = sock.connect_ex((str(address), port))
TypeError: an integer is required (got type str)
Thanks, didn’t realise I’d had a recent supervisor update since still on a 2021.4 version. Only started today as far as I can tell, and I’d updated file editor, mqtt and core.
My installation doesn’t see the supervisor releases 2021.05.0 or 2021.05.1, in the GUI it doesn’t present an update option and from the CLI (ha supervisor update) it states the latest release is still 2021.04.3.
You need to do it from Supervisor panel>system. You might need to reload supervisor for it to show up (I did) I also had a total crash (supervisor didn’t come back) when going from 2021.05.0 to 2021.05.1 and ended up having to run the installation script again to fix it.
Yup, got into a total crash on the supervisor. But using HA OS running installation is going to be somewhat tough. I’ll first try a host reboot, and then see if I can still login through SSH.
I got it working by joining the beta channel. Then it showed up. But when I updated Supervisor to 2021.05.1, the Supervisor crashed.
I had to restart the host Home Assistant interface through the HA OS Service (Hassio.host_reboot). If you’re not running HA OS, a host reboot cleared it all up for me.
Supervisor log is now clean again.
I rebooted the host but it didn’t come back. HA was running before I rebooted even though the supervisor was screwed. Also tried the ha su repair command didn’t do anything. After rebooting everything was down and just ran the install script again and after that completed, everything was working perfectly again…
(Note I’m not running HA OS I run Supervised on Debian)
I may be missing something, but for those of us logging supervisor/scheduler errors, we are seeing watchdog in these log snips. I have watchdog enabled on Mosquitto Broker, Terminal & SSH, chrony, Motioneye and Wireguard.
Disabled on Wireguard first because this was not started (and I hadn’t set start on boot for it either). Same error. Then I turned off all watchdog options on addons. Result, no more errors being reported.
When I have time, I’ll turn the watchdog settings back on for each of those addons one at a time and see which addon makes the errors reappear.
I like the watchdog feature so would prefer not to leave it off.
21-05-20 08:21:13 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-529192' coro=<Scheduler._run_task.<locals>._wrap_task() done, defined at /usr/src/supervisor/supervisor/misc/scheduler.py:58> exception=TypeError('an integer is required (got type str)')>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/misc/scheduler.py", line 62, in _wrap_task
await task.coro_callback()
File "/usr/src/supervisor/supervisor/misc/tasks.py", line 416, in _watchdog_addon_application
if addon.in_progress or await addon.watchdog_application():
File "/usr/src/supervisor/supervisor/addons/addon.py", line 479, in watchdog_application
return await self.sys_run_in_executor(check_port, self.ip_address, port)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/supervisor/supervisor/utils/__init__.py", line 43, in check_port
result = sock.connect_ex((str(address), port))
TypeError: an integer is required (got type str)