When running multiple workflows in succession, workflows randomly shutdown with error "[AMQP] conn error write ECONNRESET" in ThingWorx 8.4 Flow-Exchange
Applies To
- ThingWorx Platform 8.4
Description
- Sometimes when running multiple flows one after another, errors are received and flow stops executing:
2|flow-exc | initializing db settings
2|flow-exc | Configuring SecurityManager
2|flow-exc | Configured SecurityManager
2|flow-exc | settings set
2|flow-exc | initializing bookshelf on mssql database
2|flow-exc | Knex:warning - Connection Error: ConnectionError: Failed to connect to localhost:1433 - Could not connect (sequence)
2|flow-exc | Configuring SecurityManager
2|flow-exc | Configured SecurityManager
2|flow-exc | Configuration Loaded from C:\ThingWorxOrchestration\modules\exchange/config.json
2|flow-exc | Found Configuration: C:\ThingWorxOrchestration\modules\exchange/deploymentConfig.json
2|flow-exc | initializing db settings
2|flow-exc | Configuring SecurityManager
2|flow-exc | Configured SecurityManager
2|flow-exc | settings set
2|flow-exc | initializing bookshelf on mssql database
C:\ThingWorxOrchestration\.pm2\logs\flow-exchange-error-2.log last 15 lines:
2|flow-exc | {"module":"flow-exchange","timestamp":"2019-04-11T19:03:41.288Z","level":"error","message":"{}"}
2|flow-exc | {"module":"flow-exchange","timestamp":"2019-04-11T19:24:52.030Z","level":"error","message":"{}"}
2|flow-exc | {"module":"flow-exchange","timestamp":"2019-04-11T19:29:52.474Z","level":"error","message":"{}"}
2|flow-exc | {"module":"flow-exchange","timestamp":"2019-04-11T19:51:38.013Z","level":"error","message":"{}"}
2|flow-exc | {"module":"flow-exchange","timestamp":"2019-04-11T20:39:59.719Z","level":"error","message":"{}"}
2|flow-exc | {"module":"flow-exchange","timestamp":"2019-04-11T20:45:00.114Z","level":"error","message":"{}"}
2|flow-exc | <day>, DD MMM YYYY hh:mm:ss GMT tedious deprecated The default value for `options.encrypt` will change from `false` to `true`. Please pass `false` explicitly if you want to retain current behaviour. at node_modules\mssql\lib\tedious.js:230:23
2|flow-exc |
2|flow-exc |
2|flow-exc | <day>, DD MMM YYYY hh:mm:ss GMT tedious deprecated The default value for `options.encrypt` will change from `false` to `true`. Please pass `false` explicitly if you want to retain current behaviour. at node_modules\mssql\lib\tedious.js:230:23
2|flow-exc |
2|flow-exc |
2|flow-exc |
2|flow-exc |
2|flow-exc |