You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If token is invalid the following raw error appears in log at WebSocketClient.failHandshake (C:\Projects\IDEXX\CornerstoneCloud\infra\scripts\websocket-port-bridge\node_modules\hyco-websocket\node_modules\websocket\lib\WebSocketClient.js:339:32)
Expected Behavior
Should be able to handle this error in client code.
The issue is in HybridConnectionsWebSocketServer.js module (lines 258-260). Can we just add a line server.emit('error', event); in client.on('connectFailed'... event
Versions
OS platform and version: Microsoft Windows 8.1 Pro
Node Version: v10.9.0
NPM package version or commit ID: 1.0.5
The text was updated successfully, but these errors were encountered:
andrei-rodionov-idexx
changed the title
Add possibility to handle The token has an invalid signature error on creating relayedServer
Add a possibility to handle The token has an invalid signature error on creating relayedServer
Mar 25, 2019
Actual Behavior
If token is invalid the following raw error appears in log
at WebSocketClient.failHandshake (C:\Projects\IDEXX\CornerstoneCloud\infra\scripts\websocket-port-bridge\node_modules\hyco-websocket\node_modules\websocket\lib\WebSocketClient.js:339:32)
Expected Behavior
Should be able to handle this error in client code.
The issue is in
HybridConnectionsWebSocketServer.js
module (lines 258-260). Can we just add a lineserver.emit('error', event);
inclient.on('connectFailed'...
eventVersions
The text was updated successfully, but these errors were encountered: