Jump to content

Parsing Errors causes node server offline


Go to solution Solved by bpwwer,

Recommended Posts

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. 

Link to comment
  • 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.

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...