Startup blocks after `ep_ai_core initialized` — HTTP server never listens
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- node.js, typescript
- Ambito
- backend
Direzione di ricerca
Start by tracing the plugin load chain after ep_ai_core initialized and setKeys done, including the initialization paths in ep_ai_core and ep_ai_chat; the issue does not name source files or tests. Reproduce startup with both AI plugins installed and identify which awaited initialization prevents the listener from starting. Done means Etherpad starts listening when AI initialization fails or is incomplete, with AI features degrading gracefully.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Environment
- Etherpad 3.3.13 (official Docker image)
- ep_ai_core 1.1.0, ep_ai_chat 1.2.5, ep_openid_connect 3.0.13
- Node.js v24.22.2, Linux
- 24 other plugins; startup completes fine without the AI plugins
Symptom
With ep_ai_core and ep_ai_chat installed, startup stalls right after
[INFO] ep_ai_core - ep_ai_core initialized
[INFO] settings - setKeys done
The HTTP server listening line never appears; the process stays alive
and idle (epoll_wait), the healthcheck goes unhealthy and every request
502s. Removing both plugins restores normal startup; re-adding them
reproduces the hang on every boot.
What I ruled out
- Missing/misconfigured LLM settings: the stall occurs with a fully
populatedep_ai_coreblock (openai-compatible provider, reachable
endpoint, exact model IDopenai/gpt-oss-120b) AND with the block
absent entirely. resolveModel(): it is fire-and-forget with a.catch, and an
exact model ID skips the/modelslookup anyway.- Endpoint reachability: the container reaches the endpoint; the
provider's/v1/modelscurrently answers 500, but per the code that
path is only logged, not awaited.
loadSettings and init_ep_ai_core complete (ep_ai_core initialized
is logged). The hang sits somewhere after that in the plugin load
chain — I have not pinned it down further.
Request
A guard so that a failing or incomplete AI init cannot block the
Etherpad boot — the HTTP listener should come up regardless, with the
AI features degrading gracefully.
- Lingua principale
- TypeScript
- Stelle
- 2
- Fork
- 0
- Merge medio
- 2g 10h
- PR unite (30g)
- 10
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ether/ep_ai_chat
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
ether/ep_ai_chat#2 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ether/ep_ai_chat
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ehmpathy/rhachet-roles-bhrain#878 ·
I maintainer di solito rispondono entro 1 giorno
-
Chat UI: Message actions dropdown is cut off beneath composer when message is near bottom of chatForse già presa @koeria l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
milind-soni/OpenMausBot#8023 ·
I maintainer di solito rispondono entro 1 giorno
-
Windows microphone listing treats words in a device name as DirectShow labelsForse già presa @Sujal-chaudhary l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
clipy-recorder/clipy#447 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement from-app needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
nightly-labs/openbot#19162 ·
I maintainer di solito rispondono entro 1 giorno
-
triage:in-progress
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Cotal-AI/Cotal#11229 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno