New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mescentrall RDP lost connection after (ping pong =25) amount of time. #5785
Comments
Yes we are aware of this bug, a simple fix is to just remove all of |
Thanks! for anwer. |
basically its a bug thats needs investigating... websockets have there own ping/pong behaviour/method so you would never need to use
but the must be an issue where it thinks the device is not actually online, and disconncting your session even tho the device is actually online? so hense... ITS A 🐞 |
MY NOTES: |
Bad network hardware routers/NAT/VPN that are shortening TTLs on TCP sessions and dropping them artificially fast. ping/pong is basically artificially generating traffic to keep the TCP session alive to keep resetting the timeout before NATS tosses the mapping as "expired" Monitor your sessions in your router, and you'll see sessions disappearing. Find the culprit equipment/tech in your stack. |
@silversword411 fix for the rdp dropping out is here #5786 It was basically sending the ping ok, the agent was replying pong, then meshcentral decides to try sending the pong to the rdp server, so the rdp server goes sod that and disconnects. |
Mescentrall RDP lost connection after (ping pong =25) amount of time.
just set one of ANY of this ping pong param
"BrowserPong": 20,
"AgentPong":20,
"BrowserPing": 25,
"AgentPing":25,
connect to any windows machine, it will drop connection after 25 second
mesconnection works fine, and don't drop connection!
Server Software (please complete the following information):
Client Device (please complete the following information):
Remote Device (please complete the following information):
Lighthttpd config
Config
The text was updated successfully, but these errors were encountered: