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
Exception: Error getting browser User-Agent. [Errno 1] Operation not permitted #994
Comments
@nusiloot please provide the following information:
This doesn't seem to be the same issue as the one you originally commented on. The only other case of your error was back on v3.0.0 at the start of the year on a Pi 3 - #687 (comment). @lborruto did you resolve your issue? If so, was it just by updating to v3.1.0? |
|
I was getting the same error (cannot open /tmp or such) until I found this issue, and I managed to get it working using v3.3.6.
Error log:flaresolverr | 2023-12-05 20:03:25 INFO FlareSolverr 3.3.10 Edit: v3.3.7 crashed after being unresponsive, marking 3.3.6 as last working after testing |
Again, a different error, but also seen in #687 (comment). @jfcabral are you having this issue with v3.3.10? |
See if v3.3.11 makes a difference. |
Hello. As for 2023-11-14 22:02:06 INFO FlareSolverr 3.3.10
2023-11-14 22:02:06 INFO Testing web browser installation...
2023-11-14 22:02:06 INFO Platform: Linux-5.10.110-rockchip-rk3588-aarch64-with-glibc2.31
2023-11-14 22:02:06 INFO Chrome / Chromium path: /usr/bin/chromium
2023-11-14 22:02:07 INFO Chrome / Chromium major version: 119
2023-11-14 22:02:07 INFO Launching web browser...
version_main cannot be converted to an integer
2023-11-14 22:02:10 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-14 22:02:10 INFO Test successful!
2023-11-14 22:02:10 INFO Serving on http://0.0.0.0:8191 |
Thank you for the update; regrettably, the issue persists. 03:52:07 Tue Dec 12 - pi @ Server2 ~ : docker logs flaresolverr
2023-12-12 15:50:34 INFO FlareSolverr 3.3.11
2023-12-12 15:50:34 INFO Testing web browser installation...
2023-12-12 15:50:34 INFO Platform: Linux-5.10.103-v7+-armv7l-with-glibc2.31
2023-12-12 15:50:34 INFO Chrome / Chromium path: /usr/bin/chromium
2023-12-12 15:50:40 INFO Chrome / Chromium major version: 119
2023-12-12 15:50:40 INFO Launching web browser...
Traceback (most recent call last):
File "/app/utils.py", line 302, in get_user_agent
driver = get_webdriver()
^^^^^^^^^^^^^^^
File "/app/utils.py", line 163, in get_webdriver
start_xvfb_display()
File "/app/utils.py", line 319, in start_xvfb_display
XVFB_DISPLAY.start()
File "/usr/local/lib/python3.11/site-packages/xvfbwrapper.py", line 73, in start
time.sleep(self.__class__.SLEEP_TIME_BEFORE_START)
PermissionError: [Errno 1] Operation not permitted
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 308, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. [Errno 1] Operation not permitted
2023-12-12 15:50:51 INFO FlareSolverr 3.3.11
2023-12-12 15:50:51 INFO Testing web browser installation...
2023-12-12 15:50:51 INFO Platform: Linux-5.10.103-v7+-armv7l-with-glibc2.31
2023-12-12 15:50:51 INFO Chrome / Chromium path: /usr/bin/chromium
2023-12-12 15:50:51 INFO Chrome / Chromium major version: 119
2023-12-12 15:50:51 INFO Launching web browser...
Traceback (most recent call last):
File "/app/utils.py", line 302, in get_user_agent
driver = get_webdriver()
^^^^^^^^^^^^^^^
File "/app/utils.py", line 163, in get_webdriver
start_xvfb_display()
File "/app/utils.py", line 319, in start_xvfb_display
XVFB_DISPLAY.start()
File "/usr/local/lib/python3.11/site-packages/xvfbwrapper.py", line 73, in start
time.sleep(self.__class__.SLEEP_TIME_BEFORE_START)
PermissionError: [Errno 1] Operation not permitted
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 308, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. [Errno 1] Operation not permitted
2023-12-12 15:51:01 INFO FlareSolverr 3.3.11
2023-12-12 15:51:01 INFO Testing web browser installation...
2023-12-12 15:51:01 INFO Platform: Linux-5.10.103-v7+-armv7l-with-glibc2.31
2023-12-12 15:51:01 INFO Chrome / Chromium path: /usr/bin/chromium
2023-12-12 15:51:01 INFO Chrome / Chromium major version: 119
2023-12-12 15:51:01 INFO Launching web browser...
Traceback (most recent call last):
File "/app/utils.py", line 302, in get_user_agent
driver = get_webdriver()
^^^^^^^^^^^^^^^
File "/app/utils.py", line 163, in get_webdriver
start_xvfb_display()
File "/app/utils.py", line 319, in start_xvfb_display
XVFB_DISPLAY.start()
File "/usr/local/lib/python3.11/site-packages/xvfbwrapper.py", line 73, in start
time.sleep(self.__class__.SLEEP_TIME_BEFORE_START)
PermissionError: [Errno 1] Operation not permitted
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 308, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. [Errno 1] Operation not permitted
2023-12-12 15:51:11 INFO FlareSolverr 3.3.11
2023-12-12 15:51:11 INFO Testing web browser installation...
2023-12-12 15:51:11 INFO Platform: Linux-5.10.103-v7+-armv7l-with-glibc2.31
2023-12-12 15:51:11 INFO Chrome / Chromium path: /usr/bin/chromium
2023-12-12 15:51:11 INFO Chrome / Chromium major version: 119
2023-12-12 15:51:11 INFO Launching web browser...
Traceback (most recent call last):
File "/app/utils.py", line 302, in get_user_agent
driver = get_webdriver()
^^^^^^^^^^^^^^^
File "/app/utils.py", line 163, in get_webdriver
start_xvfb_display()
File "/app/utils.py", line 319, in start_xvfb_display
XVFB_DISPLAY.start()
File "/usr/local/lib/python3.11/site-packages/xvfbwrapper.py", line 73, in start
time.sleep(self.__class__.SLEEP_TIME_BEFORE_START)
PermissionError: [Errno 1] Operation not permitted
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 308, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. [Errno 1] Operation not permitted
2023-12-12 15:51:21 INFO FlareSolverr 3.3.11
2023-12-12 15:51:21 INFO Testing web browser installation...
2023-12-12 15:51:21 INFO Platform: Linux-5.10.103-v7+-armv7l-with-glibc2.31
2023-12-12 15:51:21 INFO Chrome / Chromium path: /usr/bin/chromium
2023-12-12 15:51:21 INFO Chrome / Chromium major version: 119
2023-12-12 15:51:21 INFO Launching web browser...
Traceback (most recent call last):
File "/app/utils.py", line 302, in get_user_agent
driver = get_webdriver()
^^^^^^^^^^^^^^^
File "/app/utils.py", line 163, in get_webdriver
start_xvfb_display()
File "/app/utils.py", line 319, in start_xvfb_display
XVFB_DISPLAY.start()
File "/usr/local/lib/python3.11/site-packages/xvfbwrapper.py", line 73, in start
time.sleep(self.__class__.SLEEP_TIME_BEFORE_START)
PermissionError: [Errno 1] Operation not permitted
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 308, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. [Errno 1] Operation not permitted
2023-12-12 15:51:32 INFO FlareSolverr 3.3.11
2023-12-12 15:51:32 INFO Testing web browser installation...
2023-12-12 15:51:32 INFO Platform: Linux-5.10.103-v7+-armv7l-with-glibc2.31
2023-12-12 15:51:32 INFO Chrome / Chromium path: /usr/bin/chromium
2023-12-12 15:51:32 INFO Chrome / Chromium major version: 119
2023-12-12 15:51:32 INFO Launching web browser...
Traceback (most recent call last):
File "/app/utils.py", line 302, in get_user_agent
driver = get_webdriver()
^^^^^^^^^^^^^^^
File "/app/utils.py", line 163, in get_webdriver
start_xvfb_display()
File "/app/utils.py", line 319, in start_xvfb_display
XVFB_DISPLAY.start()
File "/usr/local/lib/python3.11/site-packages/xvfbwrapper.py", line 73, in start
time.sleep(self.__class__.SLEEP_TIME_BEFORE_START)
PermissionError: [Errno 1] Operation not permitted
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 308, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. [Errno 1] Operation not permitted
2023-12-12 15:51:44 INFO FlareSolverr 3.3.11
2023-12-12 15:51:44 INFO Testing web browser installation...
2023-12-12 15:51:44 INFO Platform: Linux-5.10.103-v7+-armv7l-with-glibc2.31
2023-12-12 15:51:44 INFO Chrome / Chromium path: /usr/bin/chromium
2023-12-12 15:51:45 INFO Chrome / Chromium major version: 119
2023-12-12 15:51:45 INFO Launching web browser...
Traceback (most recent call last):
File "/app/utils.py", line 302, in get_user_agent
driver = get_webdriver()
^^^^^^^^^^^^^^^
File "/app/utils.py", line 163, in get_webdriver
start_xvfb_display()
File "/app/utils.py", line 319, in start_xvfb_display
XVFB_DISPLAY.start()
File "/usr/local/lib/python3.11/site-packages/xvfbwrapper.py", line 73, in start
time.sleep(self.__class__.SLEEP_TIME_BEFORE_START)
PermissionError: [Errno 1] Operation not permitted
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 308, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. [Errno 1] Operation not permitted
2023-12-12 15:52:00 INFO FlareSolverr 3.3.11
2023-12-12 15:52:00 INFO Testing web browser installation...
2023-12-12 15:52:00 INFO Platform: Linux-5.10.103-v7+-armv7l-with-glibc2.31
2023-12-12 15:52:00 INFO Chrome / Chromium path: /usr/bin/chromium
2023-12-12 15:52:01 INFO Chrome / Chromium major version: 119
2023-12-12 15:52:01 INFO Launching web browser...
Traceback (most recent call last):
File "/app/utils.py", line 302, in get_user_agent
driver = get_webdriver()
^^^^^^^^^^^^^^^
File "/app/utils.py", line 163, in get_webdriver
start_xvfb_display()
File "/app/utils.py", line 319, in start_xvfb_display
XVFB_DISPLAY.start()
File "/usr/local/lib/python3.11/site-packages/xvfbwrapper.py", line 73, in start
time.sleep(self.__class__.SLEEP_TIME_BEFORE_START)
PermissionError: [Errno 1] Operation not permitted
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 308, in get_user_agent
raise Exception("Error getting browser User-Agent. " + str(e))
Exception: Error getting browser User-Agent. [Errno 1] Operation not permitted |
Hi 2023-12-12 05:32:18 INFO FlareSolverr 3.3.11
2023-12-12 05:32:18 INFO Testing web browser installation...
2023-12-12 05:32:18 INFO Platform: Linux-5.10.110-rockchip-rk3588-aarch64-with-glibc2.31
2023-12-12 05:32:18 INFO Chrome / Chromium path: /usr/bin/chromium
2023-12-12 05:32:19 INFO Chrome / Chromium major version: 120
2023-12-12 05:32:19 INFO Launching web browser...
version_main cannot be converted to an integer
2023-12-12 05:32:22 INFO FlareSolverr User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
2023-12-12 05:32:22 INFO Test successful!
2023-12-12 05:32:22 INFO Serving on http://0.0.0.0:8191 Could this be an issue with the armv7l image itself? @nusiloot can you post the output of the following cmd: @nusiloot, have you tried to delete the container, the image, and do a If none of this works for you, you can always try to checkout the git repo and build the image yourself. I've done it in the past and, at that time, it solved the issue for me. Nowadays, I've been using the latest versions for a while and haven't had the issue ever since. |
Thanks @jfcabral for your suggestions. Unfortunately, the issue persists even with manual compilation. 05:50:17 Fri Dec 15 - pi @ Server2 / : docker info --format '{{ .OSType }}/{{ .Architecture }}'
linux/armv7l |
Unlikely to help, but try v3.3.12 |
thanks, same error. |
Again unlikely to resolve your issue, but v3.3.13 is now out, please try it. |
still not |
fyi: tried 3.3.16 but issue still alive. |
Same issue here on rpi5 using docker |
Same problem on linux/armv7l with 3.3.16 through docker. Tried 3.3.6 but that errors the same way as well. |
On your host system:
Update Docker to the latest supported version, then create a fresh FlareSolverr container. You can read more here - https://docs.linuxserver.io/FAQ/#libseccomp If still having issues, let me know the versions of libseccomp2 and Docker installed. |
uname -a:
error:
docker logs flaresolverr_test
Originally posted by @nusiloot in #986 (comment)
The text was updated successfully, but these errors were encountered: