Intermittent ReadTimeoutError (HTTPConnectionPool localhost) during long SeleniumLibrary execution with Chrome freezing
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Bắt đầu với các điểm vào keyword SeleniumLibrary đã được báo cáo—Click Element, Wait Until Element Is Visible, Wait Until Page Loaded và Set Selenium Page Load Timeout—và tái hiện dưới các phiên bản được liệt kê. So sánh logout bị lỗi và việc điều hướng của mô-đun Browse với một trường hợp chạy dài tối thiểu, đồng thời thu thập các log timeout của Chrome/Selenium; được xem là hoàn tất khi đã cô lập được lỗi thư viện có thể tái hiện hoặc ghi lại rằng nguyên nhân thuộc về môi trường hay upstream.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi,
We are experiencing intermittent ReadTimeoutError failures during long Robot Framework executions using SeleniumLibrary.
The issue is difficult to reproduce consistently, but it occurs frequently during large execution batches.
Environment
- Robot Framework: Robot Framework 7.3.2 (Python 3.12.0 on win32)
- SeleniumLibrary: 6.8.0
- Selenium: 4.36.0
- Chrome: 149.0.7827.200 (64-bit)
- Windows 11
Error
ReadTimeoutError:
HTTPConnectionPool(host='localhost', port=xxxxx):
Read timed out. (read timeout=120)
Sometimes we also see:
Timed out receiving message from renderer
Behavior
The browser visibly freezes when this happens.
The failure is intermittent and can occur in different Selenium keywords, for example:
- Click Element
- Wait Until Element Is Visible
- Wait Until Page Loaded
- Set Selenium Page Load Timeout
It most commonly happens during:
- Logout
- Navigating to the Browse module after switching back to the main window
However, it is not limited to those locations. The same timeout can occur in different tests at different steps.
Additional observations
- A new browser is launched for every test case.
- Failures are random and not tied to one specific test.
- The application is still running, but Chrome becomes unresponsive.
- Selenium waits for approximately 120 seconds before raising the ReadTimeoutError.
##Log excerpt
Wait Until Page Loaded 00:10:00.795KEYWORD 02_Browse_POM . Click On the Browse Module Start / End / Elapsed: | 20260706 15:04:20.439 / 20260706 15:14:21.234 / 00:10:00.795 -- | --Question
Has anyone experienced similar intermittent browser freezes resulting in HTTPConnectionPool(host='localhost') ReadTimeoutError?
Is this known to be related to SeleniumLibrary, Selenium Python, ChromeDriver, Chrome, or is there anything we should investigate further?
Any suggestions would be greatly appreciated.
- Ngôn ngữ chính
- Python
- Star
- 1.5k
- Fork
- 787
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của robotframework/SeleniumLibrary
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
robotframework/SeleniumLibrary#1941 · 3 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
robotframework/SeleniumLibrary#1833 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
robotframework/SeleniumLibrary#1436 · 5 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
robotframework/SeleniumLibrary#1993 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
robotframework/SeleniumLibrary#1964 · 1 bình luận ·
Tất cả issue của robotframework/SeleniumLibrary
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
gradio-app/gradio#13895 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
build-error
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
spack/spack-packages#6713 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Use issue templatesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ActivityWatch/activitywatch#1464 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: The ckg tool drops the return type of every decorated Python method in class search resultsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bytedance/trae-agent#483 ·
Maintainer thường phản hồi trong vòng 1 ngày