Listen, I am doing a ping to 4.2.2.2 which is google while playing to make sure is not my internet and the chess.com server has disconnected me twice, it is not my internet, maybe you need more bandwidth to your servers?
The path your traffic takes to one site an the path to another site are different. Also pings are very minimal traffic and other processes on your system or local network can cause the packets from/to the live server drop or need resent without causing an ping loss to Google's servers.
For thing you can do to minimize issues, for things you can control. https://support.chess.com/article/213-how-do-i-fix-my-disconnect-lag-issues
Listen, I am doing a ping to 4.2.2.2 which is google while playing to make sure is not my internet and the chess.com server has disconnected me twice, it is not my internet, maybe you need more bandwidth to your servers?