Skip to content

[🐛 Bug]: Hub/Node stops responding when scanned by vulnerability scanning software #1497

@erik-rnbt

Description

@erik-rnbt

What happened?

After a Nessus Scan(vulnerability scanning software) the Website only show the Text "Loading" and cant be reached. This should be related to #1469 which was fixed in the last release.

Timestamps are the same, i just forgot to set the timezone on the hub.
Log Node:

08:32:02.883 WARN [UnboundZmqEventBus$PollingRunnable.run] - Caught exception while polling for event bus messages: UUID string too large

java.lang.IllegalArgumentException: UUID string too large

        at java.base/java.util.UUID.fromString(UUID.java:199)

        at org.openqa.selenium.events.zeromq.UnboundZmqEventBus$PollingRunnable.run(UnboundZmqEventBus.java:241)

        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

        at java.base/java.lang.Thread.run(Thread.java:829)

08:32:02.938 ERROR [UnboundZmqEventBus$PollingRunnable.rejectEvent] - Received message without a valid secret. Rejecting. Event[id=220621d5-58f4-4b5d-b20b-e50a10af1bfd, type=selenium-rejected-event, data={"data": "��\t�\u0013\u00003\u00002\u0000�\u0000�\u0000E\u0000D�\u0018\u00004\u0000�\u0000F�\u0007�\u0011�\u0016\u0000\u0018�\b�\u0012\u0000\u0016\u0000\u0013�\u0017\u0000\u001b\u00005\u0000�\u0000\u002f\u0000�\u0000A\u0000\u0007","name": "�ot�1��G\u0004��#KX�\u0006ON\u0000\u0000R�\n�\u0014\u00009\u00008\u0000�\u0000��\u0019\u0000"}] -> ��   �32��ED�4�F������/�A

Log Hub:

07:32:02.882 WARN [UnboundZmqEventBus$PollingRunnable.run] - Caught exception while polling for event bus messages: UUID string too large

java.lang.IllegalArgumentException: UUID string too large

        at java.base/java.util.UUID.fromString(UUID.java:199)

        at org.openqa.selenium.events.zeromq.UnboundZmqEventBus$PollingRunnable.run(UnboundZmqEventBus.java:241)

        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

        at java.base/java.lang.Thread.run(Thread.java:829)

07:32:02.935 ERROR [UnboundZmqEventBus$PollingRunnable.rejectEvent] - Received message without a valid secret. Rejecting. Event[id=68e768fc-24ec-40ab-a1d7-3815aee77113, type=selenium-rejected-event, data={"data": "��\t�\u0013\u00003\u00002\u0000�\u0000�\u0000E\u0000D�\u0018\u00004\u0000�\u0000F�\u0007�\u0011�\u0016\u0000\u0018�\b�\u0012\u0000\u0016\u0000\u0013�\u0017\u0000\u001b\u00005\u0000�\u0000\u002f\u0000�\u0000A\u0000\u0007","name": "�ot�1��G\u0004��#KX�\u0006ON\u0000\u0000R�\n�\u0014\u00009\u00008\u0000�\u0000��\u0019\u0000"}] -> ��   �32��ED�4�F������/�A

