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

[Too Many Requests] issue #370

Closed Puvvada-Ananth closed 1 year ago

Puvvada-Ananth commented 1 year ago

Hi Team,

Before coming to issue, My GGR node and selenoid agents are health with no issues and we are able to see that few sessions are already running and able to see them from selenoid UI

I got the below logs by running docker logs -f ggr

2023/02/03 13:30:31 [5586229] [0.09s] [SESSION_FAILED] [xxxxxxx] [172.17.0.1] [chrome-latest] [10.229.219.111:4444] [-] [1] [Too Many Requests]

image

vania-pooh commented 1 year ago

@Puvvada-Ananth that means all browser slots on this host were already taken and Ggr selected another host. However when all hosts were tried Ggr will wait on the last one until session is created or your code disconnects. So the reason of this exception in your code is that you took all available browsers.

stale[bot] commented 1 year 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.