-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ETIMEDOUT on running protractor tests on a remote selenoid grid #8129
Comments
Looking at the code adding ETIMEOUT should be fine. |
Hello, thanks for the fix! Do you know which version will get this fix, and for when it's planned, roughly? I think there's a typo in the fix on master:
should be
right? |
argh... yes... was doing it quickly and didn't actually check. This has
been fixed.
…On Wed, Apr 1, 2020 at 7:28 AM Benjamin Audren ***@***.***> wrote:
Hello, thanks for the fix! Do you know which version will get this fix,
and for when it's planned, roughly?
I think there's a typo in the fix on master:
https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/http/index.js#L299-L300
err.code === 'EPIPE',
err.code === 'ETIMEDOUT';
should be
err.code === 'EPIPE' ||
err.code === 'ETIMEDOUT';
right?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#8129 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA7MBTH4XAGD7HMYDOVBETRKLNJTANCNFSM4LRWHRHA>
.
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
When running a large suite of tests from
protractor v5.4.2
or5.4.3
(soselenium-webdriver 3.6.0
), I frequently get random errors that read:Following the recommendation found here, I added
e.code === 'ETIMEDOUT'
to theindex.js
file, and now the issue is gone.I see that in this file you consider only
ECONNRESET
to be worthy of a retry. I also see that in the master branch, you expanded the list to include other error statuses, but not yetETIMEDOUT
. I guess the problem I'm facing will therefore still persist with the upcoming version 4.0.0.Any reason why you left out
ETIMEDOUT
from this list?To Reproduce
Detailed steps to reproduce the behavior:
ETIMEDOUT
Expected behavior
I would except the selenium library to attempt a retry in case it fails to communicate with a remote browser grid with a timeout.
Alternatively, I should have a hand on defining this
timeout
value to accomodate for my network conditions.Similar tests done with a Java binding on the exact same selenoid grid (with the same chrome browser version) are working without these timeouts, so I have the impression this is a javascript only problem.
Test script or set of commands reproducing this issue
Due to the setup needed, this is more complicated to provide. Do you need something?
Environment
OS: Windows 10, Ubuntu 18.04, CentOS
Browser: Chrome (from this image and that image)
Browser version: 73.0.3683.75-1 and 80.0.3987.132-1
Browser Driver version: ?
Language Bindings version: Javascript 3.6.0
Selenium Grid version (if applicable): Moon 1.3.9
The text was updated successfully, but these errors were encountered: