Docker Error
mslmn opened this issue · 0 comments
mslmn commented
When I try to run the docker version of the tool on my M1 mac, I get this error in the docker terminal
2023-05-11 12:54:29 mangadw | [INFO](undetected_chromedriver.patcher) 2023-05-11 11:54:29 : patching driver executable /root/.local/share/undetected_chromedriver/f570e757eb50680c_chromedriver
2023-05-11 12:54:37 mangadw | Traceback (most recent call last):
2023-05-11 12:54:37 mangadw | File "main.py", line 42, in <module>
2023-05-11 12:54:37 mangadw | downloader = Downloader(**settings)
2023-05-11 12:54:37 mangadw | File "/app/downloader.py", line 67, in __init__
2023-05-11 12:54:37 mangadw | self.init_function()
2023-05-11 12:54:37 mangadw | File "/app/downloader.py", line 118, in init_function
2023-05-11 12:54:37 mangadw | self.get_driver()
2023-05-11 12:54:37 mangadw | File "/app/downloader.py", line 93, in get_driver
2023-05-11 12:54:37 mangadw | self.driver = uc.Chrome(options=option)
2023-05-11 12:54:37 mangadw | File "/usr/local/lib/python3.8/site-packages/undetected_chromedriver/__init__.py", line 401, in __init__
2023-05-11 12:54:37 mangadw | super(Chrome, self).__init__(
2023-05-11 12:54:37 mangadw | File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py", line 69, in __init__
2023-05-11 12:54:37 mangadw | super().__init__(DesiredCapabilities.CHROME['browserName'], "goog",
2023-05-11 12:54:37 mangadw | File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/chromium/webdriver.py", line 92, in __init__
2023-05-11 12:54:37 mangadw | super().__init__(
2023-05-11 12:54:37 mangadw | File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 270, in __init__
2023-05-11 12:54:37 mangadw | self.start_session(capabilities, browser_profile)
2023-05-11 12:54:37 mangadw | File "/usr/local/lib/python3.8/site-packages/undetected_chromedriver/__init__.py", line 589, in start_session
2023-05-11 12:54:37 mangadw | super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
2023-05-11 12:54:37 mangadw | File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 363, in start_session
2023-05-11 12:54:37 mangadw | response = self.execute(Command.NEW_SESSION, parameters)
2023-05-11 12:54:37 mangadw | File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 428, in execute
2023-05-11 12:54:37 mangadw | self.error_handler.check_response(response)
2023-05-11 12:54:37 mangadw | File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response
2023-05-11 12:54:37 mangadw | raise exception_class(message, screen, stacktrace)
2023-05-11 12:54:37 mangadw | selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at (ip)
2023-05-11 12:54:37 mangadw | from chrome not reachable
2023-05-11 12:54:37 mangadw | Stacktrace:
2023-05-11 12:54:37 mangadw | #0 0x004000724133 <unknown>
2023-05-11 12:54:37 mangadw | #1 0x0040004587f0 <unknown>
2023-05-11 12:54:37 mangadw | #2 0x004000446736 <unknown>
2023-05-11 12:54:37 mangadw | #3 0x004000486315 <unknown>
2023-05-11 12:54:37 mangadw | #4 0x00400047d932 <unknown>
2023-05-11 12:54:37 mangadw | #5 0x0040004bd9ad <unknown>
2023-05-11 12:54:37 mangadw | #6 0x0040004bd18f <unknown>
2023-05-11 12:54:37 mangadw | #7 0x0040004b49a3 <unknown>
2023-05-11 12:54:37 mangadw | #8 0x00400048946a <unknown>
2023-05-11 12:54:37 mangadw | #9 0x00400048a55e <unknown>
2023-05-11 12:54:37 mangadw | #10 0x0040006e3cae <unknown>
2023-05-11 12:54:37 mangadw | #11 0x0040006e78fe <unknown>
2023-05-11 12:54:37 mangadw | #12 0x0040006f0f20 <unknown>
2023-05-11 12:54:37 mangadw | #13 0x0040006e8923 <unknown>
2023-05-11 12:54:37 mangadw | #14 0x0040006bbc0e <unknown>
2023-05-11 12:54:37 mangadw | #15 0x00400070bb08 <unknown>
2023-05-11 12:54:37 mangadw | #16 0x00400070bc97 <unknown>
2023-05-11 12:54:37 mangadw | #17 0x00400071c113 <unknown>
2023-05-11 12:54:37 mangadw | #18 0x0040025f2ea7 start_thread
2023-05-11 12:54:37 mangadw |