diff --git a/CHANGELOG.md b/CHANGELOG.md index 42f8f2f..dc1a42a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Fixes** - some trouble on data error and end the socket +- some trouble on restart after data error ### 1.1.23: Maintenance Release diff --git a/ads-connection.js b/ads-connection.js index fca7c2b..665b824 100644 --- a/ads-connection.js +++ b/ads-connection.js @@ -123,8 +123,7 @@ module.exports = function (RED) { if (node.system.connectState == adsHelpers.connectState.CONNECTING) { internalSetConnectState(adsHelpers.connectState.ERROR) } - removeClient() - startTimer(20000) + internalRestart(connect) } } )