如何在服务端知道前后端是什么原因断开的?How does the server know the cause of the disconnection?
The user thinks that there is a problem with the server. How to catch the cause of disconnection on the server?
The front-end uses socket-client2.2 and connects to the server through websocket
I use version 2.0.3 here on the back end 2.2.0 for the front-end But often disconnect, ask to find out what is the reason for the disconnect How can I know what is the cause of disconnection, by capturing packets or something?
用户认为服务器有问题。如何查找服务器断开连接的原因? 前端使用socket-client2.2,通过websocket连接到服务器
我后端用的这边的版本2.0.3 前端用的2.2.0 但是经常断开,要求查是什么原因断开的 如何才能知道是什么原因断开的,通过抓包之类的方式可以吗?
我也是,在服务器上就会莫名其妙断开,再本地测试就没问题
@Gnblog 你知道怎么抓这种包吗?怎么分析是哪里发起的断开
你是一点文档也不看,Socket.IO 现在完全由 TJ Holowaychuk 开发的名为debug的简约但功能强大的实用程序进行检测。
Ennada panni vecheruke