Hi!
i have some problems with the openhab XMPP binding running on my raspberry PI: Everything is running fine as long as the internet connection is stable. When openhab gets disconnected the XMPP binding tries to reconnect and never get's a stable connection again. XMPP clients show the raspberryPI user toggling its online status every few seconds. After some time the XMPP connection gets lost forever.
Has someone the same problems or is there a known workaround?
Here is the logfile when the connection gets permanently lost:
12:48:00.904 DEBUG o.o.a.x.internal.XMPPConnect[:224]- XMPP re-connection succeeded.
12:48:01.154 WARN o.o.a.x.internal.XMPPConsole[:52]- Received chat request from the unknown user '
raspbe...@jabber.ccc.de'.
12:48:01.251 DEBUG o.o.a.x.internal.XMPPConsole[:60]- Received XMPP message: null of type normal
12:48:03.968 WARN o.o.a.x.internal.XMPPConsole[:52]- Received chat request from the unknown user '
raspbe...@jabber.ccc.de'.
12:48:04.098 DEBUG o.o.a.x.internal.XMPPConsole[:60]- Received XMPP message: null of type normal
12:48:05.028 WARN o.o.a.x.internal.XMPPConsole[:52]- Received chat request from the unknown user '
raspbe...@jabber.ccc.de'.
12:48:05.090 DEBUG o.o.a.x.internal.XMPPConsole[:60]- Received XMPP message: null of type normal
12:48:10.675 INFO o.o.a.x.internal.XMPPConnect[:199]- XMPP connection has been closed on error: no more data available - expected end tag </stream:stream> to close start tag <stream:stream> from line 1, parser stopped on END_TAG seen ...</stream:features>... @1:504
12:48:24.144 WARN o.o.a.x.internal.XMPPConsole[:52]- Received chat request from the unknown user '
raspbe...@jabber.ccc.de'.
12:48:24.325 DEBUG o.o.a.x.internal.XMPPConsole[:60]- Received XMPP message: null of type normal
12:48:27.312 WARN o.o.a.x.internal.XMPPConsole[:52]- Received chat request from the unknown user '
raspbe...@jabber.ccc.de'.
12:48:34.271 DEBUG o.o.a.x.internal.XMPPConsole[:60]- Received XMPP message: null of type normal
12:48:43.773 WARN o.o.a.x.internal.XMPPConsole[:52]- Received chat request from the unknown user '
raspbe...@jabber.ccc.de'.
12:49:36.819 ERROR o.o.a.x.internal.XMPPConnect[:121]- Could not establish connection to XMPP server '
jabber.ccc.de:5222': No response from the server.
12:49:44.771 DEBUG o.o.a.x.internal.XMPPConnect[:226]- XMPP re-connection failed, giving up.
14:24:24.258 DEBUG o.o.a.x.internal.XMPPConnect[:215]- XMPP re-connection failed.
org.jivesoftware.smack.XMPPException: Connection failed. No response from server.
at org.jivesoftware.smack.PacketReader.startup(PacketReader.java:119)
at org.jivesoftware.smack.XMPPConnection.initConnection(XMPPConnection.java:644)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:604)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1022)
at org.jivesoftware.smack.ReconnectionManager$2.run(ReconnectionManager.java:145)
14:27:00.255 DEBUG o.o.a.x.internal.XMPPConnect[:215]- XMPP re-connection failed.
org.jivesoftware.smack.XMPPException: Connection failed. No response from server.
at org.jivesoftware.smack.PacketReader.startup(PacketReader.java:119)
at org.jivesoftware.smack.XMPPConnection.initConnection(XMPPConnection.java:644)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:604)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1022)
at org.jivesoftware.smack.ReconnectionManager$2.run(ReconnectionManager.java:145)
20:18:38.903 INFO o.o.a.x.internal.XMPPConnect[:199]- XMPP connection has been closed on error: stream:error (text)
20:21:13.186 INFO o.o.a.x.internal.XMPPConnect[:199]- XMPP connection has been closed on error: Connection has been shutdown: javax.net.ssl.SSLException: Received fatal alert: protocol_version
20:30:56.080 INFO o.o.a.x.internal.XMPPConnect[:199]- XMPP connection has been closed on error: stream:error (text)
20:31:08.777 INFO o.o.a.x.internal.XMPPConnect[:199]- XMPP connection has been closed on error: Received fatal alert: protocol_version
20:31:17.856 INFO o.o.a.x.internal.XMPPConnect[:199]- XMPP connection has been closed on error: Remote host closed connection during handshake
20:45:07.797 INFO o.o.a.x.internal.XMPPConnect[:199]- XMPP connection has been closed on error: Received fatal alert: protocol_version
20:46:07.971 INFO o.o.a.x.internal.XMPPConnect[:199]- XMPP connection has been closed on error: Remote host closed connection during handshake
Greetings,
Blip