MeshCentral: crashing after upgrade from 0.7.93 to 0.8.5
Ubuntu 20.04.2 Node v14.16.0
tactical@tacrmm:/meshcentral$ node node_modules/meshcentral
(node:759388) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
ERR: (node:759410) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
MeshCentral HTTP redirection server running on port 1024.
MeshCentral v0.8.5, WAN mode.
Loaded web certificate from "https://mesh.REDACTED.com:443/", host: "mesh.REDACTED.com"
SHA384 cert hash: 0a890f2dc672229837859dbb54615e0e313580a1da195d9868792b96f0b5f08e3f75dc5717f790593a156fe9d74efb8a
SHA384 key hash: 9187deea7f206666d2d951f8d4849d021facfc2248e8f751b6dda6dab33ce50f09626cbf35ae45c98dcafd7f637c5d20
MeshCentral Intel(R) AMT server running on mesh.REDACTED.com:4433.
MeshCentral HTTP server running on port 4430, alias port 443.
ERR: events.js:292
throw er; // Unhandled 'error' event
^
Error: 140296273323904:error:140943E8:SSL routines:ssl3_read_bytes:reason(1000):../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 0
at Duplex.ondata (internal/js_stream_socket.js:77:22)
at Duplex.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Duplex.Readable.push (internal/streams/readable.js:223:10)
at Duplex.SerialTunnel.obj.updateBuffer (/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:79:52)
at Object.obj.cirasocket.onData (/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:235:102)
at ProcessCommand (/meshcentral/node_modules/meshcentral/mpsserver.js:954:59)
at WebSocket.<anonymous> (/meshcentral/node_modules/meshcentral/mpsserver.js:301:26)
at WebSocket.emit (events.js:315:20)
Emitted 'error' event on TLSSocket instance at:
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
library: 'SSL routines',
function: 'ssl3_read_bytes'
}
Error: Command failed: /usr/bin/node /meshcentral/node_modules/meshcentral --launch 759388
(node:759410) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
events.js:292
throw er; // Unhandled 'error' event
^
Error: 140296273323904:error:140943E8:SSL routines:ssl3_read_bytes:reason(1000):../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 0
at Duplex.ondata (internal/js_stream_socket.js:77:22)
at Duplex.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Duplex.Readable.push (internal/streams/readable.js:223:10)
at Duplex.SerialTunnel.obj.updateBuffer (/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:79:52)
at Object.obj.cirasocket.onData (/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:235:102)
at ProcessCommand (/meshcentral/node_modules/meshcentral/mpsserver.js:954:59)
at WebSocket.<anonymous> (/meshcentral/node_modules/meshcentral/mpsserver.js:301:26)
at WebSocket.emit (events.js:315:20)
Emitted 'error' event on TLSSocket instance at:
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
library: 'SSL routines',
function: 'ssl3_read_bytes'
}
at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:327:22)
at maybeClose (internal/child_process.js:1048:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
killed: false,
code: 1,
signal: null,
cmd: '/usr/bin/node /meshcentral/node_modules/meshcentral --launch 759388'
}
ERROR: MeshCentral failed with critical error, check mesherrors.txt. Restarting in 5 seconds...
Running nginx in front of mesh, here is config.json
{
"settings": {
"Cert": "mesh.REDACTED.com",
"MongoDb": "mongodb://127.0.0.1:27017",
"MongoDbName": "meshcentral",
"WANonly": true,
"Minify": 1,
"Port": 4430,
"AliasPort": 443,
"RedirPort": 800,
"AllowLoginToken": true,
"AllowFraming": true,
"AgentPong": 300,
"AllowHighQualityDesktop": true,
"TlsOffload": "127.0.0.1",
"agentCoreDump": false,
"Compression": true,
"WsCompression": true,
"AgentWsCompression": true,
"MaxInvalidLogin": { "time": 5, "count": 5, "coolofftime": 30 }
},
"domains": {
"": {
"Title": "test",
"Title2": "test",
"NewAccounts": false,
"CertUrl": "https://mesh.REDACTED.com:443/",
"GeoLocation": true,
"CookieIpCheck": false,
"mstsc": true
}
}
}
nginx conf
server {
listen 80;
server_name mesh.REDACTED.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
proxy_send_timeout 330s;
proxy_read_timeout 330s;
server_name mesh.REDACTED.com;
ssl_certificate /etc/letsencrypt/live/REDACTED.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/REDACTED.com/privkey.pem;
ssl_session_cache shared:WEBSSL:10m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://127.0.0.1:4430/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
tactical@tacrmm:~$ mongo --version
MongoDB shell version v4.2.13
git version: 82dd40f60c55dae12426c08fd7150d79a0e28e23
OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020
allocator: tcmalloc
modules: none
build environment:
distmod: ubuntu1804
distarch: x86_64
target_arch: x86_64
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (12 by maintainers)
Commits related to this issue
- Fix for #2498 — committed to Ylianst/MeshCentral by Ylianst 3 years ago
- Fix for #2498 — committed to Ylianst/MeshCentral by Ylianst 3 years ago
- Fix for #2498 — committed to Ylianst/MeshCentral by Ylianst 3 years ago
YES! Thank u so much! So happy this is working! You guys are so awesome!
Get Outlook for iOShttps://aka.ms/o0ukef
From: Dan @.> Sent: Monday, April 12, 2021 6:41:54 PM To: Ylianst/MeshCentral @.> Cc: Matthew Kent @.>; Mention @.> Subject: Re: [Ylianst/MeshCentral] crashing after upgrade from 0.7.93 to 0.8.5 (#2498)
Itβs fixed!!! π Been running 0.8.9 for a few hours now and no crash. Hopefully fixed as well for @matt-cylandahttps://github.com/matt-cylanda. Thank you so much π
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Ylianst/MeshCentral/issues/2498#issuecomment-818431679, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APTU67XIASCT2TAIALZRSP3TIPDRFANCNFSM42VQCK3A.