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

オープン
#10,133 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@harshdubey1234 がすでに取り組んでいます。

2026年11月17日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker-compose, python
領域
devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
63k
フォーク
6.5k
平均マージ
2日 16時間
マージ済み PR(30日)
70

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

makeplane/plane のほかの issue

makeplane/plane の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。