AirtestProject / iOS-Tagent

iOS support agent for automation
http://airtest.netease.com/
Other
666 stars 181 forks source link

IOS执行start_app()方法失败后,设备失去连接无法恢复执行后续脚本 #48

Open Jamesparagon opened 5 years ago

Jamesparagon commented 5 years ago

设备:iPhone6s Plus 12.1 未越狱 IDE:1.2.1 场景:我有一个pkg列表:类似这样['com.xxxx1.xxx','com.xxx2.xxx'] 我通过start_app(pkg)方法来执行测试; 期望结果:如果该app无法启动,允许我设置一个timeout时间,超时则抛出异常,继续执行;

实际结果:参考截图,设备提示连接超时,后续指令无法执行

retry to connect, error: HTTPConnectionPool(host='xxx.xx.xxx.xxx 9A74C9238D0B612B62C37736F032E2EA ', port=8100): Read timed out. (read timeout=60.0)

[Finished] ERROR: runTest (app.widgets.code_runner.ide_launcher.AirtestIDECase)

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse response.begin() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 357, in _make_request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _raise_timeout requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 70, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 433, in send requests.exceptions.ReadTimeout: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse response.begin() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 357, in _make_request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _raise_timeout requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/airtest/airtest/cli/runner.py", line 65, in runTest File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/six.py", line 693, in reraise File "/Users/wjjn3033/dev/idestable/airtest/airtest/cli/runner.py", line 61, in runTest File "/Users/james/Desktop/Test_Related/Airtest/Scripts/JDB_demo/sirius_demov2.0.air/sirius_demov2.0.py", line 44, in keyevent("HOME") File "/Users/wjjn3033/dev/idestable/airtest/airtest/utils/logwraper.py", line 72, in wrapper File "/Users/wjjn3033/dev/idestable/airtest/airtest/core/api.py", line 352, in keyevent File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 244, in keyevent self.home() File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 136, in home return self.driver.home() File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 198, in home File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 101, in fetch File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 107, in _fetch_no_alert File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 75, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 433, in send requests.exceptions.ReadTimeout: HTTPConnectionPool(host='xxx.xx.xxx.xxx', port=8100): Read timed out. (read timeout=60.0)


Ran 1 test in 290.451s

FAILED (errors=1)

============================================================

Jamesparagon commented 5 years ago

需要我提供更多日志吗?我这里100%复现问题

Jamesparagon commented 5 years ago

有进展吗?

EraChen233 commented 5 years ago

iproxy 和Xcode输出是什么?

Jamesparagon commented 5 years ago

============================================================

[Start running..] save log in '/var/folders/2n/jsm6y44n6qvbf2_0q2666kf80000gn/T/AirtestIDE/scripts/731ca5f21f7fa50126b6548283ce16e3'retry to connect, error: HTTPConnectionPool(host='100.66.xxx.xxx', port=8100): Read timed out. (read timeout=60.0)

retry to connect, error: HTTPConnectionPool(host='100.66.xxx.xxx', port=8100): Read timed out. (read timeout=60.0) xxAPP掉签监控2.0 \u5e78\u798f\u82b1https://xxxxxxxxxxcom/xxxx,\u5e94\u7528\u95ea\u9000/\u5305\u540d\u6709\u8bef\uff0c\u8bf7\u68c0\u67e5\u662f\u5426\u6389\u7b7e

====================================================================== [Finished] ERROR: runTest (app.widgets.code_runner.ide_launcher.AirtestIDECase)

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse response.begin() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 357, in _make_request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _raise_timeout requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 70, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 433, in send requests.exceptions.ReadTimeout: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse response.begin() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 357, in _make_request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _raise_timeout requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/airtest/airtest/cli/runner.py", line 65, in runTest File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/six.py", line 693, in reraise File "/Users/wjjn3033/dev/idestable/airtest/airtest/cli/runner.py", line 61, in runTest File "/Users/james/Desktop/Test_Related/Airtest/Scripts/JDB_demo/sirius_demov2.0.air/sirius_demov2.0.py", line 40, in keyevent("HOME") File "/Users/wjjn3033/dev/idestable/airtest/airtest/utils/logwraper.py", line 72, in wrapper File "/Users/wjjn3033/dev/idestable/airtest/airtest/core/api.py", line 352, in keyevent File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 244, in keyevent self.home() File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 136, in home return self.driver.home() File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 198, in home File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 101, in fetch File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 107, in _fetch_no_alert File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 75, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 433, in send requests.exceptions.ReadTimeout: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)


Ran 1 test in 247.966s

FAILED (errors=1)

============================================================

Jamesparagon commented 5 years ago

我没有用到iproxy,直接连的设备

Jamesparagon commented 5 years ago

请bug修复人员注意,该问题可以用如下方法复现:

准备两个app的包,一个正确的一个错误的包名

app_list=['com.ok.app','com.fail.app'] for i in range(0,3): for j in app_list: try: start_app(j) except: continue 复现的话,一旦执行了错误的包名,后续就会time out无法执行了

Jamesparagon commented 5 years ago

新增部分日志,用connect_device()依然不能解决问题。


Ran 1 test in 229.244s

