-
Notifications
You must be signed in to change notification settings - Fork 35
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
Comments
Please check browser pods status, and see if there are pending pods, also
you can increase selenium client timeout.
чт, 20 февр. 2025 г., 11:02 BlueBlueSummer ***@***.***>:
… 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
—
Reply to this email directly, view it on GitHub
<#278>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKY23NZDDDXXLIQ2OF7BPD2QWDZPAVCNFSM6AAAAABXQCYS6CVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA3DKMZXHA4DIMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
[image: BlueBlueSummer]*BlueBlueSummer* created an issue
(aerokube/charts#278) <#278>
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
—
Reply to this email directly, view it on GitHub
<#278>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKY23NZDDDXXLIQ2OF7BPD2QWDZPAVCNFSM6AAAAABXQCYS6CVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA3DKMZXHA4DIMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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? |
sessionTimeout is not client timeout, Selenide has its own timeout for
session creation, please check it and increase.
чт, 20 февр. 2025 г. в 14:37, BlueBlueSummer ***@***.***>:
… Hi @aandryashin <https://github.com/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?
—
Reply to this email directly, view it on GitHub
<#278 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKY23N4242QBJJHWTTI4Y32QW5A3AVCNFSM6AAAAABXQCYS6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRGI2DENRWG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: BlueBlueSummer]*BlueBlueSummer* left a comment
(aerokube/charts#278)
<#278 (comment)>
Hi @aandryashin <https://github.com/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?
—
Reply to this email directly, view it on GitHub
<#278 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKY23N4242QBJJHWTTI4Y32QW5A3AVCNFSM6AAAAABXQCYS6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRGI2DENRWG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
You mean SelenideConfig.pageLoadTimeout, we already set it to 180s. But if it works, the api should not return in 90s |
I mean timeout like curl's -t option, when client disconnects from server
and does not wait for reply.
чт, 20 февр. 2025 г., 15:47 BlueBlueSummer ***@***.***>:
… You mean SelenideConfig.pageLoadTimeout, we already set it to 180s. But if
it works, the api should not return in 90s
—
Reply to this email directly, view it on GitHub
<#278 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKY23JUR2USZXFUAH62OOD2QXFFJAVCNFSM6AAAAABXQCYS6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRGM4TOMJQGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: BlueBlueSummer]*BlueBlueSummer* left a comment
(aerokube/charts#278)
<#278 (comment)>
You mean SelenideConfig.pageLoadTimeout, we already set it to 180s. But if
it works, the api should not return in 90s
—
Reply to this email directly, view it on GitHub
<#278 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKY23JUR2USZXFUAH62OOD2QXFFJAVCNFSM6AAAAABXQCYS6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRGM4TOMJQGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I cannot find this setting, it will be great if you can share some examples. |
Here is docs:
https://selenide.org/javadoc/current/com/codeborne/selenide/Configuration.html
Looks like you need remoteConnectionTimeout
чт, 20 февр. 2025 г., 16:42 BlueBlueSummer ***@***.***>:
… I cannot find this setting, it will be great if you can share some
examples.
—
Reply to this email directly, view it on GitHub
<#278 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKY23PPT5HY4KAAOPVSVZL2QXLURAVCNFSM6AAAAABXQCYS6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRGUZTQNBYGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: BlueBlueSummer]*BlueBlueSummer* left a comment
(aerokube/charts#278)
<#278 (comment)>
I cannot find this setting, it will be great if you can share some
examples.
—
Reply to this email directly, view it on GitHub
<#278 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKY23PPT5HY4KAAOPVSVZL2QXLURAVCNFSM6AAAAABXQCYS6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZRGUZTQNBYGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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.
As for browsers, we have enough nodes to hold them, no idea why this disconnection happens, my moon2 version is 2.3.7
The text was updated successfully, but these errors were encountered: