0.11.2 Update Socket error

So I just ran MATRIX and got this update web socket error.

pi@1pi:~/matrix-os|master⇒ NODE_ENV=rc node index.js
Environment Selected: rc
Loading Core Matrix Files
Loading… device
Loading… event
Loading… service
Not using device data from db, using MATRIX_DEVICE_ID and MATRIX_DEVICE_SECRET instead!
Starting as device: d07e4cd73bbb
Dependencies up to date.
MATRIX OS Upgrade Ready. 0.11.2 now available.
Upgrading MATRIX OS…
Modules updated…
[]
Main Code updated…
Upgrade Complete: Restart MATRIX OS…
socket error { Error: websocket error
at WS.Transport.onError (/home/pi/matrix-os/node_modules/engine.io-client/lib/transport.js:64:13)
at WebSocket.ws.onerror (/home/pi/matrix-os/node_modules/engine.io-client/lib/transports/websocket.js:149:10)
at WebSocket.onError (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:452:14)
at emitOne (events.js:96:13)
at WebSocket.emit (events.js:188:7)
at ClientRequest.onerror (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:711:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketOnEnd (_http_client.js:344:9)
at emitNone (events.js:91:20)
type: ‘TransportError’,
description:
{ Error: socket hang up
at createHangUpError (_http_client.js:252:15)
at TLSSocket.socketOnEnd (_http_client.js:344:23)
at emitNone (events.js:91:20)
at TLSSocket.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
code: ‘ECONNRESET’,
type: ‘error’,
target:
WebSocket {
domain: null,
_events: [Object],
_eventsCount: 4,
_maxListeners: undefined,
_socket: null,
_ultron: null,
_closeReceived: false,
bytesReceived: 0,
readyState: 0,
supports: [Object],
extensions: {},
_binaryType: ‘nodebuffer’,
_isServer: false,
url: 'wss://stage-mxss.admobilize.com/engine.io/?deviceToken=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbXMiOnsiZGV2aWNlVG9rZW4iOnRydWUsImRldmljZSI6eyJpZCI6ImQwN2U0Y2Q3M2JiYiIsImtleSI6Im51bGwifX0sInVpZCI6IjU4YzliOTk2YWYyYTljMzMwMGJjNDNlMSIsImlhdCI6MTQ5MTE1NDI4NiwiZXhwIjoxNDkxMTU3ODg2LCJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImlzcyI6InRva2VuYXV0aEBhZG1vYmlsaXplLXByb2R1Y3Rpb24uaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJzdWIiOiJ0b2tlbmF1dGhAYWRtb2JpbGl6ZS1wcm9kdWN0aW9uLmlhbS5nc2VydmljZWFjY291bnQuY29tIn0.o-9TtDsVLLS5AkL-DwskBHOkqqxnA0u6PiahqR2vfPrYd6lvd5BQxmLSdxAihfqgxCLV_G0zK1KmaEfeSEbYIZlXmzPMoq1xL9YXowxU9-_7zhEUqLwpUGAJ8T63j2konbWV5pu6xMbMwZ1p5i_Z3aQGwv0Ic7kCln6quZFI8rMxy0i39aVkIBn6oDFMArJggTssG185G6Ke8HG2wvfRKvaIJ7_X-FJDPPMO9WwMnP00Y6KTru5T9LhMh35QDztY0_NHA1adXgywu0dDhmzphzGmdkG9XIe_Od15f4chdhPiRAeknwfL33aXnaP-bdDGJn8oiIGvJK0j8JmIgTMDzA&deviceId=d07e4cd73bbb&EIO=3&transport=websocket’,
protocolVersion: 13 } } } Error: websocket error
at WS.Transport.onError (/home/pi/matrix-os/node_modules/engine.io-client/lib/transport.js:64:13)
at WebSocket.ws.onerror (/home/pi/matrix-os/node_modules/engine.io-client/lib/transports/websocket.js:149:10)
at WebSocket.onError (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:452:14)
at emitOne (events.js:96:13)
at WebSocket.emit (events.js:188:7)
at ClientRequest.onerror (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:711:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketOnEnd (_http_client.js:344:9)
at emitNone (events.js:91:20)
socket error { Error: websocket error
at WS.Transport.onError (/home/pi/matrix-os/node_modules/engine.io-client/lib/transport.js:64:13)
at WebSocket.ws.onerror (/home/pi/matrix-os/node_modules/engine.io-client/lib/transports/websocket.js:149:10)
at WebSocket.onError (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:452:14)
at emitOne (events.js:96:13)
at WebSocket.emit (events.js:188:7)
at ClientRequest.onerror (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:711:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketOnEnd (_http_client.js:344:9)
at emitNone (events.js:91:20)
type: ‘TransportError’,
description:
{ Error: socket hang up
at createHangUpError (_http_client.js:252:15)
at TLSSocket.socketOnEnd (_http_client.js:344:23)
at emitNone (events.js:91:20)
at TLSSocket.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
code: ‘ECONNRESET’,
type: ‘error’,
target:
WebSocket {
domain: null,
_events: [Object],
_eventsCount: 4,
_maxListeners: undefined,
_socket: null,
_ultron: null,
_closeReceived: false,
bytesReceived: 0,
readyState: 0,
supports: [Object],
extensions: {},
_binaryType: ‘nodebuffer’,
_isServer: false,
url: 'wss://stage-mxss.admobilize.com/engine.io/?deviceToken=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbXMiOnsiZGV2aWNlVG9rZW4iOnRydWUsImRldmljZSI6eyJpZCI6ImQwN2U0Y2Q3M2JiYiIsImtleSI6Im51bGwifX0sInVpZCI6IjU4YzliOTk2YWYyYTljMzMwMGJjNDNlMSIsImlhdCI6MTQ5MTE1NDI4NiwiZXhwIjoxNDkxMTU3ODg2LCJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImlzcyI6InRva2VuYXV0aEBhZG1vYmlsaXplLXByb2R1Y3Rpb24uaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJzdWIiOiJ0b2tlbmF1dGhAYWRtb2JpbGl6ZS1wcm9kdWN0aW9uLmlhbS5nc2VydmljZWFjY291bnQuY29tIn0.o-9TtDsVLLS5AkL-DwskBHOkqqxnA0u6PiahqR2vfPrYd6lvd5BQxmLSdxAihfqgxCLV_G0zK1KmaEfeSEbYIZlXmzPMoq1xL9YXowxU9-_7zhEUqLwpUGAJ8T63j2konbWV5pu6xMbMwZ1p5i_Z3aQGwv0Ic7kCln6quZFI8rMxy0i39aVkIBn6oDFMArJggTssG185G6Ke8HG2wvfRKvaIJ7_X-FJDPPMO9WwMnP00Y6KTru5T9LhMh35QDztY0_NHA1adXgywu0dDhmzphzGmdkG9XIe_Od15f4chdhPiRAeknwfL33aXnaP-bdDGJn8oiIGvJK0j8JmIgTMDzA&deviceId=d07e4cd73bbb&EIO=3&transport=websocket’,
protocolVersion: 13 } } } Error: websocket error
at WS.Transport.onError (/home/pi/matrix-os/node_modules/engine.io-client/lib/transport.js:64:13)
at WebSocket.ws.onerror (/home/pi/matrix-os/node_modules/engine.io-client/lib/transports/websocket.js:149:10)
at WebSocket.onError (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:452:14)
at emitOne (events.js:96:13)
at WebSocket.emit (events.js:188:7)
at ClientRequest.onerror (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:711:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketOnEnd (_http_client.js:344:9)
at emitNone (events.js:91:20)
[]
^CMatrix – CTRL+C kill detected

Now when I try and run again it drops a network module error every time. I have tried rebooting to no avail.

pi@1pi:~/matrix-os|master⇒ NODE_ENV=rc node index.js
Environment Selected: rc
Loading Core Matrix Files
Loading… device
module.js:457
throw err;
^

Error: Cannot find module 'network’
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/matrix-os/lib/device/network.js:7:15)
at Module._compile (module.js:556:32)
at Object.Module._extensions…js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)

I did npm install network and still ended up with a web socket issue. Tried to run it about 10 times and the same error shows up.

pi@1pi:~/matrix-os|master⇒ NODE_ENV=rc node index.js
Environment Selected: rc
Loading Core Matrix Files
Loading… device
Loading… event
Loading… service
Not using device data from db, using MATRIX_DEVICE_ID and MATRIX_DEVICE_SECRET instead!
Starting as device: d07e4cd73bbb
Dependencies up to date.
socket error { Error: websocket error
at WS.Transport.onError (/home/pi/matrix-os/node_modules/engine.io-client/lib/transport.js:64:13)
at WebSocket.ws.onerror (/home/pi/matrix-os/node_modules/engine.io-client/lib/transports/websocket.js:149:10)
at WebSocket.onError (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:452:14)
at emitOne (events.js:96:13)
at WebSocket.emit (events.js:188:7)
at ClientRequest.onerror (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:711:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketOnEnd (_http_client.js:344:9)
at emitNone (events.js:91:20)
type: ‘TransportError’,
description:
{ Error: socket hang up
at createHangUpError (_http_client.js:252:15)
at TLSSocket.socketOnEnd (_http_client.js:344:23)
at emitNone (events.js:91:20)
at TLSSocket.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
code: ‘ECONNRESET’,
type: ‘error’,
target:
WebSocket {
domain: null,
_events: [Object],
_eventsCount: 4,
_maxListeners: undefined,
_socket: null,
_ultron: null,
_closeReceived: false,
bytesReceived: 0,
readyState: 0,
supports: [Object],
extensions: {},
_binaryType: ‘nodebuffer’,
_isServer: false,
url: 'wss://mxss.admobilize.com/engine.io/?deviceToken=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbXMiOnsiZGV2aWNlVG9rZW4iOnRydWUsImRldmljZSI6eyJpZCI6ImQwN2U0Y2Q3M2JiYiIsImtleSI6Im51bGwifX0sInVpZCI6IjU4YzliOTk2YWYyYTljMzMwMGJjNDNlMSIsImlhdCI6MTQ5MTE1NzY5MiwiZXhwIjoxNDkxMTYxMjkyLCJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImlzcyI6InRva2VuYXV0aEBhZG1vYmlsaXplLXByb2R1Y3Rpb24uaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJzdWIiOiJ0b2tlbmF1dGhAYWRtb2JpbGl6ZS1wcm9kdWN0aW9uLmlhbS5nc2VydmljZWFjY291bnQuY29tIn0.IambzmwWG6XWcQlqLH9m0sPBer0eZjI6vP8Oo9K_9BFM4e9LQb5GAAh9YgoX17FTEbsWB1aqePGrRrFfUy6LGAjbt4EhrzZUIMvInOw0ebNrR6_pQthNppVv7xAroB56vApMZ65YzxazYy1WZSg2qra7GSu4h5VqoHMGUypyasE-4QWtf_RZ1NpHGGKbKd-BMqIZxYqEJoV7jcVcDYOfiB2SGY9353cse7Gchxiw9l7jxtt9h5Rcnoew1B0b5pdTIM_Xg5cbnGuz3BwzTCC95dFmSzodqro6o-ZqBt5Z_pJjRq7tujalyBrbb3o67bKReiltzyVU33AiU8L7OdORGQ&deviceId=d07e4cd73bbb&EIO=3&transport=websocket’,
protocolVersion: 13 } } } Error: websocket error
at WS.Transport.onError (/home/pi/matrix-os/node_modules/engine.io-client/lib/transport.js:64:13)
at WebSocket.ws.onerror (/home/pi/matrix-os/node_modules/engine.io-client/lib/transports/websocket.js:149:10)
at WebSocket.onError (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:452:14)
at emitOne (events.js:96:13)
at WebSocket.emit (events.js:188:7)
at ClientRequest.onerror (/home/pi/matrix-os/node_modules/ws/lib/WebSocket.js:711:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketOnEnd (_http_client.js:344:9)
at emitNone (events.js:91:20)
^CMatrix – CTRL+C kill detected`

I still have the same issue, tried doing a new install and it hasn’t changed anything.