ProtocolError: ('Connection aborted.', error(54, 'Connection reset by peer'))

I also use appium+rf, and i encoutering the same issue, some times it seems like couldn’t find an element, what i do is get the element text and log it, make sure if the element i want, and sometims it seems the sleep time is too long, then i will decrease sleep time.