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
Problems with stability of connection of a large number of devices.
I have several mobile devices and the code on uiautomator2 which worked fine. But with increasing number of devices I catch a strange error after which something happens with adb server.
After which:
device gets offline status
Log code says "device offline".
A window "Allow usb debugging" pops up on the device, which tells about re-authorization of the device for the adb server. Although adb server works and some other devices work stably. (It's always different devices. Sometimes it turns off device 1,2,3, sometimes 3,2,5, etc.)
If you use the command "adb reconnect offline" then the device can be used again and its status changes.
I have some assumptions:
Devices are often rebooted via "adb shell reboot" command. Perhaps when rebooting the script cannot connect to the application and a conflict occurs, so it restarts the server.
Problem in ports. A large number of devices require more ports and when rebooting the device as if it gets a new port. Maybe there are not enough ports and uiautomator restarts adb.
I've been studying the documentation for a couple days but can't find the reason. If you have any ideas or thoughts why the adb server might be restarting, it would be appreciated.
ERROR:
ConnectionError : ('Connection aborted.',
RemoteDisconnected('Remote end closed connection without response'))
The text was updated successfully, but these errors were encountered:
Problems with stability of connection of a large number of devices.
I have several mobile devices and the code on uiautomator2 which worked fine. But with increasing number of devices I catch a strange error after which something happens with adb server.
After which:
I have some assumptions:
Devices are often rebooted via "adb shell reboot" command. Perhaps when rebooting the script cannot connect to the application and a conflict occurs, so it restarts the server.
Problem in ports. A large number of devices require more ports and when rebooting the device as if it gets a new port. Maybe there are not enough ports and uiautomator restarts adb.
I've been studying the documentation for a couple days but can't find the reason. If you have any ideas or thoughts why the adb server might be restarting, it would be appreciated.
ERROR:
ConnectionError : ('Connection aborted.',
RemoteDisconnected('Remote end closed connection without response'))
The text was updated successfully, but these errors were encountered: