Closed lettt3t closed 1 year ago
Message: unknown error: cannot connect to chrome at 127.0.0.1:43149 from chrome not reachable Stacktrace:
Traceback (most recent call last): File "/home/vps/test1/src/app.py", line 310, in bootstrap start_chrome(config) File "/home/vps/test1/src/app.py", line 150, in start_chrome drivers.append(get_driver(profile, config)) File "/home/vps/test1/src/app.py", line 104, in get_driver raise e File "/home/vps/test1/src/app.py", line 59, in get_driver driver = uc.Chrome(**kwargs) File "/usr/local/lib/python3.10/site-packages/undetected_chromedriver/init.py", line 441, in init super(Chrome, self).init( File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 84, in init super().init( File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 104, in init super().init( File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 286, in init self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.10/site-packages/undetected_chromedriver/init.py", line 704, in start_session super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session( File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 378, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:43149 from chrome not reachable Stacktrace:
Error is too broad, can't really help here. Have you tried adding --headless
argument to config.json
file: https://github.com/ucarno/ow-league-tokens/issues/60#issuecomment-1531449064 ?
Error is too broad, can't really help here. Have you tried adding
--headless
argument toconfig.json
file: #60 (comment) ?
i have this problem again. nothing helps anymore
I tried to run differently. In the end, it didn't work. Having installed the xfce and vnc shell for remote access, after authorization in the browser, I already managed to launch it in console form. As I understand it, after the transfer of profiles, everything stops working.
Я пытался по-разному запустить. По итогу, никак не получалось. Поставив оболочку xfce и vnc для удаленного доступа, после авторизации в браузере, у меня получилось запустить в консольном виде. Как понимаю, после переноса профилей, все перестает работать.
Да, заметил, что первый раз она запускается и даже работает. Но при переносе профилей виснет
Current "solution" is to install GUI and VNC into the GUI. Headless on Linux without a GUI will not be supported as it requires some tweaks, but I am willing to support it through Docker.
Contribute to/track this issue here: https://github.com/ucarno/ow-league-tokens/issues/63
I'm trying to run it on a server without a GUI, I've created the profiles beforehand, but even so I get the same errors when using "headless". https://github.com/ucarno/ow-league-tokens/issues/60