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
When the server sends a TCP Reset to close the connection after the client tries to send a KeepAlive:
there seems to be some sort of ReconnectHandling in Place since a new SecureChannel is created.
BUT since the client does not activate the session on that channel every later ReadRequest will be responded to with BadSecureChannelIdInvalid (0x8022_0000)... I can also see the KeepAlive ReadRequests being responded to with BadSecureChannelIdInvalid ...
As soon as I try to e.g. Read a variable later in the Client I will then get the BadSecureChannelIdInvalid Exception...
I could think of this not being a bug since the client was not explicitly triggered to do the KeepAlive and therefore it shouldn't throw an Exception there and then the BadSecureChannelIdInvalid seems kind of okay since that is what the server returns...
But understanding the problem from what happened without wireshark is really not that easy...
The logs show the Channel Socket closed and show that the SecureChannel has been closed and that afterwards the BeginSendRequst, Endpoints, Connecting -> HelloMessage, Opening and then OpenSecureChannel -->
KircMax
changed the title
Autoconnect/ auto reconnect behaviour when the server ends the connection
Behaviour when the server ends the connection via TCP RST
Mar 1, 2024
Type of issue
Current Behavior
When the server sends a TCP Reset to close the connection after the client tries to send a KeepAlive:
there seems to be some sort of ReconnectHandling in Place since a new SecureChannel is created.
BUT since the client does not activate the session on that channel every later ReadRequest will be responded to with BadSecureChannelIdInvalid (0x8022_0000)... I can also see the KeepAlive ReadRequests being responded to with BadSecureChannelIdInvalid ...
As soon as I try to e.g. Read a variable later in the Client I will then get the BadSecureChannelIdInvalid Exception...
I could think of this not being a bug since the client was not explicitly triggered to do the KeepAlive and therefore it shouldn't throw an Exception there and then the BadSecureChannelIdInvalid seems kind of okay since that is what the server returns...
But understanding the problem from what happened without wireshark is really not that easy...
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: