Hmm ok logs are telling me something different. After workflow starts up we see repeatedly this
Until the agent was manually restarted. The agent was manually restarted by logging in remotely over VPN connection from modem. So network was up at this point. Normally the timeouts (from modbus) in the workflow show detail errors on specfic nodes. But this is different.
2018-08-09T21:04:57.000Z [ESC[36mverboseESC[39m] Running workflows for trigger:
{
"payload": {"time": "2018-08-09T21:04:57.000Z", "data": {}},
"triggerId": "5b5e907e87f9330007ddff90-lh9fTB72Bg4AsX7tEwKNs",
"triggerType": "timer"
}
2018-08-09T21:04:57.024Z [ESC[36mverboseESC[39m] Completed running workflow(s):
{
"5b5e907e87f9330007ddff90": {
"errors": [
{"nodeId": null, "error": {"name": "FlowTimeoutError", "message": "Timeout running workflow"}}
],
"pathsCompleted": 0,
"wallTime": 60021
}
}
2018-08-09T21:05:00.519Z [ESC[32minfoESC[39m] Attempting to reconnect to mqtts://broker.losant.com...
2018-08-09T21:05:01.005Z [ESC[36mverboseESC[39m] Completed running workflow(s):
{
"5b5e907e87f9330007ddff90": {
"errors": [
{"nodeId": null, "error": {"name": "FlowTimeoutError", "message": "Timeout running workflow"}}
],
"pathsCompleted": 0,
"wallTime": 60002
}
For instance here is a log message with a node level timeout form Modbus
2018-08-09T23:12:27.013Z [ESC[36mverboseESC[39m] Completed running workflow(s):
{
"5b5e907e87f9330007ddff90": {
"errors": [
{"nodeId": null, "error": {"name": "FlowTimeoutError", "message": "Timeout running workflow"}}
],
"pathsCompleted": 0,
"wallTime": 60001
}
}
2018-08-09T23:12:27.232Z [ESC[36mverboseESC[39m] Sending Message
{
"topic": "losant/5b189f960c1c7d0008dbd0a8/state",
"payload": "{\"data\":{\"errors\":[{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Timed out\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"},
{\"type\":\"MODBUS_READ_ERROR\",\"message\":\"Port Not Open\"}],\"flow_lps\":[0],\"flow_total\":
[6],\"coil_stop\":[1],\"coil_cool\":[0],\"dosing_run\":
[0],\"calc_flow_lps\":0,\"calculated_total\":15},\"time\":1533856282000}"
}
2018-08-09T23:12:27.437Z [ESC[36mverboseESC[39m] Sending Message
{
"topic": "losant/5b189f960c1c7d0008dbd0a8/fromAgent/debug",
"payload": [
{
"time": "2018-08-09T23:12:26.436Z",
"flowId": "5b5e907e87f9330007ddff90",
"triggerUiIds": ["dlDR7CZXhr"],
: