Open jkuek opened 1 year ago
@jkuek Which version are you using?
@TailyFair I've just updated to 8.0.7 and can confirm the issue still occurs.
When my normal clients are connecting, everything works as expected. However, the health check connections only generate the OnDisconnecting/OnDisconnected events (no OnConnected event). I'm guessing this is because the connections are likely super short in duration.
My app (using NetCoreServer) is running on an EC2 instance behind a network load balancer (across 3 availability zones).
I'm seeing regular TcpSession.OnDisconnected() and TcpServer.OnDisconnected() events without the corresponding OnConnected() events, and have confirmed these events are triggered by the health checks on my target group.
Why is this happening? I expected an OnConnected() to always precede OnDisconnected().