Closed cod-r closed 4 years ago
@cod-r selenium-grid-1
should be a valid hostname where Selenium Hub is running.
As I already pointed out, some of the sessions are working, sometimes I get no error at all and all 20 tests run without errors but most of the time I encounter these [PROXY_ERROR] for some of the tests (never for all of them).
If there is something that I can do to further debug this problem please tell me as I already have everything in place and it's easy to reproduce.
@cod-r I would check your DNS settings (/etc/resolv.conf
), e.g. whether you are using some caching DNS server.
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.
Hi,
I'm testing ggr with two selenium grids (hubs), each grid has 10 nodes (chrome browsers). When sending 20 new session requests at once I get random errors like:
When the error happens for one session there is always these 3 logs for it in ggr^^^ And the following log appears in the selenium grid:
This means the session is created but never used so a timeout occurs in the grid. Notice the same session id.
The following error arrives in my test:
I've been using the selenium grid for a long time and it's the first time I'm seeing this type of error
org.openqa.selenium.json.JsonException
which happend only with ggr. So this might be a good clue for debugging. Note: I replaced the original IPs with x and yExpected behaviour:
Start 10 browser sessions on each grid without errors.
Actual behaviour:
Random number of sessions have errors. Sometimes 3, sometimes 10, rarely none.
This is my quota:
Grid settings (same on both grids):
The grids, nodes and ggr are running on very powerful servers so there is no problem of enough resources.