Some sandboxes fail HTTPS to openrouter.ai with certificate has expired, while others on the same host work
We are seeing a sandbox-specific TLS failure when calling openrouter.ai from inside Microsandbox.
Repro
Failing sandbox:
msb exec <failing-sandbox> -- sh -lc 'node -e '\''fetch("https://openrouter.ai/api/v1/models").then(async r=>console.log(r.status)).catch(e=>{console.error(e);process.exit(1)})'\'''
Result:
TypeError: fetch failed
[cause]: Error: certificate has expired
code: 'CERT_HAS_EXPIRED'
Also with curl:
msb exec <failing-sandbox> -- sh -lc 'curl -Iv https://openrouter.ai/api/v1/models 2>&1 | grep -i "expire\|cert\|SSL"'
Result:
- TLS alert, certificate expired
- SSL certificate problem: certificate has expired
curl: (60) SSL certificate problem: certificate has expired
Control checks
Inside the same failing sandbox, these succeed:
https://example.com
https://api.github.com
https://www.google.com
Example GitHub check:
msb exec <failing-sandbox> -- sh -lc 'curl -Iv https://api.github.com 2>&1 | grep -i "issuer\|SSL certificate verify ok"'
Result includes:
issuer: CN=microsandbox CA; O=microsandbox
SSL certificate verify ok.
Some sandboxes fail HTTPS to
openrouter.aiwithcertificate has expired, while others on the same host workWe are seeing a sandbox-specific TLS failure when calling
openrouter.aifrom inside Microsandbox.Repro
Failing sandbox:
Result:
TypeError: fetch failed
[cause]: Error: certificate has expired
code: 'CERT_HAS_EXPIRED'
Also with curl:
Result:
curl: (60) SSL certificate problem: certificate has expired
Control checks
Inside the same failing sandbox, these succeed:
https://example.com
https://api.github.com
https://www.google.com
Example GitHub check:
Result includes:
issuer: CN=microsandbox CA; O=microsandbox
SSL certificate verify ok.