07:32:52.624 WARN [SeleniumSpanExporter$1.lambda$export$0] - {"traceId": "5ff8e20c8f4de395d834dd60b0eb28b8","eventTime": 1643787172623046714,"eventName": "exception","attributes": {"exception.message": "Unable to execute request for an existing session: Unable to find session with ID: \nBuild info: version: '4.1.2', revision: '9a5a329c5a'\nSystem info: host: '96e1264419bb', ip: '10.88.0.16', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.7.1.el8_5.x86_64', java.version: '11.0.13'\nDriver info: driver.version: unknown","exception.stacktrace": "org.openqa.selenium.NoSuchSessionException: Unable to find session with ID: \nBuild info: version: '4.1.2', revision: '9a5a329c5a'\nSystem info: host: '96e1264419bb', ip: '10.88.0.16', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.7.1.el8_5.x86_64', java.version: '11.0.13'\nDriver info: driver.version: unknown\n\tat org.openqa.selenium.grid.sessionmap.local.LocalSessionMap.get(LocalSessionMap.java:129)\n\tat org.openqa.selenium.grid.router.HandleSession.lambda$loadSessionId$3(HandleSession.java:147)\n\tat io.opentelemetry.context.Context.lambda$wrap$2(Context.java:219)\n\tat org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:110)\n\tat org.openqa.selenium.remote.http.Route$PredicatedRoute.handle(Route.java:373)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.grid.router.Router.execute(Router.java:91)\n\tat org.openqa.selenium.grid.web.EnsureSpecCompliantResponseHeaders.lambda$apply$0(EnsureSpecCompliantResponseHeaders.java:34)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.AddWebDriverSpecHeaders.lambda$apply$0(AddWebDriverSpecHeaders.java:35)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.netty.server.SeleniumHandler.lambda$channelRead0$0(SeleniumHandler.java:44)\n\tat java.base\u002fjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base\u002fjava.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base\u002fjava.lang.Thread.run(Thread.java:829)\n","exception.type": "org.openqa.selenium.NoSuchSessionException","http.flavor": 1,"http.handler_class": "org.openqa.selenium.grid.router.HandleSession","http.host": "*I deleted servername*","http.method": "GET","http.scheme": "HTTP","http.target": "\u002fsession\u002f","http.user_agent": "Mozilla\u002f4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\u002f4.0)","session.id": ""}}

 

07:34:19.464 WARN [SeleniumSpanExporter$1.lambda$export$0] - {"traceId": "f5958b75bec27911c754b65750f65e23","eventTime": 1643787259463365237,"eventName": "exception","attributes": {"exception.message": "Unable to execute request for an existing session: Unable to find session with ID: login.php\nBuild info: version: '4.1.2', revision: '9a5a329c5a'\nSystem info: host: '96e1264419bb', ip: '10.88.0.16', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.7.1.el8_5.x86_64', java.version: '11.0.13'\nDriver info: driver.version: unknown","exception.stacktrace": "org.openqa.selenium.NoSuchSessionException: Unable to find session with ID: login.php\nBuild info: version: '4.1.2', revision: '9a5a329c5a'\nSystem info: host: '96e1264419bb', ip: '10.88.0.16', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.7.1.el8_5.x86_64', java.version: '11.0.13'\nDriver info: driver.version: unknown\n\tat org.openqa.selenium.grid.sessionmap.local.LocalSessionMap.get(LocalSessionMap.java:129)\n\tat org.openqa.selenium.grid.router.HandleSession.lambda$loadSessionId$3(HandleSession.java:147)\n\tat io.opentelemetry.context.Context.lambda$wrap$2(Context.java:219)\n\tat org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:110)\n\tat org.openqa.selenium.remote.http.Route$PredicatedRoute.handle(Route.java:373)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.grid.router.Router.execute(Router.java:91)\n\tat org.openqa.selenium.grid.web.EnsureSpecCompliantResponseHeaders.lambda$apply$0(EnsureSpecCompliantResponseHeaders.java:34)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.AddWebDriverSpecHeaders.lambda$apply$0(AddWebDriverSpecHeaders.java:35)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.netty.server.SeleniumHandler.lambda$channelRead0$0(SeleniumHandler.java:44)\n\tat java.base\u002fjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base\u002fjava.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base\u002fjava.lang.Thread.run(Thread.java:829)\n","exception.type": "org.openqa.selenium.NoSuchSessionException","http.flavor": 1,"http.handler_class": "org.openqa.selenium.grid.router.HandleSession","http.host": "*i deleted servername*","http.method": "GET","http.scheme": "HTTP","http.target": "\u002fsession\u002flogin.php","http.user_agent": "Mozilla\u002f4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\u002f4.0)","session.id": "login.php"}}

