AirtestProject / AirtestProject/Airtest

[未开代理] ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。

Đang mở
#1,052 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
9.6k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# 复现步骤
- 点击运行按钮
- 当运行到 touch 语句时,会失败
- Log 查看窗显示报错信息

# 报错信息
```
[11:37:39][DEBUG] match result: {'result': (205, 1063), 'rectangle': ((155.2, 1044.76), (155.2, 1081.76), (255.2, 1081.76), (255.2, 1044.76)), 'confidence': 0.9999935626983643, 'time': 0.006583690643310547}
[11:37:39][ERROR] Traceback (most recent call last):
File "airtest\cli\runner.py", line 70, in runTest
File "C:\Users\15622\AppData\Local\Temp\AirtestIDE\Scripts\untitled.air\untitled.py", line 32, in
...

File "airtest\core\android\android.py", line 515, in touch
File "airtest\core\android\touch_methods\touch_proxy.py", line 128, in touch
File "airtest\utils\snippet.py", line 125, in ready_func
File "airtest\core\android\touch_methods\base_touch.py", line 212, in touch
File "airtest\utils\snippet.py", line 125, in ready_func
File "airtest\core\android\touch_methods\base_touch.py", line 188, in perform
File "airtest\core\android\touch_methods\base_touch.py", line 98, in safe_send
File "airtest\core\android\touch_methods\base_touch.py", line 95, in safe_send
File "airtest\utils\safesocket.py", line 35, in send
ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。

```

# 环境信息
- OS: Win10
- 设备: Vivo Y66i
- Airtest: 1.2.13

# 代码
```
poco("领取 ").click()
sleep(5)

touch([226,1062]) # 确认领取,在这里报错
sleep(10)
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.