-
Notifications
You must be signed in to change notification settings - Fork 93
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
客户端意外断开连接后,服务器未针对心跳超时关闭websocket连接 #83
Comments
I'm not sure what the problem is. Your description is more than short. So where exactly is a problem in the OCPP server? |
If the client unexpectedly disconnects and the dictionary is not removed, the management backend will display that the device is online when obtaining the status |
I couldn't really reproduce the issue on one machine. The connection always got closed friendly. |
I have also noticed this issue with NRGkick. When the client unexpectedly disconnects, the management backend still shows the device as online. If the problem occurs again, I will post the logs. |
客户端意外断开连接后,服务器未针对心跳超时关闭websocket连接,导致_chargePointStatusDict 还存储了状态数据,而且此时通过api发送websocket消息会出现异常
private static Dictionary<string, ChargePointStatus> _chargePointStatusDict = new Dictionary<string, ChargePointStatus>();
The text was updated successfully, but these errors were encountered: