The problem only happens with flaresolverr but not with flaresolverr-bin
Search Criteria
Package Details: flaresolverr 3.3.21-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/flaresolverr.git (read-only, click to copy) |
---|---|
Package Base: | flaresolverr |
Description: | A proxy server to bypass Cloudflare protection |
Upstream URL: | https://github.com/FlareSolverr/FlareSolverr |
Keywords: | captcha cloudflare jackett proxy |
Licenses: | MIT |
Submitter: | txtsd |
Maintainer: | txtsd |
Last Packager: | txtsd |
Votes: | 7 |
Popularity: | 0.140206 |
First Submitted: | 2023-01-05 11:20 (UTC) |
Last Updated: | 2024-11-10 06:58 (UTC) |
Dependencies (12)
- chromium (ungoogled-chromium-xdgAUR, ungoogled-chromium-xdg-binAUR, ungoogled-chromium-binAUR, chromium-no-extrasAUR, ungoogled-chromiumAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-bottle
- python-certifi
- python-func-timeoutAUR
- python-pefile (python-pefile-gitAUR)
- python-prometheus_client
- python-requests
- python-seleniumAUR (python-selenium-binAUR)
- python-waitress
- python-websockets (python-websockets-gitAUR)
- python-xvfbwrapperAUR
Required by (9)
- cyberdropdownloader (optional)
- jackett (optional)
- jackett-bin (optional)
- jackett-mono (optional)
- prowlarr (optional)
- prowlarr-bin (optional)
- prowlarr-develop (optional)
- prowlarr-develop-bin (optional)
- prowlarr-nightly-bin (optional)
Sources (5)
feedc0de commented on 2025-02-26 21:19 (UTC)
salihdayi commented on 2025-02-26 21:09 (UTC)
Hi I'm facing the same build issue as @feedc0de, any ideas?
feedc0de commented on 2025-02-25 14:36 (UTC) (edited on 2025-02-25 14:36 (UTC) by feedc0de)
installed flaresolverr the first time and having problems launching it, any ideas?
systemd[1]: Started FlareSolverr.
flaresolverr[3248203]: 2025-02-25 15:29:45 INFO FlareSolverr 3.3.21
flaresolverr[3248203]: 2025-02-25 15:29:45 INFO Testing web browser installation...
flaresolverr[3248203]: 2025-02-25 15:29:45 INFO Platform: Linux-6.13.2-arch1-1-x86_64-with-glibc2.41
flaresolverr[3248203]: 2025-02-25 15:29:45 INFO Chrome / Chromium path: /usr/bin/chromium
flaresolverr[3248203]: 2025-02-25 15:29:45 INFO Chrome / Chromium major version: 133
flaresolverr[3248203]: 2025-02-25 15:29:45 INFO Launching web browser...
flaresolverr[3248203]: 2025-02-25 15:31:56 ERROR Error starting Chrome: HTTPConnectionPool(host='localhost', port=40795): Read timed out. (read timeout=120)
flaresolverr[3248203]: Traceback (most recent call last):
flaresolverr[3248203]: File "/opt/flaresolverr/utils.py", line 316, in get_user_agent
flaresolverr[3248203]: driver = get_webdriver()
flaresolverr[3248203]: File "/opt/flaresolverr/utils.py", line 203, in get_webdriver
flaresolverr[3248203]: PATCHED_DRIVER_PATH = os.path.join(driver.patcher.data_path, driver.patcher.exe_name)
flaresolverr[3248203]: ^^^^^^
flaresolverr[3248203]: UnboundLocalError: cannot access local variable 'driver' where it is not associated with a value
flaresolverr[3248203]: During handling of the above exception, another exception occurred:
flaresolverr[3248203]: Traceback (most recent call last):
flaresolverr[3248203]: File "/opt/flaresolverr/flaresolverr.py", line 108, in <module>
flaresolverr[3248203]: flaresolverr_service.test_browser_installation()
flaresolverr[3248203]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
flaresolverr[3248203]: File "/opt/flaresolverr/flaresolverr_service.py", line 73, in test_browser_installation
flaresolverr[3248203]: user_agent = utils.get_user_agent()
flaresolverr[3248203]: File "/opt/flaresolverr/utils.py", line 322, in get_user_agent
flaresolverr[3248203]: raise Exception("Error getting browser User-Agent. " + str(e))
flaresolverr[3248203]: Exception: Error getting browser User-Agent. cannot access local variable 'driver' where it is not associated with a value
flaresolverr[3248203]: Exception ignored in: <function Chrome.__del__ at 0x7732db751ee0>
flaresolverr[3248203]: Traceback (most recent call last):
flaresolverr[3248203]: File "/opt/flaresolverr/undetected_chromedriver/__init__.py", line 858, in __del__
flaresolverr[3248203]: File "/opt/flaresolverr/undetected_chromedriver/__init__.py", line 774, in quit
flaresolverr[3248203]: File "/usr/lib/python3.13/site-packages/selenium/webdriver/common/service.py", line 160, in stop
flaresolverr[3248203]: File "/usr/lib/python3.13/site-packages/selenium/webdriver/common/service.py", line 181, in _terminate_process
flaresolverr[3248203]: File "/usr/lib/python3.13/subprocess.py", line 2227, in terminate
flaresolverr[3248203]: ImportError: sys.meta_path is None, Python is likely shutting down
systemd[1]: flaresolverr.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: flaresolverr.service: Failed with result 'exit-code'.
systemd[1]: flaresolverr.service: Consumed 4min 26.946s CPU time, 254.1M memory peak.
Sisco88 commented on 2024-11-17 14:13 (UTC)
@txtsd
Chromium is set as a dependency for flaresolverr, roling back chromium to 126 resolved the issue. thanks!
txtsd commented on 2024-11-17 13:47 (UTC) (edited on 2024-11-17 13:49 (UTC) by txtsd)
@Sisco88 Try with Chrome instead of Chromium. This means you might have to uninstall Chromium. If everything fails, flaresolverr-bin works well.
EDIT: Chromium 126 is the last version that works with flaresolverr.
Sisco88 commented on 2024-11-17 13:42 (UTC) (edited on 2024-11-17 13:48 (UTC) by Sisco88)
After update to the latest version, flaresolverr no longer starts and is stuck on "Launching web browser":
2024-11-17 14:38:22 INFO FlareSolverr 3.3.21
2024-11-17 14:38:22 INFO Testing web browser installation...
2024-11-17 14:38:22 INFO Platform: Linux-6.11.8-arch1-2-x86_64-with-glibc2.40
2024-11-17 14:38:22 INFO Chrome / Chromium path: /usr/bin/chromium
2024-11-17 14:38:22 INFO Chrome / Chromium major version: 131
2024-11-17 14:38:22 INFO Launching web browser...
txtsd commented on 2023-11-13 09:56 (UTC)
This package use to incorrectly build from source in the past. It now correctly builds from an archive of the source without needing dependencies like git
.
Please report any user-agent related errors that stem from running recent versions of Chrome and Chromium upstream.
txtsd commented on 2023-11-08 06:42 (UTC)
flaresolverr
does not currently work with latest versions of python-selenium
. The latest version of python-selenium
that flaresolverr
works with is 4.12.0
.
Locutus64 commented on 2023-10-27 10:17 (UTC) (edited on 2023-10-27 10:25 (UTC) by Locutus64)
Here's what you wanted, but let's take this to the issue ticket I created on Github.
https://github.com/FlareSolverr/FlareSolverr/issues/928
❯ ls -lh /usr/bin/*chrom*
-rwxr-xr-x 1 root root 13M Oct 24 22:53 /usr/bin/chromedriver
-rwxr-xr-x 1 root root 14K Oct 24 22:53 /usr/bin/chromium
-rwxr-xr-x 1 root root 324 Oct 19 10:02 /usr/bin/google-chrome-unstable
-rwxr-xr-x 1 root root 35K Sep 21 14:24 /usr/bin/vppchromasitting
txtsd commented on 2023-10-24 22:16 (UTC)
It can't find your browser's binary.
Please post the output of: ls -lh /usr/bin/*chrom*
Pinned Comments
txtsd commented on 2023-11-13 09:56 (UTC)
This package use to incorrectly build from source in the past. It now correctly builds from an archive of the source without needing dependencies like
git
.Please report any user-agent related errors that stem from running recent versions of Chrome and Chromium upstream.