Client cannot reconnect when stream is resumed and StreamManagementException is launch

Hi!

I am not sure how I have got this state in my connection, but in a given moment, it starts to launch a StreamManagementException, exactly the StreamManagementCounterError. Since then, the client cannot reconnect to the server. Every time the client reconnects and the resumed element is returned from server, the client tries to process the stanzas acks from server, launching again the StreamManagementCounterError.

Should we reset the value of **smSessionId **to null when any StreamManagementException is launched before to try to reconnect?

Should we reset the value of smSessionId to null when any StreamManagementException is launched before to try to reconnect?

Probably a good idea. Thanks for reporting. Created SMACK-701. I don’t think that it requires intermediate action or a high priority though.