You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not sure at what point this started happening but after restarting ORM, letting it sit idle, this appears in the logs
Mar 24 16:19:31 rowingmonitor systemd[1]: openrowingmonitor.service: Succeeded.
Mar 24 16:19:31 rowingmonitor systemd[1]: Stopped Open Rowing Monitor.
Mar 24 16:19:31 rowingmonitor systemd[1]: openrowingmonitor.service: Consumed 13.371s CPU time.
Mar 24 16:19:31 rowingmonitor systemd[1]: Started Open Rowing Monitor.
Mar 24 16:19:33 rowingmonitor npm[3068]: > [email protected] start /opt/openrowingmonitor
Mar 24 16:19:33 rowingmonitor npm[3068]: > node app/server.js
Mar 24 16:19:35 rowingmonitor npm[3081]: ==== Open Rowing Monitor 0.8.2 ====
Mar 24 16:19:35 rowingmonitor npm[3081]: bluetooth profile: Concept2 PM5
Mar 24 16:19:35 rowingmonitor npm[3081]: Starting a just row session, no time or distance target set
Mar 24 16:19:35 rowingmonitor npm[3081]: heart rate profile: BLE
Mar 24 16:19:35 rowingmonitor npm[3081]: ant plus profile: Off
Mar 24 16:19:35 rowingmonitor npm[3081]: webserver running on port 80
Mar 24 16:19:36 rowingmonitor npm[3096]: Gpio-service: pin number 17, polling interval 5 us, triggered on Up flank, minimal pulse time 50 us
Mar 24 16:19:36 rowingmonitor npm[3081]: websocket client connected
Mar 24 16:19:48 rowingmonitor npm[3081]: websocket client disconnected
Mar 24 16:19:48 rowingmonitor npm[3081]: websocket client connected
Mar 24 16:20:12 rowingmonitor npm[3102]: heart rate peripheral connected, name: 'HRM-Dual:412323', id: e919db9a3d92
Mar 24 16:28:57 rowingmonitor npm[3102]: heart rate peripheral disconnected, searching new one
Mar 24 16:29:09 rowingmonitor npm[3102]: Error: Unknown Connection Identifier (0x2)
Mar 24 16:29:09 rowingmonitor npm[3102]: at NobleBindings.onLeConnComplete (/opt/openrowingmonitor/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:240:13)
Mar 24 16:29:09 rowingmonitor npm[3102]: at Hci.emit (node:events:513:28)
Mar 24 16:29:09 rowingmonitor npm[3102]: at Hci.processLeConnComplete (/opt/openrowingmonitor/node_modules/@abandonware/noble/lib/hci-socket/hci.js:795:8)
Mar 24 16:29:09 rowingmonitor npm[3102]: at Hci.processLeMetaEvent (/opt/openrowingmonitor/node_modules/@abandonware/noble/lib/hci-socket/hci.js:766:10)
Mar 24 16:29:09 rowingmonitor npm[3102]: at Hci.onSocketData (/opt/openrowingmonitor/node_modules/@abandonware/noble/lib/hci-socket/hci.js:596:12)
Mar 24 16:29:09 rowingmonitor npm[3102]: at BluetoothHciSocket.emit (node:events:513:28)
The text was updated successfully, but these errors were encountered:
I think this is a timeout issue when the BLE wants to reconnect but cannot (e.g. because the sensor is already turned off). The error is thrown in upstream code. Probably need to catch the error in order to prevent crash of the node service.
Abasz
pushed a commit
to Abasz/openrowingmonitor
that referenced
this issue
Mar 25, 2023
In case of an uncaught exception in the BLE HR child process the process
would crash and not restart. Add code to catch these uncaught exceptions
to prevent such crash and enable code to continue.
not sure at what point this started happening but after restarting ORM, letting it sit idle, this appears in the logs
The text was updated successfully, but these errors were encountered: