Doch noch etwas.
Ich erstelle dafür auch mal ein extra Posting, da es mit meinem vorhergehenden Posting an @petergun nicht wirklich etwas zu tun hat.
Bei mir werden diese Fehler im ism7mqtt Protokoll definitiv dadurch verursache wenn es eine Unterbrechung bei der I-Net Verbindung gibt. Das konnte ich in der letzten Nacht erneut feststellen.
Fehlermeldungen im ism7mqtt Protokoll von letzter Nacht.
Oct 16 00:46:20 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.1.2 -t /config/ism7-parameters-Wolf.json
Oct 16 00:47:33 Org.BouncyCastle.Tls.TlsFatalAlert: unexpected_message(10); Not ready for application_data(23)
Oct 16 00:47:33 at Org.BouncyCastle.Tls.RecordStream.CheckRecordType(Byte[] buf, Int32 off)
Oct 16 00:47:33 at Org.BouncyCastle.Tls.RecordStream.ReadFullRecord(Byte[] input, Int32 inputOff, Int32 inputLen)
Oct 16 00:47:33 at Org.BouncyCastle.Tls.TlsProtocol.SafeReadFullRecord(Byte[] input, Int32 inputOff, Int32 inputLen)
Oct 16 00:47:33 at Org.BouncyCastle.Tls.TlsProtocol.OfferInput(Byte[] input, Int32 inputOff, Int32 inputLen)
Oct 16 00:47:33 at ism7ssl.Ism7SslStream.AuthenticateAsClientAsync(CancellationToken cancellationToken) in /app/ism7ssl/Ism7SslStream.cs:line 46
Oct 16 00:47:33 at ism7mqtt.Ism7Client.ConnectAsync(CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 65
Oct 16 00:47:33 at ism7mqtt.Ism7Client.RunAsync(String password, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 50
Oct 16 00:47:33 at ism7mqtt.Program.Main(String[] args) in /app/ism7mqtt/Program.cs:line 148
Oct 16 00:47:33 Unhandled exception. Org.BouncyCastle.Tls.TlsFatalAlert: unexpected_message(10); Not ready for application_data(23)
Oct 16 00:47:33 at Org.BouncyCastle.Tls.RecordStream.CheckRecordType(Byte[] buf, Int32 off)
Oct 16 00:47:33 at Org.BouncyCastle.Tls.RecordStream.ReadFullRecord(Byte[] input, Int32 inputOff, Int32 inputLen)
Oct 16 00:47:33 at Org.BouncyCastle.Tls.TlsProtocol.SafeReadFullRecord(Byte[] input, Int32 inputOff, Int32 inputLen)
Oct 16 00:47:33 at Org.BouncyCastle.Tls.TlsProtocol.OfferInput(Byte[] input, Int32 inputOff, Int32 inputLen)
Oct 16 00:47:33 at ism7ssl.Ism7SslStream.AuthenticateAsClientAsync(CancellationToken cancellationToken) in /app/ism7ssl/Ism7SslStream.cs:line 46
Oct 16 00:47:33 at ism7mqtt.Ism7Client.ConnectAsync(CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 65
Oct 16 00:47:33 at ism7mqtt.Ism7Client.RunAsync(String password, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 50
Oct 16 00:47:33 at ism7mqtt.Program.Main(String[] args) in /app/ism7mqtt/Program.cs:line 148
Oct 16 00:47:33 at ism7mqtt.Program.<Main>(String[] args)
/run.sh: line 26: 2542 Aborted (core dumped) /app/ism7mqtt $ISM_ARGS 2>&1
2543 Done | ts
ism7mqtt unexpectedly quit with return code 134
Oct 16 00:47:43 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.1.2 -t /config/ism7-parameters-Wolf.json
Oct 16 01:02:45 System.Net.Sockets.SocketException (104): Connection reset by peer
Oct 16 01:02:45 at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
Oct 16 01:02:45 at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
Oct 16 01:02:45 at ism7ssl.Ism7SslStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
Oct 16 01:02:45 at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 145
Oct 16 01:02:45 System.Net.Sockets.SocketException (104): Connection reset by peer
Oct 16 01:02:45 at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
Oct 16 01:02:45 at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
Oct 16 01:02:45 at ism7ssl.Ism7SslStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
Oct 16 01:02:45 at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 145
Oct 16 01:02:45 at System.IO.Pipelines.Pipe.GetReadAsyncResult()
Oct 16 01:02:45 at ism7mqtt.Ism7Client.ReadPipeAsync(PipeReader source, CancellationToken cancellationToken)
Oct 16 01:02:55 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.1.2 -t /config/ism7-parameters-Wolf.json
Oct 16 01:02:58 System.IO.InvalidDataException: invalid login state
Oct 16 01:02:58 at ism7mqtt.Ism7Client.OnAuthenticateAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 323
Oct 16 01:02:58 at ism7mqtt.ResponseDispatcher.ResponseHandler.HandleAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/ResponseDispatcher.cs:line 58
Oct 16 01:02:58 at ism7mqtt.ResponseDispatcher.DispatchAsync(IResponse response, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/ResponseDispatcher.cs:line 32
Oct 16 01:02:58 at ism7mqtt.Ism7Client.ReadPipeAsync(PipeReader source, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 191
Oct 16 01:02:58 System.Net.Sockets.SocketException (125): Operation canceled
Oct 16 01:02:58 at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
Oct 16 01:02:58 at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
Oct 16 01:02:58 at ism7ssl.Ism7SslStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) in /app/ism7ssl/Ism7SslStream.cs:line 149
Oct 16 01:02:58 at ism7mqtt.Ism7Client.FillPipeAsync(PipeWriter target, CancellationToken cancellationToken) in /app/ism7mqtt/ISM7/Ism7Client.cs:line 145
Oct 16 01:03:08 Starting ism7mqtt --hass-id=Wolf --interval=60 --ipAddress=192.168.1.2 -t /config/ism7-parameters-Wolf.json
Zeitgleich eine Fehlermeldung im HA Core Protokoll
Logger: snitun.multiplexer.core
Quelle: runner.py:271
Erstmals aufgetreten: 00:46:47 (1 Vorkommnis)
Zuletzt protokolliert: 00:46:47
Timeout error while pinging peer
Auszug aus dem Fritzbox Protokoll bzgl. meiner I-Net Verbindung.
16.10.25 00:46:08 Internetverbindung wurde erfolgreich hergestellt. IP-Adresse: 91.xxx.xxx.xxx, DNS-Server: 212.xxx.xxx.xxx und 195.xxx.xxx.xxx, Gateway: 91.xxx.xxx.xxx
16.10.25 00:44:57 Internetverbindung ist fehlgeschlagen: Fehlergrund: 1 (DHCPv4 lease timed out)
Wie man unschwer erkennen kann gab es um 0.46 Uhr eine Unterbrechung der I-Net Verbindung und die Folge davon waren die Fehlereinträge im ism7mqtt Protokoll und das neuverbinden mit dem ISM7. Über das warum eine eigentlich lokale Verbindung (ism7mqtt —> ISM7) ins “straucheln” kommt wenn die I-Net Verbindung unterbrochen ist kann ich auch nur spekulieren, weil ich halt die Funktionsweise von ism7mqtt nicht genau kenne. Denkbar wäre das die aktivierte Internetfreigabe und Portal-Verbindung bei dem ISM7
dazu führt. Mit Portal dürfte ja wohl die Wolf Cloud gemeint sein. D.h. das ISM7 ist mit dem I-Net und der Wolf Cloud verbunden und wenn die Verbindung weg sein sollte registriert dies eben auch ism7mqtt und es kommt zu den Fehlern.
Man/Ich könnte zwar jetzt noch mehr Tests machen - z.B. HA und/oder dem ISM7 einfach mal kompl. den I-Net Zugriff sperren - aber den Aufwand betreibe ich dann b.a.W. nicht mehr.
Wie bereits erwähnt
kann ich damit leben das sich ism7mqtt immer mal wieder neu mit dem ISM7 verbindet. Vermutlich war das auch schon vor dem Update auf HA Core 2025.10 und der Installation der Fork-Version von dem ism7mqtt Addons der Fall, nur ist mir das halt nie so wirklich aufgefallen. ![]()
VG Jim






