We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that if the container is stopped and restarted, it will report an error unless the container is deleted and recreated.
loop.run_until_complete(main_task)
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 686, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/app/potoken_generator/main.py", line 35, in run
token = await potoken_extractor.run_once()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/potoken_generator/extractor.py", line 46, in run_once
await self._update()
File "/app/potoken_generator/extractor.py", line 91, in _update
await asyncio.wait_for(self._perform_update(), timeout=600)
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
File "/app/potoken_generator/extractor.py", line 104, in _perform_update
browser = await nodriver.start(headless=False,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/nodriver/core/util.py", line 74, in start
return await Browser.create(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/nodriver/core/browser.py", line 87, in create
await instance.start()
File "/usr/local/lib/python3.12/site-packages/nodriver/core/browser.py", line 343, in start
raise Exception(
Exception:
Failed to connect to browser
One of the causes could be when you are running as root.
In that case you need to pass no_sandbox=True
No response
Docker version 28.0.4 on almalinux 9
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bug description
It seems that if the container is stopped and restarted, it will report an error unless the container is deleted and recreated.
reproduction steps
loop.run_until_complete(main_task)
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 686, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/app/potoken_generator/main.py", line 35, in run
token = await potoken_extractor.run_once()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/potoken_generator/extractor.py", line 46, in run_once
await self._update()
File "/app/potoken_generator/extractor.py", line 91, in _update
await asyncio.wait_for(self._perform_update(), timeout=600)
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
File "/app/potoken_generator/extractor.py", line 104, in _perform_update
browser = await nodriver.start(headless=False,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/nodriver/core/util.py", line 74, in start
return await Browser.create(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/nodriver/core/browser.py", line 87, in create
await instance.start()
File "/usr/local/lib/python3.12/site-packages/nodriver/core/browser.py", line 343, in start
raise Exception(
Exception:
Failed to connect to browser
One of the causes could be when you are running as root.
In that case you need to pass no_sandbox=True
screenshots
No response
links
platform information
Docker version 28.0.4 on almalinux 9
additional context
No response
The text was updated successfully, but these errors were encountered: