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

[🐛 Bug]: Sometimes noVNC doesn't work #2091

Closed
Doofus100500 opened this issue Jan 17, 2024 · 9 comments
Closed

[🐛 Bug]: Sometimes noVNC doesn't work #2091

Doofus100500 opened this issue Jan 17, 2024 · 9 comments

Comments

@Doofus100500
Copy link
Contributor

Doofus100500 commented Jan 17, 2024

What happened?

Sometimes noVNC doesn't work, even though "se:vncEnabled": true is present in the capabilities

To reproduce this you can use my test
SeleniumTest.zip

image_2024-01-17_13-44-12
image_2024-01-17_13-44-38

Command used to start Selenium Grid with Docker (or Kubernetes)

helm

Relevant log output

Capabilities:

{
  "acceptInsecureCerts": false,
  "browserName": "firefox",
  "browserVersion": "120.0.1",
  "grid:teamName": "idevops",
  "moz:accessibilityChecks": false,
  "moz:buildID": "20231129155202",
  "moz:geckodriverVersion": "0.33.0",
  "moz:headless": false,
  "moz:platformVersion": "5.4.0-164-generic",
  "moz:processID": 144,
  "moz:profile": "/tmp/rust_mozprofileZOyeGo",
  "moz:shutdownTimeout": 60000,
  "moz:webdriverClick": true,
  "moz:windowless": false,
  "pageLoadStrategy": "normal",
  "platformName": "linux",
  "proxy": {},
  "se:noVncPort": 7900,
  "se:vncEnabled": true,
  "se:vncLocalAddress": "ws://10.223.126.118:7900",
  "setWindowRect": true,
  "strictFileInteractability": false,
  "timeouts": {
    "implicit": 0,
    "pageLoad": 300000,
    "script": 30000
  },
  "unhandledPromptBehavior": "dismiss and notify"
}`

Operating System

k8s

Docker Selenium version (image tag)

4.16.1-20231219

Selenium Grid chart version (chart version)

0.26.4

Copy link

@Doofus100500, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

Copy link

Hi, @Doofus100500.
Please follow the issue template, we need more information to reproduce the issue.

Either a complete code snippet and URL/HTML (if more than one file is needed, provide a GitHub repo and instructions to run the code), the specific versions used, or a more detailed description to help us understand the issue.

Note: If you cannot share your code and URL/HTML, any complete code snippet and URL/HTML that reproduces the issue is good enough.

Reply to this issue when all information is provided, thank you.

@Doofus100500
Copy link
Contributor Author

Add the test to reproduce this

@VietND96
Copy link
Member

Can you take a look any similar to this? #2084

@VietND96
Copy link
Member

Via screenshot I understand that you want to point a session without recorder button is visible? It looks like Xvfb not started or crashed in that node

@Doofus100500
Copy link
Contributor Author

Doofus100500 commented Jan 19, 2024

It looks like Xvfb not started or crashed in that node

No, the logs are fine on this and even the video of the session successfully recorded on the s3

@VietND96
Copy link
Member

There was a fix for delay in x11vnc (#2119). Can you use nightly build to recheck and confirm?

@VietND96
Copy link
Member

In addition, there was a fix for issue where xauth not found, preventing xvfb from starting - a9dc7b7
Please use nightly build to recheck and confirm.
I will mark this as completed. Let's reopen if the intermittent issue occurs again. Thanks!

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants