Chrome failed to start: exited abnormally. Initiating a Pull Request for this Issue. #498

Closed
opened 2025-10-14 17:34:36 -06:00 by navan · 0 comments
Owner

Originally created by @SaiKrishna0506 on 10/3/2020

The Script needs to be run as root on Linux Operating Systems. But Chrome has Issues running as Root. So I tried to fix this issue by adding the Line:

chrome_options.add_argument('--no-sandbox') At Line number:67 in check_and_gen.py
This is my First Pull request. So please don't mind if I did any Mistake.

┌─[✗]─[sai@parrot]─[/opt/GHunt]
└──╼ $sudo python3 check_and_gen.py
_Secure-3PSID => 2Ae_9ldNpD1B5cGCauBB-PRXgxjBikcEEu1-Vr10TrKozJ3QIdzoo2sTTwpel-dW2zcPg.
APISID => 1x9-ytFC6DDPjX5u/AZtxCR-puDLADgIcF
SAPISID => mkHYkN3dha68plj-/AmX0EEd2VU53DSmrW
HSID => A5-QEcCKO_s4AR7HB

[+] The cookies seems valid ! Generating the Google Docs and Hangouts token...

Google Docs Token => AC4w5Vj_GOJbqQSfBSYuiHx1E1s9tWNM7A:1601740818709
Traceback (most recent call last):
File "check_and_gen.py", line 74, in
driver = webdriver.Chrome(executable_path=driverpath, seleniumwire_options=options, options=chrome_options)
File "/usr/local/lib/python3.8/dist-packages/seleniumwire/webdriver/browser.py", line 86, in init
super().init(*args, **kwargs)
File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 95, in init
RemoteWebDriver.init(
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 152, in init
self.start_session(capabilities, browser_profile)
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 249, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute
self.error_handler.check_response(response)
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

*Originally created by @SaiKrishna0506 on 10/3/2020* ### The Script needs to be run as root on Linux Operating Systems. But Chrome has Issues running as Root. So I tried to fix this issue by adding the Line: **chrome_options.add_argument('--no-sandbox')** At Line number:67 in check_and_gen.py This is my First Pull request. So please don't mind if I did any Mistake. ┌─[✗]─[sai@parrot]─[/opt/GHunt] └──╼ $sudo python3 check_and_gen.py __Secure-3PSID => 2Ae_9ldNpD1B5cGCauBB-PRXgxjBikcEEu1_-Vr10TrKozJ3QIdzoo2sTTwpel-dW2zcPg. APISID => 1x9-ytFC6DDPjX5u/AZtxCR-puDLADgIcF SAPISID => mkHYkN3dha68plj-/AmX0EEd2VU53DSmrW HSID => A5-QEcCKO_s4AR7HB [+] The cookies seems valid ! Generating the Google Docs and Hangouts token... Google Docs Token => AC4w5Vj_GOJbqQSfBSYuiHx1E1s9tWNM7A:1601740818709 Traceback (most recent call last): File "check_and_gen.py", line 74, in <module> driver = webdriver.Chrome(executable_path=driverpath, seleniumwire_options=options, options=chrome_options) File "/usr/local/lib/python3.8/dist-packages/seleniumwire/webdriver/browser.py", line 86, in __init__ super().__init__(*args, **kwargs) File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 95, in __init__ RemoteWebDriver.__init__( File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 152, in __init__ self.start_session(capabilities, browser_profile) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 249, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute self.error_handler.check_response(response) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Sign in to join this conversation.
No labels
backdoor-try
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
can't read
can't read
can't read
can't read
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good first issue
google-patch
google-patch
hacktoberfest-accepted
hacktoberfest-accepted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
knowledge-enrichment
known bug
question
question
question
question
question
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/GHunt#498
No description provided.