4Catalyzer / tunnel-server

Manages tunneled connections to multiple private networks using websockets
MIT License
3 stars 0 forks source link

TypeError: Cannot read property 'unregister' of undefined #37

Closed cancan101 closed 8 years ago

cancan101 commented 8 years ago
unregistering network XXXX
/usr/src/app/node_modules/tunnel-server/bin/server/lib/network-registry.js:32
  networkRegistry[networkId].unregister();
                            ^
TypeError: Cannot read property 'unregister' of undefined
    at unregisterNetwork (/usr/src/app/node_modules/tunnel-server/bin/server/lib/network-registry.js:32:29)
    at /usr/src/app/node_modules/tunnel-server/bin/server/lib/network-registry.js:53:12
    at onTimeoutExpired (/usr/src/app/node_modules/tunnel-server/node_modules/websocket-monkeypatch/lib/index.js:86:5)
    at WebSocket.<anonymous> (/usr/src/app/node_modules/tunnel-server/node_modules/websocket-monkeypatch/lib/index.js:102:12)
    at emitTwo (events.js:92:20)
    at WebSocket.emit (events.js:172:7)
    at WebSocket.cleanupWebsocketResources (/usr/src/app/node_modules/tunnel-server/node_modules/ws/lib/WebSocket.js:927:10)
    at emitNone (events.js:72:20)
    at Socket.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:905:12)
itajaja commented 8 years ago

that's probably some weird race condition. I'll fix that