Joe Casullo Posted August 23, 2023 Share Posted August 23, 2023 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 bpwwer Posted August 23, 2023 Solution Share Posted August 23, 2023 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
Joe Casullo Posted August 23, 2023 Author Share Posted August 23, 2023 Okay thanks Bob. Joe Link to comment
Recommended Posts