remote-pay-cloud-nodejs-example example throwing
error An unexpected websocket error has occurred.
Trace
at Logger.toConsole (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\remote\client\util\Logger.js:46:29)
at Logger.emit (events.js:376:20)
at CloverWebSocketClient.onUnexpectedError (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\remote\client\transport\websocket\CloverWebSocketClient.js:88:21)
at C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\websocket\CloverWebSocketInterface.js:78:30
at Array.forEach (<anonymous>)
at CloverWebSocketInterface.notifyOnError (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\websocket\CloverWebSocketInterface.js:70:24)
at WebSocket.<anonymous> (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\websocket\CloverWebSocketInterface.js:35:86)
at WebSocket.onError (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\ws\lib\event-target.js:128:16)
at WebSocket.emit (events.js:376:20)
at abortHandshake (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\ws\lib\websocket.js:718:15)
> Device Disconnected!
error An unexpected websocket error has occurred.
Trace
at Logger.toConsole (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\remote\client\util\Logger.js:46:29)
at Logger.emit (events.js:376:20)
at CloverWebSocketClient.onUnexpectedError (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\remote\client\transport\websocket\CloverWebSocketClient.js:88:21)
at C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\websocket\CloverWebSocketInterface.js:78:30
at Array.forEach (<anonymous>)
at CloverWebSocketInterface.notifyOnError (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\websocket\CloverWebSocketInterface.js:70:24)
at WebSocket.<anonymous> (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\remote-pay-cloud\dist\com\clover\websocket\CloverWebSocketInterface.js:35:86)
at WebSocket.onError (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\ws\lib\event-target.js:128:16)
at WebSocket.emit (events.js:376:20)
at abortHandshake (C:\LocalRep\RemoteCloudpay\remote-pay-cloud-nodejs-example\node_modules\ws\lib\websocket.js:718:15)
> Device Disconnected!
How to solve?