Intermittent ReadTimeoutError (HTTPConnectionPool localhost) during long SeleniumLibrary execution with Chrome freezing
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- Calme
- Stack technique
- python
- Domaine
- testing-qa
Piste de recherche
Commencez par les points d’entrée de mots-clés SeleniumLibrary signalés—Click Element, Wait Until Element Is Visible, Wait Until Page Loaded et Set Selenium Page Load Timeout—et reproduisez le problème avec les versions indiquées. Comparez le logout qui échoue et la navigation du module Browse avec un cas minimal de longue durée, puis recueillez les journaux de timeout de Chrome/Selenium ; le travail est terminé lorsqu’un échec reproductible de la bibliothèque est isolé ou qu’il est documenté que le problème vient de l’environnement ou d’upstream.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 1.5k
- Forks
- 787
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de robotframework/SeleniumLibrary
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
robotframework/SeleniumLibrary#1941 · 3 commentaires ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 65/100
robotframework/SeleniumLibrary#1833 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
robotframework/SeleniumLibrary#1436 · 5 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 58/100
robotframework/SeleniumLibrary#1993 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
robotframework/SeleniumLibrary#1964 · 1 commentaire ·
Toutes les issues de robotframework/SeleniumLibrary
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
bancolombia/sentinel#23 ·
-
test md OuverteCI
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100