elgalu / docker-selenium

[NOT MAINTAINED] Please use <https://github.com/SeleniumHQ/docker-selenium>
https://github.com/SeleniumHQ/docker-selenium
Other
1.42k stars 334 forks source link

Grid connection refused exceptions. #371

Open PadineanuCosmin opened 4 years ago

PadineanuCosmin commented 4 years ago

Using the latest Chrome 80 image(with Zalenium) grid connections are refused. After this occurs the nodes disconnect from the hub and the hub freezes most of the time.

With the Chrome 79.0.3 image this doesn't occur.

Errors are the standard Selenium connection refused ones:


{ Error: Unhandled "error" event. ([object Object]) [09:53:06] [Step 6/14] at ClientManager.emit (events.js:186:19) [09:53:06] [Step 6/14] at Nightwatch. (/home/teamcity/buildAgent/work/ui-automation/node_modules/nightwatch/lib/runner/clientmanager.js:68:10) [09:53:06] [Step 6/14] at Object.onceWrapper (events.js:315:30) [09:53:06] [Step 6/14] at emitOne (events.js:116:13) [09:53:06] [Step 6/14] at Nightwatch.emit (events.js:211:7) [09:53:06] [Step 6/14] at HttpRequest. (/home/teamcity/buildAgent/work/ui-automation/node_modules/nightwatch/lib/index.js:501:10) [09:53:06] [Step 6/14] at emitTwo (events.js:126:13) [09:53:06] [Step 6/14] at HttpRequest.emit (events.js:214:7) [09:53:06] [Step 6/14] at HttpRequest. (/home/teamcity/buildAgent/work/ui-automation/node_modules/nightwatch/lib/index.js:485:15) [09:53:06] [Step 6/14] at emitThree (events.js:136:13) [09:53:06] [Step 6/14] at HttpRequest.emit (events.js:217:7) [09:53:06] [Step 6/14] at IncomingMessage. (/home/teamcity/buildAgent/work/ui-automation/node_modules/nightwatch/lib/http/request.js:170:16) [09:53:06] [Step 6/14] at emitNone (events.js:111:20) [09:53:06] [Step 6/14] at IncomingMessage.emit (events.js:208:7) [09:53:06] [Step 6/14] at endReadableNT (_stream_readable.js:1055:12) [09:53:06] [Step 6/14] at _combinedTickCallback (internal/process/next_tick.js:138:11) [09:53:06] [Step 6/14] context: [09:53:06] [Step 6/14] { message: 'Connection refused! Is selenium server started?\n', [09:53:06] [Step 6/14] data: { value: [Object] } } }


Error: Creating screenshot was not successful. Response was: [09:53:09] [Step 6/14] { status: -1, [09:53:09] [Step 6/14] value: [09:53:09] [Step 6/14] { class: 'org.openqa.grid.common.exception.GridException', [09:53:09] [Step 6/14] error: 'unknown error', [09:53:09] [Step 6/14] message: 'Session [null] not available and is not among the last 1000 terminated sessions.\nActive sessions are[ext. key 663caf10ec35bdbd2968ffad7d7109a7, ext. key 87b631d6d9516167d956d21cfb17fd5b, ext. key 7d45ef780995c8bb2cf2cd6378ba0069, ext. key b69538f22299ff215adabe1456d1811b, ext. key d8cdab2f596a21be9be5cfd37d948fba, ext. key 514dd9d2421375b18bff09620e6b4c8b, ext. key 255920460e0f52a1a58344c2ab78d53d, ext. key 4e4e90439682a30582be232d25ea3919, ext. key d16357b4acb0afcfeb64bc437a1dcad5, ext. key bc72f30887b4a2cea61887476f600a6b, ext. key 03e3c9431dd7e1d84847a261dddcc304, ext. key 5db18452a737eb917295e6963a7b27fe, ext. key 0db20b9b48551d1b03fba8131d5008d2, ext. key b12df10baffa3f68e65d6dfc7308fbaa, ext. key 1b1e1a14aac97ac6a6bd37eaa959f87f, ext. key 92dfa616400f9a816c6a3618d29be0bd, ext. key 65e7eae00b597844511a04612e363280, ext. key 8ec94f24af74a312cabeca14209b313e, ext. key 8bd385cfbcf6f3a4bf31367c7fe444b1, ext. key 6f73c114feb0b0419753f082262bfda6, 29b18aeb-de08-4061-9375-9b4797d22b7d (int. key, remote not contacted yet.), 92574958-e2a1-47f7-8a6c-f36d12b08bf9 (int. key, remote not contacted yet.), f99276b9-030a-4af3-b32f-8a11eb7897b6 (int. key, remote not contacted yet.)]' }, [09:53:09] [Step 6/14] errorStatus: 13, [09:53:09] [Step 6/14] error: 'An unknown server-side error occurred while processing the command.' } [09:53:09] [Step 6/14] at Object.protocol.screenshot (/home/teamcity/buildAgent/work/ui-automation/node_modules/nightwatch-cucumber/lib/nightwatch-api.js:147:18) [09:53:09] [Step 6/14] at HttpRequest. (/home/teamcity/buildAgent/work/ui-automation/node_modules/nightwatch/lib/index.js:366:18) [09:53:09] [Step 6/14] at emitTwo (events.js:126:13) [09:53:09] [Step 6/14] at HttpRequest.emit (events.js:214:7) [09:53:09] [Step 6/14] at HttpRequest. (/home/teamcity/buildAgent/work/ui-automation/node_modules/nightwatch/lib/index.js:393:15) [09:53:09] [Step 6/14] at emitThree (events.js:136:13) [09:53:09] [Step 6/14] at HttpRequest.emit (events.js:217:7) [09:53:09] [Step 6/14] at IncomingMessage. (/home/teamcity/buildAgent/work/ui-automation/node_modules/nightwatch/lib/http/request.js:172:16) [09:53:09] [Step 6/14] at emitNone (events.js:111:20) [09:53:09] [Step 6/14] at IncomingMessage.emit (events.js:208:7) [09:53:09] [Step 6/14] at endReadableNT (_stream_readable.js:1055:12) [09:53:09] [Step 6/14] at _combinedTickCallback (internal/process/next_tick.js:138:11) [09:53:09] [Step 6/14] at process._tickCallback (internal/process/next_tick.js:180:9)


Operating System

Image version

Docker version

Docker-Compose

(if using docker-compose)