Intermittent ReadTimeoutError (HTTPConnectionPool localhost) during long SeleniumLibrary execution with Chrome freezing
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- python
- 領域
- testing-qa
調査の方向性
報告されている SeleniumLibrary のキーワードエントリポイント—Click Element、Wait Until Element Is Visible、Wait Until Page Loaded、Set Selenium Page Load Timeout—から始め、記載されたバージョンで再現してください。失敗する logout と Browse モジュールのナビゲーションを、最小限の長時間実行ケースと比較し、Chrome/Selenium の timeout ログを収集してください。再現可能なライブラリの失敗を切り分けるか、環境由来または upstream であることを文書化できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 1.5k
- フォーク
- 787
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
robotframework/SeleniumLibrary のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
robotframework/SeleniumLibrary#1941 · コメント 3 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
robotframework/SeleniumLibrary#1833 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
robotframework/SeleniumLibrary#1436 · コメント 5 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
robotframework/SeleniumLibrary#1993 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
robotframework/SeleniumLibrary#1964 · コメント 1 件 ·
robotframework/SeleniumLibrary の issue をすべて見る
似ている issue
-
link-check link-check:sphinx-theme
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenHands/extensions#626 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
CSCfi/sd-search-api#39 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100