question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

What happened?

After a Nessus Scan(vulnerability scanning software) the Website only show the Text “Loading” and cant be reached. Should be related to: https://github.com/SeleniumHQ/docker-selenium/issues/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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
diemolcommented, Apr 27, 2022

The fix for this will be released in the next couple of days.

0reactions
github-actions[bot]commented, May 28, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - [🐛 Bug]: Hub/Node stops responding when scanned ...
After a Nessus Scan(vulnerability scanning software) the Website only show the Text "Loading" and cant be reached. This should be related to #1469...
Read more >
Applications on a host being scanned crash while Nessus is ...
One or more applications on a computer system being scanned by Nessus crashes during the scan. Cause. During a Nessus scan, applications may...
Read more >
Why Vulnerability Scanning Isn't Enough To Protect Your App
The short answer is no. At least not how vulnerability scanning systems work today. If they were called 'known' vulnerability scanners, ...
Read more >
A Complete Guide to Automated Vulnerability Scanning
If all the applications are scanned beforehand for all the bugs, it can prevent cybercriminals from attacking the system. 3. Time management.
Read more >
Best Vulnerability Scanner Software in 2022 - G2
They work by maintaining an up-to-date database of known vulnerabilities, and conduct scans to identify potential exploits. Vulnerability scanners are used by ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found