[bug]: prime-cli compose sets WEBHOOK_ALLOWED_HOSTS from an undefined ${WEB_URL}, so the GitHub integration's Connect does nothing

Aperta
#10,133 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@harshdubey1234 ci sta già lavorando.

Dal 17/11/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker-compose, python
Ambito
devops

Direzione di ricerca

Start by locating the prime-cli code that generates /var/plane/docker-compose.yml and review how it sets WEB_URL across the backend services. Check the generated Compose configuration and the WEBHOOK_ALLOWED_HOSTS expectation described in the issue. Done when a fresh setup supplies the instance host names in the expected format and the GitHub Connect webhook succeeds without a manual .env workaround.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Version: Plane Commercial v3.3.3, Docker Compose, installed with prime-cli setup --behind-proxy, instance on a private IP.

Current behavior: The compose file prime-cli generates in /var/plane/docker-compose.yml has, on all five backend services:

WEB_URL: http://192.168.105.110
WEBHOOK_ALLOWED_HOSTS: ${WEB_URL}
WEBHOOK_ALLOWED_IPS: ""

WEB_URL is written as a literal service variable, but ${WEB_URL} is Compose interpolation, resolved from the shell or from a .env file next to the compose file, and prime-cli creates neither. WEBHOOK_ALLOWED_HOSTS is therefore empty. Even if it were set, WEB_URL holds a URL with a scheme, while WEBHOOK_ALLOWED_HOSTS expects comma-separated host names.

On an instance whose domain resolves to a private address, the SSRF guard introduced in #8884 then rejects the webhook Plane sends to its own Silo service when a workspace connects GitHub: clicking Connect in Workspace settings > Integrations > GitHub does nothing, and the internal webhook call fails with a 400.

Workaround: create /var/plane/.env with WEB_URL=<host>,<domain> (host names only), then prime-cli restart.

Expected behavior: prime-cli fills WEBHOOK_ALLOWED_HOSTS with the instance's host names, or the compose file takes them from a variable prime-cli defines.

Lingua principale
TypeScript
Stelle
63k
Fork
6.5k
Merge medio
2g 16h
PR unite (30g)
70

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di makeplane/plane

Tutte le issue di makeplane/plane

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.