Repository navigation
Closed as not planned
Description
Description
vscode 插件sst-dev.opencode-v在连接时出现
Initializing OpenCode application...
🚀 Starting OpenCode server...
🔍 Found config at: /home/john/.local/share/opencode/auth.json
✅ Loaded OpenCode configuration
🔍 Server URL: http://127.0.0.1:4096
✅ OpenCode server started on port: 4096
🔍 Full server URL: http://127.0.0.1:4096
🔍 Testing server health at: http://127.0.0.1:4096/health
✅ Server health check: 401
🔍 Testing server functionality at: http://127.0.0.1:4096/app/providers
✅ Server providers check: 401
⚠️ Server responded with status: 401
⏳ Waiting for models to load...
🔍 Checking models availability (attempt 1/5)...
⚠️ Providers endpoint returned 401, waiting...
🔍 Checking models availability (attempt 2/5)...
⚠️ Providers endpoint returned 401, waiting...
🔍 Checking models availability (attempt 3/5)...
⚠️ Providers endpoint returned 401, waiting...
🔍 Checking models availability (attempt 4/5)...
⚠️ Providers endpoint returned 401, waiting...
🔍 Checking models availability (attempt 5/5)...
⚠️ Providers endpoint returned 401, waiting...
⚠️ Models loading timeout after 5 attempts
OpenCode client initialized: http://127.0.0.1:4096
❌ HTTP 401 Unauthorized http://127.0.0.1:4096/project/current?directory=%2Fhome%2Fjohn%2FDownloads%2Ftest
Response body: Unauthorized
opencode 未设置“OPENCODE_SERVER_PASSWORD"。
Plugins
vscode plugin sst-dev.opencode-v2 0.1.1
OpenCode version
1.14.28
Steps to reproduce
- vscode remote-ssh连接到远程项目,在项目主机上安装opencode beta插件。
- 在vscode中打开opencode Assistant,vscode 输出栏中选择opencode Assistant,即出现以上错误信息
Screenshot and/or share link
Operating System
vscode in windows 11,opencode in ubuntu 22.04
Terminal
No response
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Apr 28, 2026
This issue might be a duplicate of existing issues. Please check:
Both issues describe the same root cause: the VSCode plugin not sending the correct Authorization header when
OPENCODE_SERVER_PASSWORDis set (or not set). Please check if your issue is covered there, and if so, consider adding a comment with your environment details instead.bfsg commentedon May 16, 2026
你这个版本的插件是从哪里下载的
ioxera commentedon May 29, 2026
vscode的插件商城,bug已经修复了,日志一切正常,但是还是打不开opencode的插件助手页面。
leike0813 commentedon Jun 14, 2026
As far as I know, the official OpenCode plugin has never worked, not even for a single second.
I'm now using Multicoder as a client, and it's been okay.
github-actions commentedon Aug 14, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.