Nymea app reconnecting very often

Hi,
nymea app is constanlty reconnecting every some seconds since the last or previous software update. I had no issues before.

nymea app log:
******** App start ********
/home/master/.cache/nymea/nymea-app/logs//nymea-app.log
C: NymeaConnection: Current transport failed: QAbstractSocket::RemoteHostClosedError
I: NymeaConnection: Disconnected.
I: NymeaConnection: Trying to reconnect after disconnect…
I: NymeaConnection: Connecting to: QUrl(“nymeas://192.168.0.123:2222”) TcpSocketTransport(0x56098e1864e0) Connection(0x56098e24a7e0)
I: NymeaConnection: Connecting to: QUrl(“cloud://a18d71aa-7adf-4e7a-bacc-88537edac3a1”) CloudTransport(0x56098ecc6a80) Connection(0x56098ded2ee0)
I: Cloud: Posting to MQTT: “https://a2d0ba9572wepp-ats.iot.eu-west-1.amazonaws.com/topics/a18d71aa-7adf-4e7a-bacc-88537edac3a1%2Feu-west-1%3A7579c8df-dccb-4d0c-916f-297f616727ea%2Fproxy?qos=1
I: NymeaConnection: Current transport: QObject(0x0) Remaining connections: 1 Current host: NymeaHost(0x56098e5fdc90)
W: NymeaConnection: A transport error happened for QUrl(“nymeas://192.168.0.123:2222”) QAbstractSocket::ConnectionRefusedError (Still trying on 1 connections)
I: NymeaConnection: There’s a host but no connection. Trying to connect now…
I: NymeaConnection: Connecting to: QUrl(“nymeas://192.168.0.123:2222”) TcpSocketTransport(0x56098f5c6290) Connection(0x56098e24a7e0)
I: NymeaConnection: Already have a connection (or connection attempt) for QUrl(“cloud://a18d71aa-7adf-4e7a-bacc-88537edac3a1”)
I: NymeaConnection: Current transport: QObject(0x0) Remaining connections: 1 Current host: NymeaHost(0x56098e5fdc90)
I: NymeaConnection: Current transport: QObject(0x0) Remaining connections: 1 Current host: NymeaHost(0x56098e5fdc90)
I: NymeaConnection: Ignoring host mismatch on certificate.
I: NymeaConnection: Ignoring self signed certificate.
I: NymeaConnection: Connected to “nymea” via QUrl(“nymeas://192.168.0.123:2222”) true
I: JsonRpc: JsonRpcClient: Transport connected. Starting handshake.
I: JsonRpc: Handshake reply: Protocol version: “5.5” InitRequired: false AuthRequired: true PushButtonAvailable: false
I: JsonRpc: This connections certificate is trusted.
I: JsonRpc: Authenticated to nymea instance.
W: qml: InterfaceTile, inlineButtonControl image: Unhandled interface powersocket
W: qml: InterfaceTile inlineButtonControl image: Unhandled interface powersocket
W: qml: InterfaceTile, inlineControl: Unhandled interface notifications
W: qml: InterfaceTile, inlineControl: Unhandled interface button
W: qml: InterfaceTile, inlineControl: Unhandled interface outputtrigger
W: qml: InterfaceTile, inlineControl: Unhandled interface gateway
W: qml: InterfaceTile, inlineControl: Unhandled interface account
C: NymeaConnection: Current transport failed: QAbstractSocket::RemoteHostClosedError
I: NymeaConnection: Disconnected.
I: NymeaConnection: Trying to reconnect after disconnect…
I: NymeaConnection: Connecting to: QUrl(“nymeas://192.168.0.123:2222”) TcpSocketTransport(0x56099014fac0) Connection(0x56098e24a7e0)
I: NymeaConnection: Connecting to: QUrl(“cloud://a18d71aa-7adf-4e7a-bacc-88537edac3a1”) CloudTransport(0x56098f9c4e20) Connection(0x56098ded2ee0)
I: Cloud: Posting to MQTT: “https://a2d0ba9572wepp-ats.iot.eu-west-1.amazonaws.com/topics/a18d71aa-7adf-4e7a-bacc-88537edac3a1%2Feu-west-1%3A7579c8df-dccb-4d0c-916f-297f616727ea%2Fproxy?qos=1
I: NymeaConnection: Current transport: QObject(0x0) Remaining connections: 1 Current host: NymeaHost(0x56098e5fdc90)
W: NymeaConnection: A transport error happened for QUrl(“nymeas://192.168.0.123:2222”) QAbstractSocket::ConnectionRefusedError (Still trying on 1 connections)
I: NymeaConnection: There’s a host but no connection. Trying to connect now…
I: NymeaConnection: Connecting to: QUrl(“nymeas://192.168.0.123:2222”) TcpSocketTransport(0x56098fa41900) Connection(0x56098e24a7e0)
I: NymeaConnection: Already have a connection (or connection attempt) for QUrl(“cloud://a18d71aa-7adf-4e7a-bacc-88537edac3a1”)
I: NymeaConnection: Current transport: QObject(0x0) Remaining connections: 1 Current host: NymeaHost(0x56098e5fdc90)
I: NymeaConnection: Current transport: QObject(0x0) Remaining connections: 1 Current host: NymeaHost(0x56098e5fdc90)
I: NymeaConnection: There’s a host but no connection. Trying to connect now…
I: NymeaConnection: Already have a connection (or connection attempt) for QUrl(“nymeas://192.168.0.123:2222”)
I: NymeaConnection: Connecting to: QUrl(“cloud://a18d71aa-7adf-4e7a-bacc-88537edac3a1”) CloudTransport(0x56098fa2f530) Connection(0x56098ded2ee0)
I: Cloud: Posting to MQTT: “https://a2d0ba9572wepp-ats.iot.eu-west-1.amazonaws.com/topics/a18d71aa-7adf-4e7a-bacc-88537edac3a1%2Feu-west-1%3A7579c8df-dccb-4d0c-916f-297f616727ea%2Fproxy?qos=1
I: NymeaConnection: Ignoring host mismatch on certificate.
I: NymeaConnection: Ignoring self signed certificate.
I: NymeaConnection: Connected to “nymea” via QUrl(“nymeas://192.168.0.123:2222”) true
I: JsonRpc: JsonRpcClient: Transport connected. Starting handshake.
I: JsonRpc: Handshake reply: Protocol version: “5.5” InitRequired: false AuthRequired: true PushButtonAvailable: false
I: JsonRpc: This connections certificate is trusted.
I: JsonRpc: Authenticated to nymea instance.
W: qml: InterfaceTile, inlineButtonControl image: Unhandled interface powersocket
W: qml: InterfaceTile inlineButtonControl image: Unhandled interface powersocket
W: qml: InterfaceTile, inlineControl: Unhandled interface notifications
W: qml: InterfaceTile, inlineControl: Unhandled interface button
W: qml: InterfaceTile, inlineControl: Unhandled interface outputtrigger
W: qml: InterfaceTile, inlineControl: Unhandled interface gateway
W: qml: InterfaceTile, inlineControl: Unhandled interface account
I: NymeaConnection: Current transport: TcpSocketTransport(0x56098fa41900) Remaining connections: 1 Current host: NymeaHost(0x56098e5fdc90)
I: NymeaConnection: Current transport: TcpSocketTransport(0x56098fa41900) Remaining connections: 1 Current host: NymeaHost(0x56098e5fdc90)

This looks like nymea would be crashing… Mind checking nymead logs?

Are you still on experimental or did you move back to stable?

yeah, doesn’t look so good (on stable, maybe a mix of an experimental update before?):

Jun 9 12:43:50 localhost nymead[10205]: /usr/bin/nymead: symbol lookup error: /usr/lib/arm-linux-gnueabihf/nymea/plugins/libnymea_integrationpluginzigbeegeneric.so: undefined symbol: _ZN13ZigbeeCluster14readAttributesE5QListItEt
Jun 9 12:43:50 localhost systemd[1]: nymead.service: Main process exited, code=exited, status=127/n/a
Jun 9 12:43:50 localhost systemd[1]: nymead.service: Failed with result ‘exit-code’.
Jun 9 12:43:50 localhost nymea-networkmanager[31937]: I | NymeaService: Service unregistered “io.guh.nymead”
Jun 9 12:43:50 localhost nymea-networkmanager[31937]: #033[33m W | NymeaService: Service is not available any more.#033[0m
Jun 9 12:43:50 localhost systemd[1]: nymead.service: Service RestartSec=100ms expired, scheduling restart.
Jun 9 12:43:50 localhost systemd[1]: nymead.service: Scheduled restart job, restart counter is at 88.
Jun 9 12:43:50 localhost systemd[1]: Stopped nymead - IoT server.
Jun 9 12:43:50 localhost systemd[1]: Started nymead - IoT server.

Yes indeed… There’s a mismatch between experiemental and stable on your system.

If you want to go to stable from here, best you do it like this:

sudo apt-get remove libnymea*
sudo apt-get install nymea (+whatever plugins you want)

That will remove pretty much everything with nymea and install it again (edit: it will keep your configuration). You can also just fix the nymea-plugin-zigbeegeneric which is the faulty one in your case, but you might hit more once you’re in such a situation.

Thanks, that did it.
Now i will stick to stable for some time.

As i am now on the stable again without any experimental in it the shelly plugin is missing the newest additions like 1L and Motion.

When will 0.28 be available with these new devices?

I guess we’re half way through until the 0.28. There isn’t a specific date set yet.

Mist.
When I update everything to experimental again. Will it work?

Yes, I mean, there might be the usual hiccups - after all it’s experimental for that purpose - , but we’re not restructuring anything major currently.

OK is testing better and is the new Shelly profiles in there?

Testing is currently the same as stable. We’ll start composing a release candidate soon. Maybe this week or next one I suppose. No guarantee though.