openstf / stf

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

Slave Server Device can't adb connect #1003

Open yxcSini opened 5 years ago

yxcSini commented 5 years ago

What is the issue or idea you have? I have two servers, one is Master Server(10.100.12.52) another is Slave Server(10.100.97.250). All devices are connected to Slave Server. But device's RemoteConnectUrl is 10.100.12.52:xxx that unable to connect through ADB. When I change the IP to 10.100.97.250,it's work.
Does it only happen on a specific device? Please run adb devices -l and paste the corresponding row. no Please provide the steps to reproduce the issue. image image image

How to change the RemoteConnectUrl to right's IP?

What is the expected behavior?

Do you see errors or warnings in the stf local output? If so, please paste them or the full log here.

Please run stf doctor and paste the output here.

thinkhy commented 5 years ago

Does your firewall on slave block the port for adb connect?

yxcSini commented 5 years ago

@thinkhy I have try to close the firewall in slave and master,but not work

yxcSini commented 5 years ago

I think the right way is change the RemoteConnectIp to 10.100.97.250:15021,but i don't know how to change it.

thinkcy commented 5 years ago

The best way is to have a look at the log output whit “stf local”.