briefercloud / briefercloud/briefer
Docker container doesn't start
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
After the issue with the SSL connection was fixed (thank you for the quick fix for that), my deployment unfortunately still doesn't come back to life.
I get this on the logs:
```
2024-12-03T20:26:49.898266396Z [W 2024-12-03 20:26:49.895 LabApp] Failed to instantiate the extension manager pypi. Falling back to read-only manager.
2024-12-03T20:26:49.898286236Z Traceback (most recent call last):
2024-12-03T20:26:49.898289596Z File "/app/jupyter/venv/lib/python3.11/site-packages/jupyterlab/labapp.py", line 837, in initialize_handlers
2024-12-03T20:26:49.898292076Z ext_manager = manager_factory(app_options, listings_config, self)
2024-12-03T20:26:49.898301236Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-03T20:26:49.898304516Z File "/app/jupyter/venv/lib/python3.11/site-packages/jupyterlab/extensions/__init__.py", line 46, in get_pypi_manager
2024-12-03T20:26:49.898320236Z return PyPIExtensionManager(app_options, ext_options, parent)
2024-12-03T20:26:49.898322676Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-03T20:26:49.898324476Z File "/app/jupyter/venv/lib/python3.11/site-packages/jupyterlab/extensions/pypi.py", line 134, in __init__
2024-12-03T20:26:49.898326596Z self._httpx_client = httpx.AsyncClient(proxies=proxies)
2024-12-03T20:26:49.898328436Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
which seems to be related to [this issue](https://github.com/jupyterlab/jupyterlab/issues/17012).
The Next application and API seem to run:
```
2024-12-03T20:26:46.964329557Z ▲ Next.js 13.5.5
2024-12-03T20:26:46.964361758Z - Local: http://localhost:4000
2024-12-03T20:26:46.964364638Z - Network: http://0.0.0.0:4000
2024-12-03T20:26:46.964366678Z
2024-12-03T20:26:46.964368518Z ✓ Ready in 766ms
...
2024-12-03T20:26:49.962250275Z [I 2024-12-03 20:26:49.962 ServerApp] Jupyter Server 2.12.1 is running at:
2024-12-03T20:26:49.962431876Z [I 2024-12-03 20:26:49.962 ServerApp] http://70ded3768559:8888/?token=...
2024-12-03T20:26:49.962438516Z [I 2024-12-03 20:26:49.962 ServerApp] http://127.0.0.1:8888/?token=...
```
After that it waits forever
```
2024-12-03T20:27:24.042623718Z Waiting for Web and API services to be reachable...
2024-12-03T20:27:26.077350562Z Waiting for Web and API services to be reachable...
2024-12-03T20:27:28.112611728Z Waiting for Web and API services to be reachable...
2024-12-03T20:27:30.142806838Z Waiting for Web and API services to be reachable...
...
```
It is working when I run it locally, but my coolify deployment has the issue. I tried pulling, redeploying without cache etc. without any success.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Coolify deployment and compare its JupyterLab extension-manager traceback with the linked JupyterLab issue. Check the container startup logs, including the Next.js and Jupyter Server readiness messages, and trace why the deployment continues waiting for Web and API services. Done means the container starts successfully and the readiness wait completes in Coolify.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, jupyter, next.js, python
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100