Open Yogesh1190 opened 1 year ago
You are missing critical info of the bug report
Please include all info
You are missing critical info of the bug report
Please include all info
@si458 which critical info you are expecting here. Can you please guide me.
Follow the template when u create a bug report
Stuff like what os r u using, on client, server, remote
What's ur config like, etc...
Follow the template when u create a bug report
Stuff like what os r u using, on client, server, remote
What's ur config like, etc...
Thanks @si458
I have updated the question with config.json which I am using. Also I am facing this issue for all windows operating systems intermittently.
This looks like a reverse proxy issue? What's the reverse proxy u r using?
This looks like a reverse proxy issue? What's the reverse proxy u r using?
@si458 I am using Kubernetes cluster where I have configure Ingress. I have started the Mesh Agent (443) and UI separate port (2121) to improve the performance.
i dont think u can seperate the ports like that?
ive only every known you have to change the port
and redirPort
i would start with a blank basic config.json
https://github.com/Ylianst/MeshCentral/blob/master/sample-config.json
using a single port to check all is working
@si458 In this mentioned sample-config.json file for agent and ui having 443 port only. Due to which all traffic going through that port. Based on config.json and documentation of meshcentral, I have configured agent and ui on separate port which is working as well.
Though we use common port for both UI and Agent or separate port still I can see intermittent issue of not taking remote session though remote machine is online.
Also We are trying to validate machine is online or not based on pwr field in the mesh node object.
If pwr = 1 then asset is online and if pwr = 0 then asset is offline.
based on this condition we are trying to show below message on the screen, Requested asset is offline
Also sometime, though pwr having value 1 still remote machine not connecting.
@Yogesh1190 wow thats an explaination and a half! im sorry i cant help, its way too advanced for my understanding, ive only every used a single port, and helped others with a single port i think the issue is due to u using seperate ports and maybe ur reverse proxy is disconnecting the websockets (i guess?)
Probably proxy or network equipment changing TCP session timeouts which are prematurely slicing the 24 hr websocket connection
Ping pong will keep things alive, but it's probably better to stop whatever is artificially changing TCP session timeouts...it's probably causing errors all over the place you haven't realized are happening.
Describe the bug Unable to take remote session though asset is online.
I can see below error message in Windows Event Logs.
Below errors I can see in mesh Console Logs,
Mesh Console Logs
My config.json file
@Ylianst @krayon007 @si458