AirtestProject / AirtestProject/iOS-Tagent
尝试打开不存在的bundleid 抛出连接失败的异常
- Ngôn ngữ chính
- Objective-C
- Star
- 722
- Fork
- 194
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
系统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'))
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.