JudiniLabs / code-gpt-docs

Docusaurus page
https://code-gpt-docs.vercel.app
MIT License
553 stars 58 forks source link

CodeGPT is incompatible with some VPNs on Windows #288

Open trojanfoe opened 3 weeks ago

trojanfoe commented 3 weeks ago

After successfully setting-up CodeGPT on my MacBook, connected to OpenAI GPT-4o, I received this error when using vscode on Windows:

Unable to connect to the extension services

My Windows system meets the requirements; I have vscode 1.90 and nodejs 22.2.0 and the port (54112) is not in use:

> netstat -aon | findstr :54112

(nothing returned).

However the main difference between my Mac and Windows machines is that Windows machine is running a custom VPN solution which uses the subnet 100.64.0.0/10 and after stopping the VPN CodeGPT works as expected.

It's not clear to me why the VPN would affect CodeGPT like this.

trojanfoe commented 3 weeks ago

Once the extension has initially connected to the AI provider (OpenAI in my case) it works fine, even if the VPN is connected. However if vscode is restarted, and the VPN is active, CodeGPT appears to forget its connections to OpenAI.