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
Balancer only works with two hubs #72
Comments
@MissiaL this is strange because Ggr randomly distributes requests across hubs. Do you see any |
No, I do not see any error messages. However, I'm sure that 3 hubs are running |
Ggr is stateless and it uses random numbers to distribute requests, so it is possible to forward request to occupied node. |
@MissiaL btw, I see you are using Docker to launch all the stuff. Are ports for all Selenoid containers forwarded correctly? |
@MissiaL any updates? |
Yes, hub ports are configured correctly. There are no errors in the logs. But at the same time there are always only 2 hubs out of three ( |
@MissiaL how many parallel Selenium sessions are you requesting? You could try to request 3+ sessions and see that sessions are distributed uniformly. Also couldn't you forget to reload quota information? Just send SIGHUP to Ggr container or process:
When reloading quota information Ggr prints XML it actually read to log. Please check that your third host is there and try again. |
More than three sessions. I tried to create 20 sessions and they only work with two hubs
I see in log that exists three avialable hub. But only two hubs work |
Very interesting. Will investigate. |
I conducted the experiment. Disconnected two workers' hubs and left only one hub that did not work with ggr. Connected to it directly and run one browser.
Maybe it to help you Afetr them i set |
If I configure all three hubs to connect to only one version of Firefox, then there are still only two hubs working ( |
@MissiaL I reproduced the issue with test. Will be fixed soon. |
Fixed in #80. Please try to run your tests against: |
MY ENV
When I run the tests, I see that only 2 hubs work from 3. Why does this happen?
The text was updated successfully, but these errors were encountered: