A机器是部署agent的机器,部署完毕之后,A机器打开网页操控手机都OK,这时使用B机器打开网页,进入到设备列表操作设备,无法操作(A机器已经退出占用)
junwei-liu opened this issue · 7 comments
Search before asking
- I searched in the issue and found nothing similar. | 我查找了并确认issue列表无相似报告。
Sonic version
[Bug] A机器是部署agent的机器,部署完毕之后,A机器打开网页操控手机都OK,这时使用B机器打开网页,进入到设备列表操作设备,无法操作(A机器已经退出占用)
v2.4.2
Deploy platform
agent部署平台:
ubuntu 18.04
Minimal reproduce step
[Bug] A机器是部署agent的机器,部署完毕之后,A机器打开网页操控手机都OK,这时使用B机器打开网页,进入到设备列表操作设备,无法操作(A机器已经退出占用)
Are you willing to submit a PR?
- I'm willing to submit a PR! | 我将发起PR!
可以去这边提问,附上日志和截图哦
b机器有看到画面吗
b机器需要ping通a机器,检查下防火墙或者网络哦
agent机器的日志信息如下:看起来是B机器一访问,设备就自动离线了,不知道什么原因:2023-04-10 18:30:24.662 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: a3f6f214 ONLINE!
2023-04-10 18:30:24.671 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device a3f6f214 failed.
2023-04-10 18:30:24.671 -ERROR 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device offline
2023-04-10 18:30:24.671 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
2023-04-10 18:30:24.677 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device a3f6f214 failed.
2023-04-10 18:30:24.677 -ERROR 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device still authorizing
2023-04-10 18:30:24.677 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
2023-04-10 18:30:26.068 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: a3f6f214 OFFLINE!
2023-04-10 18:30:26.069 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device a3f6f214 failed.
2023-04-10 18:30:26.069 -ERROR 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device 'a3f6f214' not found
2023-04-10 18:30:26.069 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
2023-04-10 18:30:26.935 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: a3f6f214 ONLINE!
2023-04-10 18:30:26.941 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Send shell command wm size to device a3f6f214 failed.
2023-04-10 18:30:26.941 -ERROR 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : device offline
2023-04-10 18:30:26.941 - INFO 17839 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceBridgeTool : Get screen size failed, ignore when plug in moment...
下
可以ping通的,根据日志看是B机器一访问,就把agent机器的设备踢出去了。