Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Parsing Errors causes node server offline

Featured Replies

Posted

I monitor the online status of this node server with a program and the node server briefly goes offline a few times a day.  Here are a couple of errors I say in the log that coincides with the offline.

2023-08-22 16:51:20,218 Thread-1613 udi_interface      ERROR    station:Query: Parsing failed: string indices must be integers
2023-08-22 16:51:20,218 Thread-1613 udi_interface      INFO     station:setState: ecfabc15d6 status set to 0
2023-08-22 16:51:20,218 Thread-1613 udi_interface      INFO     station:setState: 8caab5c78f status set to 0
2023-08-22 16:51:20,340 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 8caab5c78f :: ST to 0 UOM 2
2023-08-22 16:51:35,473 MQTT       udi_interface.interface INFO     interface:_message: Successfully set ecfabc15d6 :: ST to 0 UOM 2

2023-08-22 16:29:19,882 Thread-1588 udi_interface      ERROR    station:Query: Parsing failed: string indices must be integers
2023-08-22 16:29:19,882 Thread-1588 udi_interface      INFO     station:setState: ecfabc15d6 status set to 0
2023-08-22 16:29:19,882 Thread-1588 udi_interface      INFO     station:setState: 8caab5c78f status set to 0
2023-08-22 16:29:20,005 MQTT       udi_interface.interface INFO     interface:_message: Successfully set 8caab5c78f :: ST to 0 UOM 2
2023-08-22 16:29:35,025 MQTT       udi_interface.interface INFO     interface:_message: Successfully set ecfabc15d6 :: ST to 0 UOM 2

Any idea what's causing these parsing errors?

Thank you in advance. 

Solved by bpwwer

Go to solution
  • Solution

when the node server queries the Ambient server for data, what it gets back is not valid data.  The node server then marks the station as offline until a query responses with valid data.

  • Author

Okay thanks Bob.

Joe

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.