-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
vscode extension fails to initialize with "Unable to connect to the extension services" and the app port 54112 seems to be the problem.
While the extension complains, I can open another window and listen on port 54112 (using 'nc -l localhost 54112).
If I relaunch vscode while keeping nc listening on 54112, I see this POSTed to that port:
POST /54113/api/settings HTTP/1.1
host: localhost:54112
connection: keep-alive
Content-Type: application/json
accept: */*
accept-language: *
sec-fetch-mode: cors
user-agent: node
accept-encoding: gzip, deflate
content-length: 433
{"distinctId":"50331a80-52b7-48ac-afce-f8231d7e139b","globalState":{"codeGPTUserId":"50331a80-52b7-48ac-afce-f8231d7e139b","config":{},"autoComplete":{"enabled":true,"provider":"Ollama","model":"llama3:instruct","maxTokens":128,"suggestionDelay":600}},"config":{"apiKey":"OpenAI","query":{"language":"English"},"Autocomplete":{"enabled":true,"provider":"Ollama - llama3:instruct","maxTokens":128,"suggestionDelay":600}},"secrets":{}}
I'm confused about why codegpt can't use port 54112. This happens on two different systems:
OS: Opensuse tumbleweed (up-to-date)
Vscode: 1.90.2
Vscode Node: 20.9.0
Any help is much appreciated!
Metadata
Metadata
Assignees
Labels
No labels