[nb] api_explorer.py: exception: [Errno 111] Connection refused #546
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Auto-filed by the notebook error filer (
nb-sig:828fcadc8dc3— do not edit this marker; dedup and auto-close key on it).api_explorer.pyexception: [Errno 111] Connection refusedThis issue is closed automatically when the error stops occurring.
Fixed in
9b58e2dfb2+81dba5ef2a. Root cause: the api service was wedged —/health→_check_bib()→list_items()[:1]hydrated the entire bib store (oneget()per row, ~140 s at the 181k items the Zotero sync reached) and leaked the connection, pinning a threadpool thread per hit until the pool (40) was exhausted; the container then sat unhealthy for ~12 h with ~1500 leaked healthcheck zombie processes. Fixes: SQL-levellimitpushdown,count()as a single COUNT query, explicitStore.close()in the health check,curl --max-time 4in the image healthcheck, and the image now installs thecliextra bundle (a bareuv sync --no-devshipped no uvicorn). Redeployed asfhirworx/api:9b58e2df—/healthanswers in <300 ms from the notebooks container. Separately, the notebook itself pointed athttp://localhost:8080(a host-side dev server that never exists in the container) — fixed ine8f6385bc5to default tohttp://api:8000with aSTACK_API_URLoverride. Verified: headless export in the prod container now has zero cell errors.