Open skrue opened 5 months ago
Ok, since 3 days no connection error. Perfekt. Thank you!
@anderl78 Good to know, thank you for testing! I am not too experienced with Python programming so this was a bit of trial-and-error and I'm not sure if it is actually a valid approach, but it did improve the situation so it can't be completely wrong. @TheRealKillaruna maybe you want to merge this PR now?
@skrue: would be great if you could look here: https://github.com/TheRealKillaruna/nano_pk/issues/38#issue-2543217981
This solved #25 for me. Seems that
writer
could not successfully be closed after aConnectionResetError
. Now an exception is thrown andself._reader
andself._writer
are set toNone
. This way the next attempt to open the connection succeeds.