Skip to content

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

@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. Should be related to: SeleniumHQ/docker-selenium#1497

How can we reproduce the issue?

HUB: docker run -d -p 4442-4444:4442-4444 --log-level trace --name selenium-hub [Image]

Someone in the comments of the last issues said: "I was able to recreate the issue using a Nessus Essentials/Home version and performing a "Basic Network Scan" against a "standalone" grid instance"

Relevant log output

06:00:37.173 ERROR [UnboundZmqEventBus$PollingRunnable.rejectEvent] - Could not parse event secret, rejecting event. Unable to parse: . Event[id=21871a2c-d64f-4abd-94ef-f1e0045b5153, type=selenium-rejected-event, data={"data": "","name": "g�=Q,p��B�i\u0015��Ϗ)�\u0000\u0000R�\n�\u0014\u00009\u00008\u0000�\u0000��\u0019\u0000:\u0000��\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\u0000\u0005\u0000\u0004\u0000\n\u0000�"}]

06:01:28.871 WARN [SeleniumSpanExporter$1.lambda$export$0] - {"traceId": "ccdf5613d8b5354f2465a403517227cb","eventTime": 1648447288870596878,"eventName": "exception","attributes": {"exception.message": "Unable to execute request for an existing session: Unable to find session with ID: \nBuild info: version: '4.1.3', revision: '7b1ebf28ef'\nSystem info: host: '5cbe48771ea9', ip: '10.88.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.20.1.el8_5.x86_64', java.version: '11.0.14'\nDriver info: driver.version: unknown","exception.stacktrace": "org.openqa.selenium.NoSuchSessionException: Unable to find session with ID: \nBuild info: version: '4.1.3', revision: '7b1ebf28ef'\nSystem info: host: '5cbe48771ea9', ip: '10.88.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.20.1.el8_5.x86_64', java.version: '11.0.14'\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$4(HandleSession.java:158)\n\tat io.opentelemetry.context.Context.lambda$wrap$2(Context.java:224)\n\tat org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:121)\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": "[our server]","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": ""}}

06:03:17.844 WARN [SeleniumSpanExporter$1.lambda$export$0] - {"traceId": "3bf7c4e86d62820c57f8a3a5dbbb884f","eventTime": 1648447397844099195,"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.3', revision: '7b1ebf28ef'\nSystem info: host: '5cbe48771ea9', ip: '10.88.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.20.1.el8_5.x86_64', java.version: '11.0.14'\nDriver info: driver.version: unknown","exception.stacktrace": "org.openqa.selenium.NoSuchSessionException: Unable to find session with ID: login.php\nBuild info: version: '4.1.3', revision: '7b1ebf28ef'\nSystem info: host: '5cbe48771ea9', ip: '10.88.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-348.20.1.el8_5.x86_64', java.version: '11.0.14'\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$4(HandleSession.java:158)\n\tat io.opentelemetry.context.Context.lambda$wrap$2(Context.java:224)\n\tat org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:121)\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": "[our server]","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

Selenium version

4.1.3

What are the browser(s) and version(s) where you see this issue?

chrome 99

What are the browser driver(s) and version(s) where you see this issue?

chrome 99

Are you using Selenium Grid?

4.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-gridEverything grid and server relatedI-defectSomething is not working as intendedJ-awaiting answerQuestion asked of user; a reply moves it to triage again

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions