error: FailedToOpenSocket downloading package manifest pyright
Description
I have deployed OpenCode in an offline Linux environment, configured with the Qwen3-Next-80B model. During conversations, it occasionally reports the error: "error: FailedToOpenSocket downloading package manifest pyright".
Plugins
No
OpenCode version
1.1.21
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
This issue might be a duplicate of existing issues. Please check:
- #9788: When deploying open-source code offline, encountering 'Unable to connect' error - same offline deployment scenario with network connectivity issues
- #2224: Support for airgapped installation - reports exact same error 'error: ConnectionRefused downloading package manifest' in offline environments
- #8830: Cannot use opencode in private network - root cause identified where models.dev is not reachable in private networks
- #8642: Cannot use without network connection - offline environment with local model deployment failing due to required network downloads
These issues appear to be related to OpenCode's dependency on external network resources (models.dev, package registries) preventing operation in offline/airgapped environments.
Feel free to ignore if your specific case is different.
+1
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.