Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaresolverr crashing on Docker for MAC #932

Open
4 tasks done
walester opened this issue Oct 26, 2023 · 35 comments
Open
4 tasks done

Flaresolverr crashing on Docker for MAC #932

walester opened this issue Oct 26, 2023 · 35 comments
Labels

Comments

@walester
Copy link

Have you checked our README?

  • I have checked the README

Have you followed our Troubleshooting?

  • I have followed your Troubleshooting

Is there already an issue for your problem?

  • I have checked older issues, open and closed

Have you checked the discussions?

  • I have read the Discussions

Environment

- FlareSolverr version: latest
- Last working FlareSolverr version:
- Operating system: Ventura 13.6
- Are you using Docker: [yes/no] Yes
- FlareSolverr User-Agent (see log traces or / endpoint):
- Are you using a VPN: [yes/no] No
- Are you using a Proxy: [yes/no] No
- Are you using Captcha Solver: [yes/no] No
- If using captcha solver, which one:
- URL to test this issue:

Description

No error messages with installation. Chromium crashes a few seconds after starting the container. Have deleted and retried several times. Log file: https://pastebin.com/qhA13sFu

Logged Error Messages

Log file: https://pastebin.com/qhA13sFu

Screenshots

No response

@ilike2burnthing ilike2burnthing added the help wanted Extra attention is needed label Oct 26, 2023
@ilike2burnthing
Copy link
Contributor

Try v3.3.7

@ilike2burnthing ilike2burnthing added the more information needed Further information is requested label Nov 7, 2023
@walester
Copy link
Author

walester commented Nov 7, 2023 via email

@ilike2burnthing ilike2burnthing removed the more information needed Further information is requested label Nov 7, 2023
@hulleyrob
Copy link

hulleyrob commented Nov 11, 2023

Fired up docker on Mac to test this.

latest image using: "docker run -d
--name=flaresolverr
-p 8191:8191
-e LOG_LEVEL=info
--restart unless-stopped
ghcr.io/flaresolverr/flaresolverr:latest"

gave the output:
2023-11-11 11:00:08 2023-11-11 11:00:08 INFO FlareSolverr 3.3.7
2023-11-11 11:00:08 2023-11-11 11:00:08 INFO Testing web browser installation...
2023-11-11 11:00:08 2023-11-11 11:00:08 INFO Platform: Linux-6.4.16-linuxkit-aarch64-with-glibc2.31
2023-11-11 11:00:08 2023-11-11 11:00:08 INFO Chrome / Chromium path: /usr/bin/chromium
2023-11-11 11:00:08 2023-11-11 11:00:08 INFO Chrome / Chromium major version: 119
2023-11-11 11:00:08 2023-11-11 11:00:08 INFO Launching web browser...
2023-11-11 11:00:09 2023-11-11 11:00:09 INFO FlareSolverr User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
2023-11-11 11:00:09 2023-11-11 11:00:09 INFO Test successful!
2023-11-11 11:00:09 2023-11-11 11:00:09 INFO Serving on http://0.0.0.0:8191

What config changes have you made?

@walester
Copy link
Author

walester commented Nov 11, 2023 via email

@ilike2burnthing
Copy link
Contributor

@walester looks like you're running an Intel x86_64 Mac. Is that correct?

@hulleyrob looks like you're running an Apple ARM Mac. Is that correct?

@walester
Copy link
Author

walester commented Nov 11, 2023 via email

@hulleyrob
Copy link

Yeah that's was on an M2 Mac.

@ilike2burnthing
Copy link
Contributor

@rawandahmad698 / @xulei324 / @coolberwin / @Loyth / @Dakyne / @DevDavid1307 / @alexreg any of you running FlareSolverr in Docker on an Intel Mac? If so, any of you having issues with v3.3.7?

@alexreg
Copy link

alexreg commented Nov 11, 2023

@ilike2burnthing Just tested, and seems to work fine for me. (M1 Max MBP)

