Bridge stops after a week?

It is very strange the bridge service of FlowerPower-Tools work well but after a week I don’t know why it stops to try upload anything… is it normal ?
Even if I force a kill/restart with a crontab every hours it is blocked.
But when I manually stop and restart it is fine for a new week ;(

Hi,

Pease, when the bridge stop $ cat ./trace.log to see what happened.
Sometimes the bridge crash, it’s maybe because of the dongle BLE lost the connection with a flower power. I can’t resolve that :confused:

thanks for your reply,
Not sure that it was for now the last log but I see:
"noble warning: unknown handle 64 disconnected!"
Yes, I have perhaps something wrong I the crontab bridge reload because manually it well restart…
Else perhaps it is also my second FP which I have to reboot in the same time (perhaps a hardware pb)…

I try with the new bridge version, I will said if the problem occurs (for now it looks fine)

Hi @B88

Thanks a lot, I work in another project in same time (and I took holidays :snowboarder:).
Don’t hesitate to report bugs like you do, with the maximum information about your environment (Version linux, node, npm, node-flower-bridge [cat package.json] …)

Hi Bruno,
I confirm the bug about the service which really stops after 6days (it depends)…
I can see that it is probably a dongle connexion which fails, but the background process is stopped which is a pb… Perhaps I can apply a script to detect such a fail but it should be not very convenient…

Here are some logs:
in trace.log:
/home/pi/node-flower-bridge/lib/TaskFP.js:148
throw (self.FP.uuid + ‘: Connection failed’);
^
a0143d7da500: Connection failed


pi@raspberrypi:~/node-flower-bridge $ sudo ./updatedb all 20

  • REQUEST for (limit: 20):
    20 last process

[Tue Feb 16 2016 14:13:47 GMT+0100 (CET)]: undefined: Updated
[Tue Feb 16 2016 13:59:16 GMT+0100 (CET)]: undefined: Not found
[Tue Feb 16 2016 13:58:46 GMT+0100 (CET)]: undefined: Updated
[Tue Feb 16 2016 13:44:13 GMT+0100 (CET)]: undefined: Updated
[Tue Feb 16 2016 13:43:56 GMT+0100 (CET)]: undefined: Updated
[Tue Feb 16 2016 13:30:26 GMT+0100 (CET)]: undefined: Not found
[Tue Feb 16 2016 13:29:54 GMT+0100 (CET)]: undefined: Not found
[Tue Feb 16 2016 13:29:22 GMT+0100 (CET)]: undefined: Not found