What causes this error: SSLError: [SSL: KRB5_S_INIT]

trying to debug several error messages, please help me find the cause of this:

2019-06-28 09:07:36 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 574, in uvloop.loop.SSLProtocol._do_shutdown
  File "/usr/local/lib/python3.7/ssl.py", line 767, in unwrap
    return self._sslobj.shutdown()
ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify (_ssl.c:2609)

I’ve seen it in a few other posts, but always as a part of a bigger issue, so this gets buried. deserves a dedicated thread…

thanks for having a look

HA has notified a remote device that the network socket has been closed but the remote device continues to send data. Nothing HA can do about it. It’s the remote device not behaving.

https://github.com/home-assistant/home-assistant/issues/21270#issuecomment-466768806

would there be any hint to find out which device? I have a suspicion for cloud Nabucasa, since there are other loggings related to that integration.

There might be an error for the associated integration right next to this error.

if anything, it might be the one just before it, which had appeared after upgrading to 94.4:

2019-06-29 01:14:17 ERROR (MainThread) [pyhaversion] Timeouterror fetching version information from PyPi
2019-06-29 01:14:17 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 574, in uvloop.loop.SSLProtocol._do_shutdown
  File "/usr/local/lib/python3.7/ssl.py", line 767, in unwrap
    return self._sslobj.shutdown()
ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify (_ssl.c:2609)

which is probably related to:

2019-06-29 01:05:57 ERROR (MainThread) [pyhaversion] Timeouterror fetching version information for hassio

I see at startup?

Got exactly the same error on my system. It doesn’t seem to affect anything as far as I can tell, but would be nice to get it sorted out. Also got a another very similar error

2019-07-03 22:19:56 ERROR (MainThread) [pyhaversion] Timeouterror fetching version information for hassio

Same for me now… After a crash did a full rebuild. Put backup back. HA work great and also now with less CPU usage… Now checking to new version before update and see this error now for first time:

ERROR (MainThread) [pyhaversion] Timeout error fetching version information from Hassio,

Current version: 0.100.2