@ilike2burnthing
Copy link
Contributor

Specifically looking those on Intel Macs, not ARM, but thanks for confirming there's no issue on ARM.

@alexreg
Copy link

alexreg commented Nov 11, 2023

@ilike2burnthing Sorry, saw the tag and read your comment too hastily. But yes, at least we can confirm this.

@walester
Copy link
Author

Latest results: I upgraded docker to the version specifically for Mac with Intel and then installed the 3.3.10 version of the Flaresolverr image. The container still crashes but with different error messages:

2023-11-21 14:55:47 2023-11-21 19:55:47 INFO FlareSolverr 3.3.10
2023-11-21 14:55:47 2023-11-21 19:55:47 INFO Testing web browser installation...
2023-11-21 14:55:47 2023-11-21 19:55:47 INFO Platform: Linux-6.4.16-linuxkit-x86_64-with-glibc2.31
2023-11-21 14:55:47 2023-11-21 19:55:47 INFO Chrome / Chromium path: /usr/bin/chromium
2023-11-21 14:55:47 2023-11-21 19:55:47 INFO Chrome / Chromium major version: 119
2023-11-21 14:55:47 2023-11-21 19:55:47 INFO Launching web browser...
2023-11-21 14:55:47 version_main cannot be converted to an integer
2023-11-21 14:55:53 Traceback (most recent call last):
2023-11-21 14:55:53 File "/app/utils.py", line 300, in get_user_agent
2023-11-21 14:55:53 driver = get_webdriver()
2023-11-21 14:55:53 ^^^^^^^^^^^^^^^
2023-11-21 14:55:53 File "/app/utils.py", line 181, in get_webdriver
2023-11-21 14:55:53 driver = uc.Chrome(options=options, browser_executable_path=browser_executable_path,
2023-11-21 14:55:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-21 14:55:53 File "/app/undetected_chromedriver/init.py", line 472, in init
2023-11-21 14:55:53 super(Chrome, self).init(
2023-11-21 14:55:53 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
2023-11-21 14:55:53 super().init(
2023-11-21 14:55:53 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 56, in init
2023-11-21 14:55:53 super().init(
2023-11-21 14:55:53 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 206, in init
2023-11-21 14:55:53 self.start_session(capabilities)
2023-11-21 14:55:53 File "/app/undetected_chromedriver/init.py", line 730, in start_session
2023-11-21 14:55:53 super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
2023-11-21 14:55:53 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 290, in start_session
2023-11-21 14:55:53 response = self.execute(Command.NEW_SESSION, caps)["value"]
2023-11-21 14:55:53 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-21 14:55:53 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 345, in execute
2023-11-21 14:55:53 self.error_handler.check_response(response)
2023-11-21 14:55:53 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
2023-11-21 14:55:53 raise exception_class(message, screen, stacktrace)
2023-11-21 14:55:53 selenium.common.exceptions.WebDriverException: Message: tab crashed
2023-11-21 14:55:53 (Session info: chrome=119.0.6045.123)
2023-11-21 14:55:53 Stacktrace:
2023-11-21 14:55:53 #0 0x55bda51bbd23

Any suggestions?

@ilike2burnthing
Copy link
Contributor

Obviously a completely different issue, but out of curiosity, if you revert Docker to v4.22.1, does it resolve your issue? - haugene/docker-transmission-openvpn#2723

If not, try earlier v3.3.X versions of FlareSolverr, see if any of them work.

@rc4l
Copy link

rc4l commented Dec 2, 2023

Same issue; what's going on?

2023-12-02 00:42:33 INFO     FlareSolverr 3.3.10

2023-12-02 00:42:33 INFO     Testing web browser installation...

2023-12-02 00:42:37 INFO     Platform: Linux-4.4.302+-x86_64-with-glibc2.31

2023-12-02 00:42:37 INFO     Chrome / Chromium path: /usr/bin/chromium

2023-12-02 00:43:21 INFO     Chrome / Chromium major version: 119

2023-12-02 00:43:21 INFO     Launching web browser...

version_main cannot be converted to an integer

Traceback (most recent call last):

  File "/app/utils.py", line 300, in get_user_agent

    driver = get_webdriver()

             ^^^^^^^^^^^^^^^

  File "/app/utils.py", line 181, in get_webdriver

    driver = uc.Chrome(options=options, browser_executable_path=browser_executable_path,

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/undetected_chromedriver/__init__.py", line 472, in __init__

    super(Chrome, self).__init__(

  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__

    super().__init__(

  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 56, in __init__

    super().__init__(

  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 206, in __init__

    self.start_session(capabilities)

  File "/app/undetected_chromedriver/__init__.py", line 730, in start_session

    super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(

  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 290, in start_session

    response = self.execute(Command.NEW_SESSION, caps)["value"]

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 345, in execute

    self.error_handler.check_response(response)

  File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, 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:57257

from chrome not reachable

Stacktrace:

#0 0x561de7652d23 <unknown>

#1 0x561de73207ae <unknown>

#2 0x561de730e871 <unknown>

#3 0x561de7358b34 <unknown>

#4 0x561de73502d9 <unknown>

#5 0x561de739b740 <unknown>

#6 0x561de739ac70 <unknown>

#7 0x561de7392a43 <unknown>

#8 0x561de735cbc6 <unknown>

#9 0x561de735dfb2 <unknown>

#10 0x561de7627da7 <unknown>

#11 0x561de762ae8d <unknown>

#12 0x561de762a938 <unknown>

#13 0x561de762b3a5 <unknown>

#14 0x561de761a1df <unknown>

#15 0x561de762b732 <unknown>

#16 0x561de7604666 <unknown>

#17 0x561de7643e95 <unknown>

#18 0x561de764407b <unknown>

#19 0x561de76522af <unknown>

#20 0x7fc4de26bea7 start_thread

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/app/flaresolverr.py", line 105, in <module>

    flaresolverr_service.test_browser_installation()

  File "/app/flaresolverr_service.py", line 72, in test_browser_installation

    user_agent = utils.get_user_agent()

                 ^^^^^^^^^^^^^^^^^^^^^^

  File "/app/utils.py", line 306, in get_user_agent

    raise Exception("Error getting browser User-Agent. " + str(e))

Exception: Error getting browser User-Agent. Message: unknown error: cannot connect to chrome at 127.0.0.1:57257

from chrome not reachable

Stacktrace:

#0 0x561de7652d23 <unknown>

#1 0x561de73207ae <unknown>

#2 0x561de730e871 <unknown>

#3 0x561de7358b34 <unknown>

#4 0x561de73502d9 <unknown>

#5 0x561de739b740 <unknown>

#6 0x561de739ac70 <unknown>

#7 0x561de7392a43 <unknown>

#8 0x561de735cbc6 <unknown>

#9 0x561de735dfb2 <unknown>

#10 0x561de7627da7 <unknown>

#11 0x561de762ae8d <unknown>

#12 0x561de762a938 <unknown>

#13 0x561de762b3a5 <unknown>

#14 0x561de761a1df <unknown>

#15 0x561de762b732 <unknown>

#16 0x561de7604666 <unknown>

#17 0x561de7643e95 <unknown>

#18 0x561de764407b <unknown>

#19 0x561de76522af <unknown>

#20 0x7fc4de26bea7 start_thread

@rc4l
Copy link

rc4l commented Dec 2, 2023

Obviously a completely different issue, but out of curiosity, if you revert Docker to v4.22.1, does it resolve your issue? - haugene/docker-transmission-openvpn#2723

If not, try earlier v3.3.X versions of FlareSolverr, see if any of them work.

Rolling back to 3.3.1 did nothing differnet

@rc4l
Copy link

rc4l commented Dec 2, 2023

Ah silly me, seems increasing the timeout to the max of 180 seconds did it for me. Getting a different error now but at least it's progress

2023-12-02 02:22:19 INFO     FlareSolverr 3.3.10

2023-12-02 02:22:19 INFO     Testing web browser installation...

2023-12-02 02:22:19 INFO     Platform: Linux-4.4.302+-x86_64-with-glibc2.31

2023-12-02 02:22:19 INFO     Chrome / Chromium path: /usr/bin/chromium

2023-12-02 02:22:27 INFO     Chrome / Chromium major version: 119

2023-12-02 02:22:27 INFO     Launching web browser...

version_main cannot be converted to an integer

2023-12-02 02:25:43 INFO     FlareSolverr User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

2023-12-02 02:25:44 INFO     Test successful!

2023-12-02 02:25:56 INFO     Serving on http://0.0.0.0:8191

2023-12-02 02:27:28 INFO     Incoming request => POST /v1 body: {'maxTimeout': 180000, 'cmd': 'request.get', 'url': 'https://prowlarr.servarr.com/v1/ping', 'proxy': {}}

version_main cannot be converted to an integer

2023-12-02 02:30:04 INFO     Challenge not detected!

2023-12-02 02:30:09 INFO     Response in 160.995 s

2023-12-02 02:30:11 INFO     172.18.0.1 POST http://192.168.0.43:8191/v1 200 OK

2023-12-02 02:35:13 INFO     Incoming request => POST /v1 body: {'maxTimeout': 180000, 'cmd': 'request.get', 'url': 'https://prowlarr.servarr.com/v1/ping', 'proxy': {}}

version_main cannot be converted to an integer

2023-12-02 02:36:29 ERROR    Error: Error solving the challenge. Message: unknown error: cannot connect to chrome at 127.0.0.1:55598\nfrom chrome not reachable\nStacktrace:\n#0 0x5599e79a7d23 <unknown>\n#1 0x5599e76757ae <unknown>\n#2 0x5599e7663871 <unknown>\n#3 0x5599e76adb34 <unknown>\n#4 0x5599e76a52d9 <unknown>\n#5 0x5599e76f0740 <unknown>\n#6 0x5599e76efc70 <unknown>\n#7 0x5599e76e7a43 <unknown>\n#8 0x5599e76b1bc6 <unknown>\n#9 0x5599e76b2fb2 <unknown>\n#10 0x5599e797cda7 <unknown>\n#11 0x5599e797fe8d <unknown>\n#12 0x5599e797f938 <unknown>\n#13 0x5599e79803a5 <unknown>\n#14 0x5599e796f1df <unknown>\n#15 0x5599e7980732 <unknown>\n#16 0x5599e7959666 <unknown>\n#17 0x5599e7998e95 <unknown>\n#18 0x5599e799907b <unknown>\n#19 0x5599e79a72af <unknown>\n#20 0x7efd700efea7 start_thread\n

2023-12-02 02:36:29 INFO     Response in 76.341 s

2023-12-02 02:36:29 INFO     172.18.0.1 POST http://192.168.0.43:8191/v1 500 Internal Server Error

@walester
Copy link
Author

walester commented Dec 2, 2023

I've tried several combinations of older versions of both Docker and FlareSolverr on my Intel MAC without success. At least it's heartening to know someone else has experienced similar problems.

@ilike2burnthing
Copy link
Contributor

Ah silly me, seems increasing the timeout to the max of 180 seconds did it for me.

The timeout in Prowlarr's settings for FlareSolverr? I don't see how that would affect anything, FlareSolverr was crashing on startup. You didn't change anything else?

Response in 160.995 s

It should not be taking nearly 3mins to reach https://prowlarr.servarr.com/v1/ping and determine there's no challenge. There's something very wrong there.

For both of you (@walester & @rc4l), add the ENV BROWSER_TIMEOUT with the value of 200000, see if that helps. If not, does it at least take longer to crash?

@ilike2burnthing
Copy link
Contributor

See if v3.3.11 makes a difference.

@walester
Copy link
Author

walester commented Dec 11, 2023 via email

@walester
Copy link
Author

walester commented Jan 5, 2024

No one has asked, but Flaresolverr V. 3.3.12 fails as well:

2024-01-04 19:41:01 2024-01-05 05:41:01 INFO FlareSolverr 3.3.12
2024-01-04 19:41:01 2024-01-05 05:41:01 INFO Testing web browser installation...
2024-01-04 19:41:01 2024-01-05 05:41:01 INFO Platform: Linux-6.5.11-linuxkit-x86_64-with-glibc2.31
2024-01-04 19:41:01 2024-01-05 05:41:01 INFO Chrome / Chromium path: /usr/bin/chromium
2024-01-04 19:41:01 2024-01-05 05:41:01 INFO Chrome / Chromium major version: 120
2024-01-04 19:41:01 2024-01-05 05:41:01 INFO Launching web browser...
2024-01-04 19:41:02 version_main cannot be converted to an integer
2024-01-04 19:41:07 Traceback (most recent call last):
2024-01-04 19:41:07 File "/app/utils.py", line 302, in get_user_agent
2024-01-04 19:41:07 driver = get_webdriver()
2024-01-04 19:41:07 ^^^^^^^^^^^^^^^
2024-01-04 19:41:07 File "/app/utils.py", line 183, in get_webdriver
2024-01-04 19:41:07 driver = uc.Chrome(options=options, browser_executable_path=browser_executable_path,
2024-01-04 19:41:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-04 19:41:07 File "/app/undetected_chromedriver/init.py", line 472, in init
2024-01-04 19:41:07 super(Chrome, self).init(
2024-01-04 19:41:07 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
2024-01-04 19:41:07 super().init(
2024-01-04 19:41:07 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 56, in init
2024-01-04 19:41:07 super().init(
2024-01-04 19:41:07 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 208, in init
2024-01-04 19:41:07 self.start_session(capabilities)
2024-01-04 19:41:07 File "/app/undetected_chromedriver/init.py", line 730, in start_session
2024-01-04 19:41:07 super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
2024-01-04 19:41:07 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 292, in start_session
2024-01-04 19:41:07 response = self.execute(Command.NEW_SESSION, caps)["value"]
2024-01-04 19:41:07 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-04 19:41:07 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
2024-01-04 19:41:07 self.error_handler.check_response(response)
2024-01-04 19:41:07 File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
2024-01-04 19:41:07 raise exception_class(message, screen, stacktrace)
2024-01-04 19:41:07 selenium.common.exceptions.WebDriverException: Message: tab crashed
2024-01-04 19:41:07 (Session info: chrome=120.0.6099.109)
2024-01-04 19:41:07 Stacktrace:
2024-01-04 19:41:07 #0 0x55a71cce1203

@ilike2burnthing
Copy link
Contributor

Feel free to try v3.3.13 while you're at it.

@walester
Copy link
Author

walester commented Jan 8, 2024 via email

@walester
Copy link
Author

v3.3.13 fails as well with same error. Very disheartening...

@walester
Copy link
Author

walester commented Feb 2, 2024

So, I've methodically worked back through all the past versions of Flaresolverr images for Docker. The last "working" version for me was Flaresolverr V3.2.2-hotfix. All the versions from 3.3.0 to the latest version (3.3.13) don't work for me. Again, I'm not sure why these newer versions fail, but I'm at least heartened to find one that does without my having to fix anything.

2024-02-01 16:44:18 2024-02-02 02:44:18 INFO FlareSolverr 3.2.2
2024-02-01 16:44:18 2024-02-02 02:44:18 INFO Testing web browser installation...
2024-02-01 16:44:18 2024-02-02 02:44:18 INFO Platform: Linux-6.6.12-linuxkit-x86_64-with-glibc2.31
2024-02-01 16:44:18 2024-02-02 02:44:18 INFO Chrome / Chromium path: /usr/bin/chromium
2024-02-01 16:44:19 2024-02-02 02:44:19 INFO Chrome / Chromium major version: 114
2024-02-01 16:44:19 2024-02-02 02:44:19 INFO Launching web browser...
2024-02-01 16:44:20 2024-02-02 02:44:20 INFO FlareSolverr User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
2024-02-01 16:44:20 2024-02-02 02:44:20 INFO Test successful!
2024-02-01 16:44:20 2024-02-02 02:44:20 INFO Serving on http://0.0.0.0:8191

@ilike2burnthing
Copy link
Contributor

Does that version even still work any more?

@walester
Copy link
Author

walester commented Feb 2, 2024 via email

@andreacoradi
Copy link

Not sure If I should open another issue, but I have the same output and crash on 3.3.15 using Docker on Linux.

2024-02-23 18:12:44 INFO ReqId 4152404288 FlareSolverr 3.3.15
2024-02-23 18:12:44 DEBUG ReqId 4152404288 Debug log enabled
2024-02-23 18:12:44 INFO ReqId 4152404288 Testing web browser installation...
2024-02-23 18:12:44 INFO ReqId 4152404288 Platform: Linux-6.6.16-x86_64-with-glibc2.31
2024-02-23 18:12:44 INFO ReqId 4152404288 Chrome / Chromium path: /usr/bin/chromium
2024-02-23 18:12:44 INFO ReqId 4152404288 Chrome / Chromium major version: 120
2024-02-23 18:12:44 INFO ReqId 4152404288 Launching web browser...
2024-02-23 18:12:44 DEBUG ReqId 4152404288 Launching web browser...
version_main cannot be converted to an integer
2024-02-23 18:12:44 DEBUG ReqId 4152404288 Started executable: /app/chromedriver in a child process with pid: 26
Traceback (most recent call last):
File "/app/utils.py", line 304, in get_user_agent
driver = get_webdriver()
^^^^^^^^^^^^^^^
File "/app/utils.py", line 185, in get_webdriver
driver = uc.Chrome(options=options, browser_executable_path=browser_executable_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/undetected_chromedriver/init.py", line 472, in init
super(Chrome, self).init(
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in init
super().init(
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 53, in init
self.service.start()
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 102, in start
self.assert_process_still_running()
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 115, in assert_process_still_running
raise WebDriverException(f"Service {self._path} unexpectedly exited. Status code was: {return_code}")
selenium.common.exceptions.WebDriverException: Message: Service /app/chromedriver unexpectedly exited. Status code was: -5

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/flaresolverr.py", line 105, in
flaresolverr_service.test_browser_installation()
File "/app/flaresolverr_service.py", line 72, in test_browser_installation
user_agent = utils.get_user_agent()
^^^^^^^^^^^^^^^^^^^^^^
File "/app/utils.py", line 310, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. Message: Service /app/chromedriver unexpectedly exited. Status code was: -5

@walester
Copy link
Author

walester commented Feb 23, 2024 via email

@andreacoradi
Copy link

3.3.14-hotfix2 for me, but it has problems solving captchas for me so I can't really use it

@garfield69
Copy link
Contributor

@andreacoradi try upgrading to 3.3.15 it has a fix that works for me better than 3.3.14HF2

@andreacoradi
Copy link

@andreacoradi try upgrading to 3.3.15 it has a fix that works for me better than 3.3.14HF2

I already am on 3.3.15, but it's crashing, that's why I reported it here. I was just answering that 3.3.14HF2 was the last docker image working for me

@ilike2burnthing
Copy link
Contributor

Please test with v3.3.16.

@andreacoradi
Copy link

Please test with v3.3.16.

Works for me!

@walester
Copy link
Author

Please test with v3.3.16.

Unfortunately, it does not work for me. Same errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants