openstf / stf

Control and manage Android devices from your browser.
https://openstf.io
Other
13.17k stars 2.71k forks source link

Can not connect adb server #1271

Open cloneli1126 opened 3 years ago

cloneli1126 commented 3 years ago

Win10 can connect android device.But stf server can not connect remote adb server

Here is the log: =====Win10===== $adb devices List of devices attached emulator-5554 device

$adb nodaemon server -a -P 5037 adb I 11-05 14:17:04 2272 13348 auth.cpp:417] adb_auth_init... adb I 11-05 14:17:04 2272 13348 auth.cpp:152] loaded new key from 'C:\Users\Administrator.android\adbkey' with fingerprint 37D072E6508CBE03986F3F6F380720AB85793B4A0D34BF1A2D2B7F7D2A953C2B adb I 11-05 14:17:04 2272 4232 transport.cpp:325] emulator-5554: read thread spawning adb I 11-05 14:17:04 2272 13244 transport.cpp:297] emulator-5554: write thread spawning adb I 11-05 14:17:04 2272 13348 adb.cpp:120] emulator-5554: already offline

=====centOS7===== $stf provider --name sftest-1 --min-port 7400 --max-port 7700 --connect-sub tcp://10.19.22.10:7114 --connect-push tcp://10.19.22.10:7116 --group-timeout 20000 --public-ip 10.19.22.10 --storage-url http://10.19.22.10:7100/ --adb-host 10.19.22.12 --adb-port 5037 --vnc-initial-size 600x800 --allow-remote & [4] 2557 [root@localhost ~]# 2020-11-05T06:18:53.580Z INF/provider 2557 [] Subscribing to permanent channel "/msP0i4+QcKk89KcadCGew==" 2020-11-05T06:18:53.607Z INF/provider 2557 [] Sending output to "tcp://10.19.22.10:7116" 2020-11-05T06:18:53.608Z INF/provider 2557 [] Receiving input from "tcp://10.19.22.10:7114" 2020-11-05T06:18:53.611Z INF/provider 2557 [] Tracking devices 2020-11-05T06:18:53.612Z INF/provider 2557 [] Found device "emulator-5554" (device) 2020-11-05T06:19:03.616Z INF/provider 2557 [] Providing all 0 of 1 device(s); ignoring "emulator-5554"

issue-label-bot[bot] commented 3 years ago

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.79. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

liutianping0326 commented 3 years ago

@cloneli1126 active development has been moved to DeviceFarmer organisation,please fill this issue on https://github.com/DeviceFarmer/stf

cloneli1126 commented 3 years ago

@cloneli1126 active development has been moved to DeviceFarmer organisation,please fill this issue on https://github.com/DeviceFarmer/stf

i've already resolve this problem ,thanks

chenjialiang95 commented 3 years ago

@ cloneli1126主动开发已移至DeviceFarmer组织,请在https://github.com/DeviceFarmer/stf上填写此问题。

我已经解决了这个问题,谢谢

How to solve it