Replies: 1 comment
|
Chat extensions (Continue, CodeGPT) show blank panels in code-server because they use VS Code's Extension Host webview APIs with content security policies that differ from the desktop app. Fix 1: Check browser DevTools console (do this first) Open browser DevTools (F12) on the code-server tab. Extension webview errors appear there, not in server logs. Look for:
Fix 2: Proxy headers for WebSocket support If behind nginx/Caddy, ensure these headers are set: proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;Missing Fix 3: Install from Open VSX code-server uses Open VSX by default. Install the extensions explicitly: code-server --install-extension Continue.continue
code-server --install-extension danielsanmedium.dscodegptOr download code-server --install-extension /path/to/extension.vsixFix 4: Verify Ollama reachability from code-server's perspective # From the machine running code-server:
curl http://localhost:11434/api/tagsIf code-server is in Docker, |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Trying to install an extension which I could use to connect to my local Ollama server, however, so far no luck. All the chat interfaces are blank:
I've tried:
Docker-compose seems pretty basic:
Logs
Any help would be appreciated 🙏
EDIT 1 More details:
If I install the continue extension via the marketplace or via
code-server --install-extension continue.continue --forceI get the following error:If I install it manually by downloading VSIX it seems to crash silently (or at least I dont see anything obvious)
All reactions