You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to diagnose an issue with an AWS broker immediately closing the connection after establishing it. MQTTnet throws a MqttCommunicationClosedGracefullyException, and a stack trace points to this line of MqttPacketReader.cs:
This line throws if bytesRead is <= 0. My question is, why would that packet be empty? I ran a Wireshark trace and didn't see any empty packets - rather, I saw an encrypted alert from the server, followed by a FIN/ACK message, neither of which was an empty packet. Am I misinterpreting what I'm seeing here?
The text was updated successfully, but these errors were encountered:
I'm trying to diagnose an issue with an AWS broker immediately closing the connection after establishing it. MQTTnet throws a MqttCommunicationClosedGracefullyException, and a stack trace points to this line of MqttPacketReader.cs:
ExceptionHelper.ThrowIfGracefulSocketClose(bytesRead);
This line throws if bytesRead is <= 0. My question is, why would that packet be empty? I ran a Wireshark trace and didn't see any empty packets - rather, I saw an encrypted alert from the server, followed by a FIN/ACK message, neither of which was an empty packet. Am I misinterpreting what I'm seeing here?
The text was updated successfully, but these errors were encountered: