aerokube / ggr

A lightweight load balancer used to create big Selenium clusters
https://aerokube.com/ggr/latest/
Apache License 2.0
314 stars 74 forks source link

[SESSION_FAILED] [http://127.0.0.1:32864/wd/hub] [500 Internal Server Error #309

Closed Revanth2020 closed 4 years ago

Revanth2020 commented 4 years ago

i tried to execute parallel more then 3 i am getting following error is it related to my system configuration or selenoid issue curl http://172.x.x.x:4445/ping

StatusCode : 200 StatusDescription : OK Content : {"uptime":"3m24.642046827s","lastReloadTime":"2020-03-18T13:55:36Z","numRequests":41,"version":"1.10.0"}

RawContent : HTTP/1.1 200 OK Content-Length: 105 Content-Type: application/json Date: Wed, 18 Mar 2020 13:59:00 GMT

                {"uptime":"3m24.642046827s","lastReloadTime":"2020-03-18T13:55:36Z","numRequests":41,"versi...

Forms : {} Headers : {[Content-Length, 105], [Content-Type, application/json], [Date, Wed, 18 Mar 2020 13:59:00 GMT]} Images : {} InputFields : {} Links : {} ParsedHtml : mshtml.HTMLDocumentClass RawContentLength : 105

GGR:-curl http://test:test-password@172.x.x.x:4444/ping

StatusCode : 200 StatusDescription : OK Content : {"uptime":"5m24.054521973s","lastReloadTime":"2020-03-18T13:53:18Z","numRequests":4,"numSessions":0,"version":"1.6.6"}

RawContent : HTTP/1.1 200 OK Content-Length: 119 Content-Type: application/json Date: Wed, 18 Mar 2020 13:58:42 GMT

                {"uptime":"5m24.054521973s","lastReloadTime":"2020-03-18T13:53:18Z","numRequests":4,"numSes...

Forms : {} Headers : {[Content-Length, 119], [Content-Type, application/json], [Date, Wed, 18 Mar 2020 13:58:42 GMT]} Images : {} InputFields : {} Links : {} ParsedHtml : mshtml.HTMLDocumentClass RawContentLength : 119

vania-pooh commented 4 years ago

@Revanth2020 I don't get which browser you are using but in case of using Microsoft Edge without Docker only one session can be run in parallel. This is EdgeHTML limitation.

Revanth2020 commented 4 years ago

can i know how to balance max session of firefox in 2 systems using GGR with each system has 4 cores can you please provide this information

Revanth2020 commented 4 years ago

if possible can i get ggr XMl and conf

vania-pooh commented 4 years ago

@Revanth2020 on 4 cores you can run up to 6-8 browsers in parallel maximum depending on your applications. In some rare cases (very big applications with a lot of Javascript) this can lower to 4.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.