Command used to start Selenium Grid with Docker

docker run -d -p 4442-4444:4442-4444 \
--name selenium-hub selenium/hub:latest

Relevant log output

08:32:02.883 WARN [UnboundZmqEventBus$PollingRunnable.run] - Caught exception while polling for event bus messages: UUID string too large

java.lang.IllegalArgumentException: UUID string too large

        at java.base/java.util.UUID.fromString(UUID.java:199)

        at org.openqa.selenium.events.zeromq.UnboundZmqEventBus$PollingRunnable.run(UnboundZmqEventBus.java:241)

        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

        at java.base/java.lang.Thread.run(Thread.java:829)

08:32:02.938 ERROR [UnboundZmqEventBus$PollingRunnable.rejectEvent] - Received message without a valid secret. Rejecting. Event[id=220621d5-58f4-4b5d-b20b-e50a10af1bfd, type=selenium-rejected-event, data={"data": "��\t�\u0013\u00003\u00002\u0000�\u0000�\u0000E\u0000D�\u0018\u00004\u0000�\u0000F�\u0007�\u0011�\u0016\u0000\u0018�\b�\u0012\u0000\u0016\u0000\u0013�\u0017\u0000\u001b\u00005\u0000�\u0000\u002f\u0000�\u0000A\u0000\u0007","name": "�ot�1��G\u0004��#KX�\u0006ON\u0000\u0000R�\n�\u0014\u00009\u00008\u0000�\u0000��\u0019\u0000"}] -> ��   �32��ED�4�F������/�A



07:32:02.882 WARN [UnboundZmqEventBus$PollingRunnable.run] - Caught exception while polling for event bus messages: UUID string too large

java.lang.IllegalArgumentException: UUID string too large

        at java.base/java.util.UUID.fromString(UUID.java:199)

        at org.openqa.selenium.events.zeromq.UnboundZmqEventBus$PollingRunnable.run(UnboundZmqEventBus.java:241)

        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

        at java.base/java.lang.Thread.run(Thread.java:829)

07:32:02.935 ERROR [UnboundZmqEventBus$PollingRunnable.rejectEvent] - Received message without a valid secret. Rejecting. Event[id=68e768fc-24ec-40ab-a1d7-3815aee77113, type=selenium-rejected-event, data={"data": "��\t�\u0013\u00003\u00002\u0000�\u0000�\u0000E\u0000D�\u0018\u00004\u0000�\u0000F�\u0007�\u0011�\u0016\u0000\u0018�\b�\u0012\u0000\u0016\u0000\u0013�\u0017\u0000\u001b\u00005\u0000�\u0000\u002f\u0000�\u0000A\u0000\u0007","name": "�ot�1��G\u0004��#KX�\u0006ON\u0000\u0000R�\n�\u0014\u00009\u00008\u0000�\u0000��\u0019\u0000"}] -> ��   �32��ED�4�F������/�A

