Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

appsettings.Production.yml ships hosted-service values that self-hosted instances inherit

オープン 初心者向け
#2,698 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp, kubernetes, yaml
領域
backend, cloud

調査の方向性

src/Exceptionless.Web/appsettings.Production.yml と src/Exceptionless.Job/appsettings.Production.yml の本番設定を読み、次に k8s/ex-prod-values.yaml と Staging の設定を確認してください。ホステッド環境の値をホステッドデプロイメント設定に移し、セルフホストのデフォルト値には含めないでください。セルフホストの起動時に BaseURL が必須となり、ホステッド環境の連携機能と URL がホステッドデプロイメントからのみ提供される状態になれば完了です。

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

説明

bug

appsettings.Production.yml in both the web and job projects contains values specific to the hosted service at exceptionless.io. Production is the default app mode when EX_AppMode is unset, so every self-hosted instance (Docker images included) loads them unless each one is overridden.

Where

Hosted values in those files:

Setting Value Effect on a self-hosted instance
BaseURL https://be.exceptionless.io If EX_BaseURL is forgotten, startup succeeds instead of failing with "BaseURL is a required configuration setting", and links in emails (verification, password reset, notifications), webhook payloads, the Slack redirect URI and the OAuth issuer all point at the hosted site.
ConnectionStrings:OAuth hosted GitHubId, GoogleId, SlackId The server treats GitHub, Google and Slack as configured; the startup log reports "Google OAuth, GitHub OAuth, Slack" as enabled integrations even though no secrets are set and none of them work.
ExceptionlessServerUrl https://collector.exceptionless.io If an operator sets EX_ExceptionlessApiKey to log the server's own errors but not the server URL, those errors are sent to the hosted collector. It is also added to the UI's Content-Security-Policy connect-src, as is BaseURL.
InternalProjectId hosted project id Harmless, but meaningless outside the hosted service.

Steps to reproduce

  1. Run the exceptionless/exceptionless image with Elasticsearch configured but without EX_BaseURL or EX_ConnectionStrings__OAuth.
  2. The startup log lists Startup optional integrations/auth providers: Google OAuth, GitHub OAuth, Slack.
  3. Sign up and request a password reset. The email link points to https://be.exceptionless.io/....

Expected

Self-hosted instances start with no third-party client IDs or hosted URLs. A missing BaseURL fails fast at startup.

Suggested fix

Remove BaseURL, ConnectionStrings:OAuth, ExceptionlessServerUrl and InternalProjectId from the appsettings.Production.yml files (leave them as comments if useful as examples) and supply the hosted values through the hosted deployment's own configuration (k8s/ex-prod-values.yaml / environment). Check the Staging files for the same pattern.

主要言語
C#
スター
2.5k
フォーク
508
平均マージ
2日 17時間
マージ済み PR(30日)
40

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

exceptionless/Exceptionless のほかの issue

exceptionless/Exceptionless の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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