stf
stf copied to clipboard
With stf provider command, the device is ignoring
What is the issue or idea you have? Withstf provider command, says "the device is ignoring" In rethinkdb page, the log says "Someone asked for the nonwhitelisted file "/proxy.pac". If this should be accessible, add it to the static web assets." By the way, firewall is closed.
Please provide the steps to reproduce the issue. steps:
- in master computer command:
rethinkdb
stf local --public-ip <masterip> --allow-remote
- in slave comouter command:
stf provider --connect-sub tcp://<localip>:5037 --connect-push tcp:<localip>:5038 --storage-url http://<masterip>:7100 --public-ip <slaveip>
Please run stf doctor
and paste the output here.
stf doctor
INF/cli:doctor 5474 [] OS Arch: x64
INF/cli:doctor 5474 [] OS Platform: darwin
INF/cli:doctor 5474 [] OS Platform: 17.2.0
INF/cli:doctor 5474 [] Using Node 6.10.0
INF/cli:doctor 5474 [] Using ZeroMQ 4.2.2
INF/cli:doctor 5474 [] Using RethinkDB 2.3.6
INF/cli:doctor 5474 [] Using GraphicsMagick 1.3.26
INF/cli:doctor 5474 [] Using ProtoBuf 3.5.0
INF/cli:doctor 5474 [*] Using ADB 1.0.36
Your --connect-sub
and --connect-push
are completely wrong. Unless you've changed the ports, which isn't visible in your commands, they should be --connect-sub tcp://IP_OF_MASTER_HERE:7114 --connect-push tcp://IP_OF_MASTER_HERE:7116
.
I just change the ports to 7114 and 7116 but it also show me ignoring, The master and slave are both mac. Does any body know the reason?
I use this command nc -w 2 -v
I find this problem on my service
2018-03-03T13:32:02.001Z INF/provider 11628 [*] Tracking devices 2018-03-03T13:32:02.003Z INF/provider 11628 [*] Found device "5LM7N16531007291" (device) 2018-03-03T13:32:02.007Z INF/provider 11628 [*] Found device "2339d8e5" (device) 2018-03-03T13:32:12.010Z INF/provider 11628 [*] Providing all 0 of 2 device(s); ignoring "5LM7N16531007291", "2339d8e5"
@iqianxing : can you please share what was your workaround/ solution for this issue?
thanks
Your
--connect-sub
and--connect-push
are completely wrong. Unless you've changed the ports, which isn't visible in your commands, they should be--connect-sub tcp://IP_OF_MASTER_HERE:7114 --connect-push tcp://IP_OF_MASTER_HERE:7116
.
I have the same issue, even though the provider service point to the master one. I am still getting Providing all 0 of 1 device(s); ignoring "..." message.
@sorccu please advice what else could be wrong?
--connect-sub and --connect-push
solved this issue.
In master PC, type ./bin/stf --connect-sub tcp://0.0.0.0:7114 --connect-push tcp://0.0.0.0:7116
. Meanwhile in slave PC which start a Provider,ensure you passed correct --connect-sub
and --connect-push
options that the master' public IP.
Linux机器使用docker搭建STF,Windows安装SDK后,使用USB连接安卓设备 首先在Windows暴露5037端口 然后在Linux使用命令:stf provider --name localhost.localdomain --min-port 7400 --max-port 7700 --connect-sub tcp://172.50.1.159:7114 --connect-push tcp://172.50.1.159 :7116 --group-timeout 900 --public-ip 172.50.1.159 --storage-url http://172.50.1.159:7100/ --adb-host 172.17.244.11 --adb-port 5037 --vnc-initial尺寸600x800-静音大师-不允许远程
然后就一直停在“ tcp://172.50.1.159:7114”接收输入,过了几分钟就报错了,这个是什么原因?