Relationships
#2293 CLI crashes while loading macOS platform certificates
Opened by nickgerace · 9/19/2026· Shipped 9/21/2026
Codex's notes:
Running any swamp command that initializes the HTTP client crashes before normal command handling.
Steps to reproduce:
- On macOS, run: swamp model search --json
- The same failure also occurs with: swamp help issue
Actual result: error: Uncaught (in promise) Error: Failed to load platform certificates: SecTrustSettingsCopyCertificates const wsHttpClient = Deno.createHttpClient({}); at src/cli/remote_run.ts:765:27
Expected result: Local commands, including help and model search, should run successfully. A platform certificate-loading failure should not crash the entire CLI.
Environment:
- swamp version: 20260918.211634.0-sha.bcaa9695
- macOS 26.6.2 (build 25G83)
- arm64
Scope: The crash blocks onboarding and also blocks the built-in issue-reporting command itself.
Workaround: Setting DENO_TLS_CA_STORE=mozilla allows local command handling to proceed. With that override, swamp help issue succeeds.
Shipped
Click a lifecycle step above to view its details.
hammz commented 9/21/2026, 4:02:47 PM
@nickgerace thanks! I noticed this this morning myself when setting up on a mac. a release is on the way out that should prevent this issue
nickgerace commented 9/21/2026, 4:31:59 PM
Thanks Zack :)
Sign in to post a ripple.