FAILED (errors=1) ERROR: runTest (app.widgets.code_runner.ide_launcher.AirtestIDECase)

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse response.begin() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 357, in _make_request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _raise_timeout requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 70, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 433, in send requests.exceptions.ReadTimeout: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse response.begin() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 357, in _make_request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _raise_timeout requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/james/Desktop/Test_Related/Airtest/Scripts/JDB_demo/sirius_demov2.0.air/sirius_demov2.0.py", line 48, in start_app(pkg) File "/Users/wjjn3033/dev/idestable/airtest/airtest/utils/logwraper.py", line 72, in wrapper File "/Users/wjjn3033/dev/idestable/airtest/airtest/core/api.py", line 148, in start_app File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 264, in start_app self.driver.session(package) File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 278, in session File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 101, in fetch File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 107, in _fetch_no_alert File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 75, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 433, in send requests.exceptions.ReadTimeout: HTTPConnectionPool(host='100.66.172.109', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 330, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send self.connect() File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 155, in connect File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 134, in _new_conn File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 64, in create_connection File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 745, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 309, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 330, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send self.connect() File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 155, in connect File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 134, in _new_conn File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 64, in create_connection File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 745, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', gaierror(8, 'nodename nor servname provided, or not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 70, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 415, in send requests.exceptions.ConnectionError: ('Connection aborted.', gaierror(8, 'nodename nor servname provided, or not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 330, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send self.connect() File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 155, in connect File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 134, in _new_conn File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 64, in create_connection File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 745, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 309, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 330, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send self.connect() File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 155, in connect File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 134, in _new_conn File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 64, in create_connection File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 745, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', gaierror(8, 'nodename nor servname provided, or not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/airtest/airtest/cli/runner.py", line 65, in runTest File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/six.py", line 693, in reraise File "/Users/wjjn3033/dev/idestable/airtest/airtest/cli/runner.py", line 61, in runTest File "/Users/james/Desktop/Test_Related/Airtest/Scripts/JDB_demo/sirius_demov2.0.air/sirius_demov2.0.py", line 83, in connect_device("Ios:15b847ce30cc3d190040507a126de242fef1bd28") File "/Users/wjjn3033/dev/idestable/airtest/airtest/core/api.py", line 63, in connect_device File "/Users/wjjn3033/dev/idestable/airtest/airtest/core/api.py", line 33, in init_device File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 82, in init self.rotation_watcher = RotationWatcher(self) File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/rotation.py", line 22, in init self.session = iosHandle.session File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 97, in session self.defaultSession = self.driver.session() File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 252, in session File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 191, in status File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 101, in fetch File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 107, in _fetch_no_alert File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 75, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 415, in send requests.exceptions.ConnectionError: ('Connection aborted.', gaierror(8, 'nodename nor servname provided, or not known'))

[Finished]

============================================================

Jamesparagon commented 5 years ago

最新发现: 这个问题可能由于某个线程挂掉但是占着端口导致(类似的原理),因此在等待约250秒后可以释放并重新连接成功,继续执行。请开发人员参考__

EraChen233 commented 5 years ago

好的,谢谢你的反馈

Jamesparagon commented 5 years ago

请问这个问题下个版本能修复吗?现在要测试的对象越来越多了,每次失败都要等5,6分钟才能继续,效率有些低

EraChen233 commented 5 years ago

这个问题暂时还没有头绪,修复需要一段时间,麻烦耐心等待呢

Jamesparagon commented 5 years ago

今日我用git pull的方式升级了IOS-targent,然后重新build了,问题依然存在,多次read timeout后失败,需要等待250秒左右之后才可以再次启动session。附日志:

[Start running..] save log in '/var/folders/2n/jsm6y44n6qvbf2_0q2666kf80000gn/T/AirtestIDE/scripts/77a00573393caff9533722c9a3c6298d'

[Finished] ERROR: setUpClass (app.widgets.code_runner.ide_launcher.AirtestIDECase)

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse response.begin() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 357, in _make_request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _raise_timeout requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='100.66.166.2', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 70, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 433, in send requests.exceptions.ReadTimeout: HTTPConnectionPool(host='100.66.166.2', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse response.begin() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 370, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 310, in reraise File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 357, in _make_request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _raise_timeout requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='100.66.166.2', port=8100): Read timed out. (read timeout=60.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/wjjn3033/dev/idestable/airtest/airtest/cli/runner.py", line 28, in setUpClass File "/Users/wjjn3033/dev/idestable/airtest/airtest/cli/runner.py", line 130, in setup_by_args File "/Users/wjjn3033/dev/idestable/airtest/airtest/core/api.py", line 113, in auto_setup File "/Users/wjjn3033/dev/idestable/airtest/airtest/core/api.py", line 63, in connect_device File "/Users/wjjn3033/dev/idestable/airtest/airtest/core/api.py", line 33, in init_device File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 82, in init self.rotation_watcher = RotationWatcher(self) File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/rotation.py", line 22, in init self.session = iosHandle.session File "/Applications/AirtestIDE.app/Contents/MacOS/airtest/core/ios/ios.py", line 97, in session self.defaultSession = self.driver.session() File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 252, in session File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 191, in status File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 101, in fetch File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 107, in _fetch_no_alert File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/wda/init.py", line 75, in httpdo File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/api.py", line 49, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 461, in request File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/sessions.py", line 573, in send File "/Users/wjjn3033/dev/idestable/venv_ide_qt511/lib/python3.6/site-packages/requests/adapters.py", line 433, in send requests.exceptions.ReadTimeout: HTTPConnectionPool(host='100.66.166.2', port=8100): Read timed out. (read timeout=60.0)


Ran 0 tests in 121.389s

FAILED (errors=1)

============================================================

agoraHan commented 5 years ago

有进展吗 同样遇到了这个问题