Help needed again

I do not understand why my HA stopped, first updated one of the integrations and stopped to response after restart

Tells me local http:/192.168…
IMG_20210820_185329
observer http:/192.168…

and in green HA >

Look at your error logs. Type:

ha core logs

https://www.home-assistant.io/common-tasks/os/#home-assistant-via-the-command-line

just out of curiosity have you tried a stop and power cycle (I am not a expert btw only a month in) but come from a computer background and had this same thing happen to me earlier today except it kept hanging on waiting to initialise ikea intergration for 20 minutes. After rebooting 3 times and it still hanging I just done a power cycle and it was fixed (stopping server first of course via normal shutdown command-dont just pull the power). Not saying it is this but it worked for me

Hi Thank you for fast replay yes the log is only red and orange text so I think its Fu… up.

I can enter the soft via my pc how use this backup files I always do to restore the system to earlier setup.
I thing the software update I did messed up the system

Sometimes, a lot of “oranges and reds” are due to a single cause.
Of course, if you don’t show them, nobody can help…

sorry just a moment i take a pic and get back

No pics, copy/paste text, please.

Ok I try cant find logfile via windows

I hope is this one

2021-08-20 18:46:49 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration google_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-08-20 18:46:49 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-08-20 18:46:49 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration xiaomi_gateway3 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-08-20 18:46:49 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration pyscript which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-08-20 18:46:49 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration auto_backup which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-08-20 18:46:49 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-08-20 18:46:49 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-08-20 18:46:55 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2021-08-20 18:46:56 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=118 from 2021-08-20 15:30:06.414382)
2021-08-20 18:47:07 ERROR (MainThread) [homeassistant.components.http] Failed to create HTTP server at port 8123: [Errno 98] error while attempting to bind on address (’::’, 8123, 0, 0): address in use
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of tag is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of localtuya is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.components.scene] Setup of scene platform homeassistant is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of media_source is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of counter is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of logbook is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2021-08-20 18:47:25 WARNING (MainThread) [homeassistant.setup] Setup of timer is taking over 10 seconds.
2021-08-20 18:47:29 WARNING (MainThread) [homeassistant.components.tuya] The ‘tuya’ option near /config/configuration.yaml:1 is deprecated, please remove it from your configuration
2021-08-20 18:47:31 WARNING (SyncWorker_4) [homeassistant.components.rpi_power.binary_sensor] Under-voltage was detected. Consider getting a uninterruptible power supply for your Raspberry Pi.
2021-08-20 18:47:40 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.50.15: Exception on post: Cannot connect to host 192.168.50.15:8088 ssl:default [Connect call failed (‘192.168.50.15’, 8088)]
2021-08-20 18:47:40 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.50.15: Unable to retrieve HUB id
2021-08-20 18:47:40 WARNING (MainThread) [homeassistant.components.harmony.data] Hubi 1: Unable to connect to HUB
2021-08-20 18:47:40 WARNING (MainThread) [homeassistant.config_entries] Config entry ‘Hubi 1’ for harmony integration not ready yet: None; Retrying in background
2021-08-20 18:47:43 WARNING (MainThread) [homeassistant.config_entries] Config entry ‘CPE210’ for upnp integration not ready yet: None; Retrying in background

