Error doing job: Error on transport creation for incoming connection

Hello there…

I’m wondering how to tackle this debug message (it appears 61 times, now, but it’ll keep on increasing endlessly, and after a reset it just starts again…)
Everything appears to be working. I’ve already tried disabling all addon / custom_integrations etc… it doesn’t seem to make any difference.
2023-07-03 19:35:13.132 ERROR (MainThread) [homeassistant] Error doing job: Error on transport creation for incoming connection
Traceback (most recent call last):
File “/usr/local/lib/python3.11/asyncio/selector_events.py”, line 222, in _accept_connection2
await waiter
File “/usr/local/lib/python3.11/asyncio/sslproto.py”, line 575, in _on_handshake_complete
raise handshake_exc
ConnectionResetError

Just wondering what triggers it…as notihing points me in the right direction…

In the mean while…while typing,65 times now…

PS: FYI, using https with my (registered-) domain name assigned to my home network with Let’sEncrypt certificates (dns-challenge) with hairpin

edit…one day later the counter is now at 955…

Hard to tell, but a wild guess would be “something” trying to access HA in http…

Thanks @koying
Would be https: then, as it concerns sslproto.py(line 757)

        try:
            if handshake_exc is None:
                self._set_state(SSLProtocolState.WRAPPED)
            else:
                raise handshake_exc

But still clueless of what…
And it is persistently every 2 minutes, which kind of rules out external access…

Well, from the “connection reset”, my hypothesis is specifically that an http attempt is done. If it’d be https, it’d likely succeed, and you wouldn’t have an error.

Found it, it occurs when my router forwards a request on port 443 to mu root domain.

f.e.: http://domain.my:443 triggers it
https://domain.my does not

Makes sense…at least one worry less :grin: