MeshCentral
MeshCentral copied to clipboard
Large File Downloads Fail At Random States of Completition
In an almost identical situation to #2911 according to the trace logs the FileRelay will randomly disconnect without error sometimes 7MB into the file, sometimes hundreds of MBs into a file. It does not seem to be effected by WebRTC or not, local network or via a reverse proxy.
Steps to reproduce the behavior:
- Open file manager and download any decently sized file.
Server Ubuntu 22.04 LAN/WAN HAProxy with SSL offloading Full AMT 1.1.21
Device
Desktop/Laptop OS Windows 10/11 Local & Remote WAN
Config File - Sanitized - Bare metal install
{
"$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
"settings": {
"Cert": "meshcentral.example.com",
"Port": 4430,
"AliasPort": 443,
"RedirPort": 0,
"AgentPong": 300,
"TlsOffload": "ROUTER_IP",
"TrustedProxy": "ROUTER_IP",
"MpsPort": 44330,
"MpsAliasHost": "meshcentral.example.com",
"MpsAliasPort": 4433,
"MpsTlsOffload": false,
"MpsHighSecurity": true,
"AgentInviteCodes": true,
"MongoDb": "mongodb://127.0.0.1:27017/meshcentral",
"RelayPort": 453,
"desktopMultiplex": true,
"Compression": false,
"WsCompression": false,
"AgentWsCompression": false,
"CookieIpCheck": false,
"Minify": true,
"LANonly": false,
"WebRTC": false,
"nice404": true,
"clickOnce": false,
"publicPushNotifications": true,
"allowHighQualityDesktop": true,
"plugins": { "enabled": true },
"NpmPath": "/usr/bin/node /usr/bin/npm",
"maxInvalidLogin": {
"time": 10,
"count": 5,
"coolofftime": 30
}
},
"domains": {
"": {
"CertUrl": "https://ROUTER_IP:443/",
"AgentConfig": ["webSocketMaskOverride=1"],
}
}
}
I had this issue previously. I chased it forever with no real resolution.
I ended up upgrading (via re-install and backup/restore config) my MC server (same cloud provider) to one with more resources and it went away. My performance issues with client devices also went away. I initially did not think the host was the issue because top never showed more than 50% cpu or memory utilization for the prior server.
Add more resources to MC and it went away
I had this issue previously. I chased it forever with no real resolution.
I ended up upgrading (via re-install and backup/restore config) my MC server (same cloud provider) to one with more resources and it went away. My performance issues with client devices also went away. I initially did not think the host was the issue because top never showed more than 50% cpu or memory utilization for the prior server.
Add more resources to MC and it went away
How many more? You provided no context. If you had 1 core and 2 gigs of Ram, I get it. What if you have 12 cores and 64GB of RAM? I have this issue, but your comment doesn't tell me how much I should increase.