🐞 Bug Summary
When creating a new downstream MCP gateway with a custom CA the browser receives a few error upon attempting to add the file, and MCP server creation is blocked.
🧩 Affected Component
Select the area of the project impacted:
🔁 Steps to Reproduce
- Head to the UI route admin/#gateways
- Create a gateway
- Select a file in the
Upload CA certificate section
- receive error above
🤔 Expected Behavior
What should have happened instead?
The UI should accept the certificate file and allow MCP server creation.
📓 Logs / Error Output
Paste any relevant stack traces or logs here.
⚠️ Do not paste secrets, credentials, or tokens.
bundle-XuLqEPyt.js:1 Unhandled promise rejection: TypeError: Cannot read properties of undefined (reading 'files')
at validateCACertFiles (bundle-XuLqEPyt.js:1:557848)
at executeAction (bundle-XuLqEPyt.js:1:603371)
at HTMLDocument.handleDelegatedChange (bundle-XuLqEPyt.js:1:604173)
(anonymous) @ bundle-XuLqEPyt.js:1
bundle-XuLqEPyt.js:1 Error: An unexpected error occurred. Please refresh the page.
showErrorMessage @ bundle-XuLqEPyt.js:1
(anonymous) @ bundle-XuLqEPyt.js:1
bundle-XuLqEPyt.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'files')
at validateCACertFiles (bundle-XuLqEPyt.js:1:557848)
at executeAction (bundle-XuLqEPyt.js:1:603371)
at HTMLDocument.handleDelegatedChange (bundle-XuLqEPyt.js:1:604173)
validateCACertFiles @ bundle-XuLqEPyt.js:1
executeAction @ bundle-XuLqEPyt.js:1
handleDelegatedChange @ bundle-XuLqEPyt.js:1
🧠 Environment Info
You can retrieve most of this from the /version endpoint.
| Key |
Value |
| Version or commit |
1.0.2 |
| Runtime |
Python 3.12.13 |
| Platform / OS |
Docker (macOS/arm64) |
| Container |
Podman |
🧩 Additional Context (optional)
Add any configuration details, flags, or related issues.
🐞 Bug Summary
When creating a new downstream MCP gateway with a custom CA the browser receives a few error upon attempting to add the file, and MCP server creation is blocked.
🧩 Affected Component
Select the area of the project impacted:
mcpgateway- APImcpgateway- UI (admin panel)mcpgateway.wrapper- stdio wrapper🔁 Steps to Reproduce
Upload CA certificatesection🤔 Expected Behavior
What should have happened instead?
The UI should accept the certificate file and allow MCP server creation.
📓 Logs / Error Output
Paste any relevant stack traces or logs here.
⚠️ Do not paste secrets, credentials, or tokens.
🧠 Environment Info
You can retrieve most of this from the
/versionendpoint.1.0.2Python 3.12.13Docker (macOS/arm64)Podman🧩 Additional Context (optional)
Add any configuration details, flags, or related issues.