I resume this issue because I have some trouble with reconnections.
In my case, I have a server device that automatically turns off if it is not used for a while.
Once it turns off, on the client-side my python script attempts reconnection. If the server device turns on within 1-2 minutes everything works but if the server turns after a long period the reconnection seems to fail. On the client-side, I receive a NoReply error, and then a new reconnection is attempted but this last reconnection is stuck in an infinite wait.
Hi all
I resume this issue because I have some trouble with reconnections. In my case, I have a server device that automatically turns off if it is not used for a while. Once it turns off, on the client-side my python script attempts reconnection. If the server device turns on within 1-2 minutes everything works but if the server turns after a long period the reconnection seems to fail. On the client-side, I receive a NoReply error, and then a new reconnection is attempted but this last reconnection is stuck in an infinite wait.
`def init(self, manager, mac_address, auto_reconnect=True): super().init(manager=manager, mac_address=mac_address) self.auto_reconnect = auto_reconnect
So, are there any tips, recommendations?