Skip to content
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

selenium client disconnected while waited in queue #278

Open
BlueBlueSummer opened this issue Feb 20, 2025 · 7 comments
Open

selenium client disconnected while waited in queue #278

BlueBlueSummer opened this issue Feb 20, 2025 · 7 comments

Comments

@BlueBlueSummer
Copy link

Hi,
I frequently get following error when opening url
selenium client disconnected while waited in queue

And I cannot find any detail logs, also I tried to find loglevel in moon2, but no luck.
I checked the cpu/mem usage in moon2, is in low state.

name: moon
ports:
- containerPort: 4444
protocol: TCP
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 125m
memory: 256Mi

As for browsers, we have enough nodes to hold them, no idea why this disconnection happens, my moon2 version is 2.3.7

@aandryashin
Copy link
Member

aandryashin commented Feb 20, 2025 via email

@BlueBlueSummer
Copy link
Author

Hi @aandryashin Thanks for the reply!

I checked that there is no pending pods, I suspect that the request still in moon's queue. Also I use the default timeout(sessionTimeout: 5m) for selenium client, while the SelenideDriver driver.open() api always return error around 90s.

What will happen if we are trying to create more concurrent sessions than the free limit(4), waiting in queue or just terminate the requests?

@aandryashin
Copy link
Member

aandryashin commented Feb 20, 2025 via email

@BlueBlueSummer
Copy link
Author

You mean SelenideConfig.pageLoadTimeout, we already set it to 180s. But if it works, the api should not return in 90s

@aandryashin
Copy link
Member

aandryashin commented Feb 20, 2025 via email

@BlueBlueSummer
Copy link
Author

BlueBlueSummer commented Feb 20, 2025

I cannot find this setting, it will be great if you can share some examples.

@aandryashin
Copy link
Member

aandryashin commented Feb 20, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants