mcp-context-forge icon indicating copy to clipboard operation
mcp-context-forge copied to clipboard

[Bug]: The Helm deployment encounters an error, causing the pod to restart.

Open himanshugpt3 opened this issue 1 month ago • 0 comments

🐞 Bug Summary

Briefly describe the issue or unexpected behavior.

In Charts folder -> values ->

SSO_ISSUERS: "" # optional JSON array of issuer URLs for SSO providers

SSO_ISSUERS is defined as empty string which is giving below error pasted in logs.

We need to change it to

SSO_ISSUERS: "[]"


🧩 Affected Component

Select the area of the project impacted:

  • [ ] mcpgateway - API
  • [ ] mcpgateway - UI (admin panel)
  • [ ] mcpgateway.wrapper - stdio wrapper
  • [ ] Federation or Transports
  • [ ] CLI, Makefiles, or shell scripts
  • [ ] Container setup (Docker/Podman/Compose)
  • [ ] Other (explain below)

🔁 Steps to Reproduce

  1. ...
  2. ...
  3. ...

🤔 Expected Behavior

What should have happened instead?


📓 Logs / Error Output

06:35:22 - mcpgateway.config - WARNING - 🔑 SECURITY WARNING - auth_encryption_secret: Secret has low entropy. Consider using a more random value. Failed to read config file: gunicorn.config.py Traceback (most recent call last): File "/app/.venv/lib64/python3.12/site-packages/gunicorn/app/base.py", line 110, in get_config_from_filename spec.loader.exec_module(mod) File "", line 999, in exec_module File "", line 488, in _call_with_frames_removed File "/app/gunicorn.config.py", line 19, in from mcpgateway.config import settings File "/app/mcpgateway/init.py", line 19, in from mcpgateway import reverse_proxy, wrapper, translate File "/app/mcpgateway/reverse_proxy.py", line 67, in from mcpgateway.services.logging_service import LoggingService File "/app/mcpgateway/services/init.py", line 15, in from mcpgateway.services.gateway_service import GatewayError, GatewayService File "/app/mcpgateway/services/gateway_service.py", line 72, in from mcpgateway.config import settings File "/app/mcpgateway/config.py", line 1473, in settings = get_settings() ^^^^^^^^^^^^^^ File "/app/mcpgateway/config.py", line 1451, in get_settings cfg = Settings() ^^^^^^^^^^ File "/app/mcpgateway/config.py", line 1366, in init super().init(**kwargs) File "/app/.venv/lib64/python3.12/site-packages/pydantic_settings/main.py", line 193, in init super().init( File "/app/.venv/lib64/python3.12/site-packages/pydantic/main.py", line 250, in init validated_self = self.pydantic_validator.validate_python(data, self_instance=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pydantic_core._pydantic_core.ValidationError: 1 validation error for Settings sso_issuers Value error, SSO_ISSUERS must be a JSON array of URLs, got: '' [type=value_error, input_value='', input_type=str] For further information visit https://errors.pydantic.dev/2.12/v/value_error


🧠 Environment Info

You can retrieve most of this from the /version endpoint.

Key Value
Version or commit e.g. v0.9.0 or main@a1b2c3d
Runtime e.g. Python 3.11, Gunicorn
Platform / OS e.g. Ubuntu 22.04, macOS
Container e.g. Docker, Podman, none

🧩 Additional Context (optional)

Add any configuration details, flags, or related issues.

himanshugpt3 avatar Nov 12 '25 06:11 himanshugpt3