AirtestProject / AirtestProject/iOS-Tagent

尝试打开不存在的bundleid 抛出连接失败的异常

オープン
#224 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Objective-C
スター
722
フォーク
194
PR マージ指標
30日以内にマージされた PR はありません

説明

系统windows 10 x64
1. 使用命令行启动 wda (
tidevice --udid xxxx wdaproxy -B bbbbb -p 8200)
2.使用 airtest
from airtest.core.api import (time, start_app, stop_app, install, uninstall)

start_app("xxxxx")
超时后会报如下错误,wda 会停止工作。

2021-12-28 11:55:57,830 - flybird_log - INFO - Traceback (most recent call last):
File "C:\Python39\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "C:\Python39\lib\site-packages\urllib3\connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "C:\Python39\lib\site-packages\urllib3\connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "C:\Python39\lib\http\client.py", line 1345, in getresponse
response.begin()
File "C:\Python39\lib\http\client.py", line 307, in begin
version, status, reason = self._read_status()
File "C:\Python39\lib\http\client.py", line 276, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Python39\lib\site-packages\requests\adapters.py", line 439, in send
resp = conn.urlopen(
File "C:\Python39\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "C:\Python39\lib\site-packages\urllib3\util\retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
File "C:\Python39\lib\site-packages\urllib3\packages\six.py", line 769, in reraise
raise value.with_traceback(tb)
File "C:\Python39\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "C:\Python39\lib\site-packages\urllib3\connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "C:\Python39\lib\site-packages\urllib3\connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "C:\Python39\lib\http\client.py", line 1345, in getresponse
response.begin()
File "C:\Python39\lib\http\client.py", line 307, in begin
version, status, reason = self._read_status()
File "C:\Python39\lib\http\client.py", line 276, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。