2021-08-20 18:47:44 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2021-08-20 18:47:45 ERROR (MainThread) [custom_components.localtuya.common] [000…75d] Connect to 192.168.50.2 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.2’, 6668)
2021-08-20 18:47:45 ERROR (MainThread) [custom_components.localtuya.common] [000…31c] Connect to 192.168.50.5 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.5’, 6668)
2021-08-20 18:47:45 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform vera is taking over 10 seconds.
2021-08-20 18:47:47 WARNING (MainThread) [homeassistant.setup] Setup of sonoff is taking over 10 seconds.
2021-08-20 18:47:54 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.50.15: Exception on post: Cannot connect to host 192.168.50.15:8088 ssl:default [Connect call failed (‘192.168.50.15’, 8088)]
2021-08-20 18:47:54 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.50.15: Unable to retrieve HUB id
2021-08-20 18:47:54 WARNING (MainThread) [homeassistant.components.harmony.data] Hubi 1: Unable to connect to HUB
2021-08-20 18:48:05 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2021-08-20 18:48:33 ERROR (MainThread) [custom_components.localtuya.common] [000…75d] Connect to 192.168.50.2 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.2’, 6668)
2021-08-20 18:48:33 ERROR (MainThread) [custom_components.localtuya.common] [000…31c] Connect to 192.168.50.5 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.5’, 6668)
2021-08-20 18:49:33 ERROR (MainThread) [custom_components.localtuya.common] [000…75d] Connect to 192.168.50.2 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.2’, 6668)
2021-08-20 18:49:33 ERROR (MainThread) [custom_components.localtuya.common] [000…31c] Connect to 192.168.50.5 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.5’, 6668)
2021-08-20 18:50:33 ERROR (MainThread) [custom_components.localtuya.common] [000…31c] Connect to 192.168.50.5 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.5’, 6668)
2021-08-20 18:50:33 ERROR (MainThread) [custom_components.localtuya.common] [000…75d] Connect to 192.168.50.2 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.2’, 6668)
2021-08-20 18:51:33 ERROR (MainThread) [custom_components.localtuya.common] [000…75d] Connect to 192.168.50.2 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.2’, 6668)
2021-08-20 18:51:33 ERROR (MainThread) [custom_components.localtuya.common] [000…31c] Connect to 192.168.50.5 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.5’, 6668)
2021-08-20 18:52:33 ERROR (MainThread) [custom_components.localtuya.common] [000…75d] Connect to 192.168.50.2 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.2’, 6668)
2021-08-20 18:52:33 ERROR (MainThread) [custom_components.localtuya.common] [000…31c] Connect to 192.168.50.5 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.5’, 6668)
2021-08-20 18:53:33 ERROR (MainThread) [custom_components.localtuya.common] [000…75d] Connect to 192.168.50.2 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.50.2’, 6668)
2021-08-20 18:53:33 ERROR (MainThread) [custom_components.localtuya.common] [000…31c] Connect to 192.168.50.5 failed
Traceback (most recent call last):
File “/config/custom_components/localtuya/common.py”, line 139, in _make_connection
self._interface = await pytuya.connect(
File “/config/custom_components/localtuya/pytuya/init.py”, line 637, in connect
_, protocol = await loop.create_connection(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1056, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 1041, in create_connection
sock = await self._connect_sock(
File “/usr/local/lib/python3.9/asyncio/base_events.py”, line 955, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 502, in sock_connect
return await fut
File “/usr/local/lib/python3.9/asyncio/selector_events.py”, line 537, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)

Looks like HA (or something else on 8123) is already running, somehow…

This is the first error message (as opposed to warning message).

It’s the first instance of Home Assistant reporting an inability to access a required network resource (port 8123). Subsequent error messages report the same problem about an inability to acquire or connect to a network resource.


Ninja’d by koying …

Ok thank you for the help maybe best to reinstall HA on the card and then use backup to restore ? this work I don’t now I’m really novice

The thought crossed my mind but it’s Home Assistant OS so I’m not sure how it would be capable of doing that (as opposed to other installation methods which give the user more leeway to screw up).

Maybe an orphaned container? Or one that didn’t completely shut down? Hard to tell, and it doesn’t seem the OP has the debugging knowledge…

Not an hassos, specialist, I don’t know if a simple restore could fix this…

OP, I assume you already tried to reboot, of course…

I will try to reboot the hole network maybe something is blocking 8123 port just checked and still its open in my router, but I now that win machines sometime are like ghosts blocking ports etc

yes I have rebooted about 7-8 times but now i try entire network. Guys thanks all for your help i send replay if it worked :slight_smile:

Not sure why you mention your router or Windows, here.
Where is HassOS installed?

Hi again I meant that i started the network including computer and server, HassOS is on a raspberry Pi 3+.

now I installed a new copy on the raspberry and direct got a issue, cant get IPV4 and eth0 working (only IPV6), try several commands all the time error error.
i need it to be static and on 192.168.50.230 cant get a clue about the commands like – and - feel free to write a command string what to use, maybe I’m also a little bit tired in the head :slight_smile: