-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep checking status of http+usbmux #134
Comments
i got same issue |
the same issue |
同样的问题,有大佬解决了吗?麻烦给点提示 |
是wda服务访问/status时没有返回导致,但是我的设备上看起来wda服务是拉起来了,但是也没法访问/status。我的环境是iOS17.4.1 |
python环境切到3.6再试试,我试的3.6之后的都会报上面的错误 |
请问是windows下使用的吗,我也是17.4.1,tidevice3与手机上wda连不上啊 |
有打开iTunes么? |
在t3 tunnel时就报错了 C:\Mindows\system32>t3 tunneld |
t3 tunnel这一步可以省略掉吗,可以直接与wda链接吗 |
在win11上我也遇到了同样的问题,我在win10上测试就是正常的。不知道是不是跟windows系统有关系。 |
没想到在win10跑通一次后,再回到win11测试时就没有上面的问题了。真奇怪啊 |
这个问题还有吗?最新版 |
Mac OS:13.6.5 |
依赖的requests 需要2.28.2以下,应该就不会报错了 |
@AHuaner 按照你的方解决了,大佬6666 |
@AHuaner Big thanks bro!!! @codeskyblue 建議置頂一下 |
I made sample program to make connection of webdriver agent with usbclient,
Sample program
Here is the output of program, It keeps checking status..
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
[I 230523 06:24:45 init:245] WDA is not running, exec: /usr/local/bin/tidevice xctest
[I 230523 06:24:45 _device:984] BundleID: com.facebook.WebDriverAgentRunner.xctrunner
[I 230523 06:24:45 _device:1000] ProductVersion: 16.1.2
[I 230523 06:24:45 _device:1001] DeviceIdentifier: 00008110-001E2C401443401E
[I 230523 06:24:45 _device:837] SignIdentity: 'Apple Development: Jay Panchal (V6325QBF5A)'
[I 230523 06:24:45 _device:843] CFBundleExecutable: WebDriverAgentRunner-Runner
[I 230523 06:24:45 _device:874] AppContainer: /private/var/mobile/Containers/Data/Application/8483E6D9-87F4-4BAC-85D4-C670D1CBB5A7
[I 230523 06:24:45 _device:1122] xctrunner quited
[W 230523 06:24:45 _device:941] WebDriverAgentRunner quitted
[I 230523 06:24:45 _device:914] Launch 'com.facebook.WebDriverAgentRunner.xctrunner' pid: 773
[I 230523 06:24:45 _device:1050] Test runner ready detected
[I 230523 06:24:45 _device:1042] Start execute test plan with IDE version: 29
[I 230523 06:24:46 _device:950] WebDriverAgent start successfully
facebook-wda Tue May 23 06:24:48 2023 Wait ready (timeout=20.0)
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:48 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 20.0 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:49 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 19.0 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:50 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 18.0 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:51 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 17.0 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:52 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 16.0 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:53 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 15.0 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:54 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 13.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:55 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 12.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:56 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 11.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:57 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 10.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:58 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 9.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:24:59 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 8.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:25:00 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 7.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:25:01 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 6.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:25:02 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 5.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:25:03 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 4.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:25:04 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 3.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:25:05 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 2.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:25:06 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 1.9 seconds
Shell$ curl -X GET -d '' 'http+usbmux://00008110-001E2C401443401E:8100/status'
facebook-wda Tue May 23 06:25:07 2023 'http+usbmux://00008110-001E2C401443401E:8100' wait_ready left 0.9 seconds
facebook-wda Tue May 23 06:25:08 2023 device still offline
Traceback (most recent call last):
File "/aws-samples/app-testing-controller-stack/controller_interact/demo_wda.py", line 6, in
c = wda.USBClient("00008110-001E2C401443401E", port=8100)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/wda/init.py", line 1813, in init
raise RuntimeError("wda xctest launched but check failed")
RuntimeError: wda xctest launched but check failed
The text was updated successfully, but these errors were encountered: