Skip to content
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

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

Open
xiaoxiaocaiiao opened this issue Dec 28, 2021 · 0 comments
Open

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

xiaoxiaocaiiao opened this issue Dec 28, 2021 · 0 comments

Comments

@xiaoxiaocaiiao
Copy link

系统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'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant