Skip to content

[🐛 Bug]: noVNC session not showing anything #2154

Closed
@kristaps-aksjonovs

Description

@kristaps-aksjonovs

What happened?

After starting the standalone or hub docker container and trying to debug using noVNC it shows nothing.
With Chrome Version 108, it was working as usual, but with versions 120, 121, and 122 it seems not to work anymore when trying to inspect the session.

no_VNC_session

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

docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-chrome:4.18.1-20240224

Relevant log output

2024-02-29 09:41:15 2024-02-29 07:41:15,607 INFO Included extra file "/etc/supervisor/conf.d/selenium.conf" during parsing
2024-02-29 09:41:15 2024-02-29 07:41:15,609 INFO RPC interface 'supervisor' initialized
2024-02-29 09:41:15 2024-02-29 07:41:15,610 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-02-29 09:41:15 2024-02-29 07:41:15,610 INFO supervisord started with pid 24
2024-02-29 09:41:16 2024-02-29 07:41:16,618 INFO spawned: 'xvfb' with pid 31
2024-02-29 09:41:16 2024-02-29 07:41:16,621 INFO spawned: 'vnc' with pid 32
2024-02-29 09:41:16 2024-02-29 07:41:16,623 INFO spawned: 'novnc' with pid 33
2024-02-29 09:41:16 2024-02-29 07:41:16,626 INFO spawned: 'selenium-standalone' with pid 34
2024-02-29 09:41:16 2024-02-29 07:41:16,735 INFO success: xvfb entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-02-29 09:41:16 2024-02-29 07:41:16,736 INFO success: vnc entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-02-29 09:41:16 2024-02-29 07:41:16,736 INFO success: novnc entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-02-29 09:41:16 2024-02-29 07:41:16,736 INFO success: selenium-standalone entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-02-29 09:41:16 2024-02-29 07:41:16,736 INFO exited: novnc (terminated by SIGTRAP; not expected)
2024-02-29 09:41:16 Appending Selenium options: --heartbeat-period 30
2024-02-29 09:41:16 Appending Selenium options: --reject-unsupported-caps false
2024-02-29 09:41:16 Setting up SE_NODE_GRID_URL...
2024-02-29 09:41:16 Selenium Grid Standalone configuration: 
2024-02-29 09:41:16 [network]
2024-02-29 09:41:16 relax-checks = true
2024-02-29 09:41:16 
2024-02-29 09:41:16 [node]
2024-02-29 09:41:16 session-timeout = "300"
2024-02-29 09:41:16 override-max-sessions = false
2024-02-29 09:41:16 detect-drivers = false
2024-02-29 09:41:16 drain-after-session-count = 0
2024-02-29 09:41:16 max-sessions = 1
2024-02-29 09:41:16 
2024-02-29 09:41:16 [[node.driver-configuration]]
2024-02-29 09:41:16 display-name = "chrome"
2024-02-29 09:41:16 stereotype = '{"browserName": "chrome", "browserVersion": "122.0", "platformName": "Linux", "goog:chromeOptions": {"binary": "/usr/bin/google-chrome"}}'
2024-02-29 09:41:16 max-sessions = 1
2024-02-29 09:41:16 
2024-02-29 09:41:16 Starting Selenium Grid Standalone...
2024-02-29 09:41:16 Tracing is disabled
2024-02-29 09:41:17 07:41:17.666 INFO [LoggingOptions.configureLogEncoding] - Using the system default encoding
2024-02-29 09:41:17 07:41:17.674 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
2024-02-29 09:41:18 07:41:18.371 INFO [NodeOptions.getSessionFactories] - Detected 3 available processors
2024-02-29 09:41:18 07:41:18.429 INFO [NodeOptions.report] - Adding chrome for {"browserName": "chrome","browserVersion": "122.0","goog:chromeOptions": {"binary": "\u002fusr\u002fbin\u002fgoogle-chrome"},"platformName": "linux","se:noVncPort": 7900,"se:vncEnabled": true} 1 times
2024-02-29 09:41:18 07:41:18.451 INFO [Node.<init>] - Binding additional locator mechanisms: relative
2024-02-29 09:41:18 07:41:18.474 INFO [GridModel.setAvailability] - Switching Node 36527a08-dc88-4d41-98d9-c3e5f2ddfd55 (uri: http://172.17.0.2:4444) from DOWN to UP
2024-02-29 09:41:18 07:41:18.474 INFO [LocalDistributor.add] - Added node 36527a08-dc88-4d41-98d9-c3e5f2ddfd55 at http://172.17.0.2:4444. Health check every 120s
2024-02-29 09:41:18 07:41:18.564 INFO [Standalone.execute] - Started Selenium Standalone 4.18.1 (revision b1d3319b48): http://172.17.0.2:4444
2024-02-29 09:41:19 2024-02-29 07:41:19,593 INFO exited: vnc (terminated by SIGTRAP; not expected)
2024-02-29 09:41:55 07:41:55.427 INFO [LocalDistributor.newSession] - Session request received by the Distributor: 
2024-02-29 09:41:55  [Capabilities {browserName: chrome}]
2024-02-29 09:41:58 07:41:58.162 INFO [LocalNode.newSession] - Session created by the Node. Id: 50d83fc47fe5ae8ee34211cef4f33abd, Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 122.0.6261.69, chrome: {chromedriverVersion: 122.0.6261.69 (81bc525b6a36..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:32893}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.17.0.2:4444/sessio..., se:cdpVersion: 122.0.6261.69, se:vnc: ws://172.17.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
2024-02-29 09:41:58 07:41:58.175 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 50d83fc47fe5ae8ee34211cef4f33abd 
2024-02-29 09:41:58  Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 122.0.6261.69, chrome: {chromedriverVersion: 122.0.6261.69 (81bc525b6a36..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:32893}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.17.0.2:4444/sessio..., se:cdpVersion: 122.0.6261.69, se:vnc: ws://172.17.0.2:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.17.0.2:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
2024-02-29 09:42:04 07:42:04.592 INFO [ProxyNodeWebsockets.createWsEndPoint] - Establishing connection to ws://172.17.0.2:7900
2024-02-29 09:42:04 07:42:04.617 WARN [DefaultChannelPipeline.onUnhandledInboundException] - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
2024-02-29 09:42:04 java.lang.NullPointerException
2024-02-29 09:42:04 at org.openqa.selenium.netty.server.RequestConverter.channelRead0(RequestConverter.java:127)
2024-02-29 09:42:04 at org.openqa.selenium.netty.server.RequestConverter.channelRead0(RequestConverter.java:52)
2024-02-29 09:42:04 at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
2024-02-29 09:42:04 at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:102)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
2024-02-29 09:42:04 at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:102)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
2024-02-29 09:42:04 at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
2024-02-29 09:42:04 at org.openqa.selenium.netty.server.WebSocketUpgradeHandler.channelRead(WebSocketUpgradeHandler.java:98)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
2024-02-29 09:42:04 at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
2024-02-29 09:42:04 at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:91)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
2024-02-29 09:42:04 at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
2024-02-29 09:42:04 at io.netty.handler.codec.http.HttpServerKeepAliveHandler.channelRead(HttpServerKeepAliveHandler.java:64)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
2024-02-29 09:42:04 at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
2024-02-29 09:42:04 at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
2024-02-29 09:42:04 at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
2024-02-29 09:42:04 at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
2024-02-29 09:42:04 at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
2024-02-29 09:42:04 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
2024-02-29 09:42:04 at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
2024-02-29 09:42:04 at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
2024-02-29 09:42:04 at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
2024-02-29 09:42:04 at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
2024-02-29 09:42:04 at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
2024-02-29 09:42:04 at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
2024-02-29 09:42:04 at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
2024-02-29 09:42:04 at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
2024-02-29 09:42:04 at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
2024-02-29 09:42:04 at java.base/java.lang.Thread.run(Thread.java:829)
2024-02-29 09:42:06 07:42:06.684 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 50d83fc47fe5ae8ee34211cef4f33abd
2024-02-29 09:42:06 07:42:06.685 INFO [GridModel.release] - Releasing slot for session id 50d83fc47fe5ae8ee34211cef4f33abd
2024-02-29 09:42:06 07:42:06.686 INFO [SessionSlot.stop] - Stopping session 50d83fc47fe5ae8ee34211cef4f33abd

Operating System

macOS Sonoma 14.2.1 (23C71) Apple M3

Docker Selenium version (image tag)

4.18.1-20240224

Selenium Grid chart version (chart version)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions