Troubleshooting Slow File Uploads in Remote MeshCentral Server #6265
-
Hi Community, I am running MeshCentral [1.1.22] in hybrid mode. Server Setup:We are running the Remote MeshCentral server behind an Nginx ingress, which is hosted on Azure Kubernetes Service. Ports 443, 4433, and 2121 are accessible on the MeshCentral server. All of this is configured using Kubernetes pod settings. All remote sessions, including remote, backstage, and other functionalities, work fine. However, the upload file functionality in the files session is extremely slow. I suspected this might be due to the WebRTC configuration. I tried setting the WebRTC property to both For example, a 3.28 MB file takes more than 4-5 minutes and sometimes more than 10 minutes to upload. In contrast, when running MeshCentral locally in hybrid mode, it only takes 2-3 seconds to upload the same file. It would be acceptable if it took 15-20 seconds on the remote server. Observations:
Is the slow file transfer due to our remote server setup hosted on Azure services with the Nginx ingress controller? config.json{
"$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
"settings": {
"cert": "mydomain.com",
"sessionSameSite": "lax",
"port": 4430,
"aliasPort": 443,
"agentPort": 2121,
"agentAliasPort": 443,
"relayPort": 453,
"agentPortTls": false,
"agentPing": 10,
"browserPing": 10,
"agentIdleTimeout": 18000,
"SelfUpdate": false,
"allowFraming": true,
"allowLoginToken": true,
"webRTC": true,
"tlsoffload": true,
"agentCoreDump": true,
"agentLogDump": true,
"clipboardGet": true,
"clipboardSet": true,
"compression": true,
"wscompression": true,
"agentwscompression": true,
"noAgentUpdate": 1,
"temporaryAgentUpdate": false,
"agentsInRam": true,
"desktopMultiplex": true
},
"domains": {
"": {
"title": "Remote MYmesh",
"title2": "Mesh",
"NewAccounts": false,
"_userNameIsEmail": true,
"certUrl": "mydomain.com",
"notifyimage": "MYmesh.png",
"meshMessengerTitle": "Messenger",
"nightmode": "userSessionIdleTimeout": 90,
"allowedorigin": true
}
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
file transfers dont get uploaded via webrtc, they only happen over web sockets also the web ui was transfering the files in tiny bits n bytes you need either change ur docker image to use the |
Beta Was this translation helpful? Give feedback.
-
you can also try the latest 1.1.25 update and see if the included patch to increase the buffer size for uploads, |
Beta Was this translation helpful? Give feedback.
file transfers dont get uploaded via webrtc, they only happen over web sockets
webrtc is only used for remote desktop,
also the web ui was transfering the files in tiny bits n bytes
but we did a recent patch to change the bits n bytes size to make it faster
74d6252
you need either change ur docker image to use the
master
imageOR
install the development branch from npm
npm install Ylianst/MeshCentral