You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed to fetch models.dev ERROR on every startup #32986
Every time I start opencode it logs an ERROR saying Failed to fetch models.dev. The log shows this on every session. I checked and models.dev resolves to Cloudflare IPs but the TLS handshake gets reset with Connection reset by peer. My model works fine so opencode must have a cached fallback, but the ERROR log every startup is confusing.
I saw issue #12408 about the same models.dev error. My report adds that this is a TLS Connection reset by peer from Cloudflare specifically, and that the cached fallback works fine so the log level should be reduced.
The description appears to be AI-generated (lengthy structured text with multiple sections, analogies, and pre-written suggested fixes). Please replace it with a concise, human-written description of what you actually observed.
Required fields are missing: OpenCode version, Operating System, Terminal, and Steps to reproduce are all left as _No response_. Please fill these in so the issue can be reproduced and investigated.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Thanks for updating the issue! It now includes all the necessary information — version, OS details, reproduction steps, and a clear description of the problem. Everything looks good.
Activity
github-actions commentedon Jun 19, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
_No response_. Please fill these in so the issue can be reproduced and investigated.Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Failed to fetch models.deverror on startup (TLS/certificate failure)If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Jun 19, 2026
Thanks for updating the issue! It now includes all the necessary information — version, OS details, reproduction steps, and a clear description of the problem. Everything looks good.