07:32:52.624 WARN [SeleniumSpanExporter$1.lambda$export$0] - {"traceId": "5ff8e20c8f4de395d834dd60b0eb28b8","eventTime": 1643787172623046714,"eventName": "exception","attributes": {"exception.message": "Unable to execute request for an existing session: Unable to find session with ID: \nBuild info: version: '4.1.2', revision: '9a5a329c5a'\nSystem info: host: '96e1264419bb', ip: '10.88.0.16', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.7.1.el8_5.x86_64', java.version: '11.0.13'\nDriver info: driver.version: unknown","exception.stacktrace": "org.openqa.selenium.NoSuchSessionException: Unable to find session with ID: \nBuild info: version: '4.1.2', revision: '9a5a329c5a'\nSystem info: host: '96e1264419bb', ip: '10.88.0.16', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.7.1.el8_5.x86_64', java.version: '11.0.13'\nDriver info: driver.version: unknown\n\tat org.openqa.selenium.grid.sessionmap.local.LocalSessionMap.get(LocalSessionMap.java:129)\n\tat org.openqa.selenium.grid.router.HandleSession.lambda$loadSessionId$3(HandleSession.java:147)\n\tat io.opentelemetry.context.Context.lambda$wrap$2(Context.java:219)\n\tat org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:110)\n\tat org.openqa.selenium.remote.http.Route$PredicatedRoute.handle(Route.java:373)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.grid.router.Router.execute(Router.java:91)\n\tat org.openqa.selenium.grid.web.EnsureSpecCompliantResponseHeaders.lambda$apply$0(EnsureSpecCompliantResponseHeaders.java:34)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.AddWebDriverSpecHeaders.lambda$apply$0(AddWebDriverSpecHeaders.java:35)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.netty.server.SeleniumHandler.lambda$channelRead0$0(SeleniumHandler.java:44)\n\tat java.base\u002fjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base\u002fjava.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base\u002fjava.lang.Thread.run(Thread.java:829)\n","exception.type": "org.openqa.selenium.NoSuchSessionException","http.flavor": 1,"http.handler_class": "org.openqa.selenium.grid.router.HandleSession","http.host": "*I deleted servername*","http.method": "GET","http.scheme": "HTTP","http.target": "\u002fsession\u002f","http.user_agent": "Mozilla\u002f4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\u002f4.0)","session.id": ""}}

 

07:34:19.464 WARN [SeleniumSpanExporter$1.lambda$export$0] - {"traceId": "f5958b75bec27911c754b65750f65e23","eventTime": 1643787259463365237,"eventName": "exception","attributes": {"exception.message": "Unable to execute request for an existing session: Unable to find session with ID: login.php\nBuild info: version: '4.1.2', revision: '9a5a329c5a'\nSystem info: host: '96e1264419bb', ip: '10.88.0.16', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.7.1.el8_5.x86_64', java.version: '11.0.13'\nDriver info: driver.version: unknown","exception.stacktrace": "org.openqa.selenium.NoSuchSessionException: Unable to find session with ID: login.php\nBuild info: version: '4.1.2', revision: '9a5a329c5a'\nSystem info: host: '96e1264419bb', ip: '10.88.0.16', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.7.1.el8_5.x86_64', java.version: '11.0.13'\nDriver info: driver.version: unknown\n\tat org.openqa.selenium.grid.sessionmap.local.LocalSessionMap.get(LocalSessionMap.java:129)\n\tat org.openqa.selenium.grid.router.HandleSession.lambda$loadSessionId$3(HandleSession.java:147)\n\tat io.opentelemetry.context.Context.lambda$wrap$2(Context.java:219)\n\tat org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:110)\n\tat org.openqa.selenium.remote.http.Route$PredicatedRoute.handle(Route.java:373)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.grid.router.Router.execute(Router.java:91)\n\tat org.openqa.selenium.grid.web.EnsureSpecCompliantResponseHeaders.lambda$apply$0(EnsureSpecCompliantResponseHeaders.java:34)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\n\tat org.openqa.selenium.remote.AddWebDriverSpecHeaders.lambda$apply$0(AddWebDriverSpecHeaders.java:35)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\n\tat org.openqa.selenium.netty.server.SeleniumHandler.lambda$channelRead0$0(SeleniumHandler.java:44)\n\tat java.base\u002fjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base\u002fjava.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base\u002fjava.lang.Thread.run(Thread.java:829)\n","exception.type": "org.openqa.selenium.NoSuchSessionException","http.flavor": 1,"http.handler_class": "org.openqa.selenium.grid.router.HandleSession","http.host": "*i deleted servername*","http.method": "GET","http.scheme": "HTTP","http.target": "\u002fsession\u002flogin.php","http.user_agent": "Mozilla\u002f4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\u002f4.0)","session.id": "login.php"}}

Operating System

Linux RHEL8

Docker Selenium version (tag)

4.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions