SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.7k stars 8.19k forks source link

ETIMEDOUT connect ETIMEDOUT during run test case using selenium grid (or standalone or selenoid) #8932

Closed StanislavKharchenko closed 3 years ago

StanislavKharchenko commented 3 years ago

šŸ› Bug Report

During run test case on protractor using any selenium remote machine (it could be selenium standalone, or selenoid) the following error occurs from time to time:

ETIMEDOUT connect ETIMEDOUT xx.xx.xx.xx:443
          at ClientRequest.<anonymous> (/workdir/node_modules/selenium-webdriver/http/index.js:238:15)
          at emitOne (events.js:116:13)
          at ClientRequest.emit (events.js:211:7)
          at TLSSocket.socketErrorListener (_http_client.js:387:9)
          at emitOne (events.js:116:13)
          at TLSSocket.emit (events.js:211:7)
          at emitErrorNT (internal/streams/destroy.js:64:8)
          at _combinedTickCallback (internal/process/next_tick.js:138:11)
          at process._tickCallback (internal/process/next_tick.js:180:9)Error 

This looks the same issue which was fixed previously: https://github.com/SeleniumHQ/selenium/issues/8129

To Reproduce

Detailed steps to reproduce the behavior:

have a remote grid (selenium or selenoid would make no difference) deployed on the network, but not on your machine.
running those test(-s) should from time to time display errors about ETIMEDOUT

Expected behavior Test(-s) run without this exception

Environment

OS: Windows 10 Browser: Chrome 87.0.4280.66 Language: Javascript protractor 7.0 selenium standalone or selenoid

ghost commented 3 years ago

šŸ‘‹ Hi there! Thank you for creating this issue.

I am the Selenium Assistant Bot šŸ¤–, I triage issues in this repository. If I can't do it, I label it to help maintainers identify issues that need triaging.

I am an Open Source project šŸ™Œ, post bugs or ideas here!

ghost commented 3 years ago

ā—ļø It seems this issue is not using any of the supported templates

šŸ’” Supported issue types are (they start with):

Issue templates help this project to stay in shape, please use them and fill them out completely. By doing that you are helping the project because the community and maintainers can provide prompt feedback, and potentially solve the issue.

If you are asking a question, a better way to address this is:

If you think this is incorrect, please feel free to open a new issue.

Thank you for your contributions.