codeGPT-assistant-extension icon indicating copy to clipboard operation
codeGPT-assistant-extension copied to clipboard

connect ECONNREFUSED 127.0.0.1:3039

Open niniack opened this issue 1 year ago • 2 comments

Hi,

I have followed the steps for installation and gone in to ensure that the additional commands in the extension dir are run. When I open up the chat interface on vscode and attempt to submit something, I get the error

connect ECONNREFUSED 127.0.0.1:3039

I never have a browser open up to log me into openAI. I've double checked to make sure that 3039 is available and not blocked by a firewall. But, maybe I am missing something.

Any suggestions?

niniack avatar Aug 21 '23 09:08 niniack

The solution that worked for me was :

  • disable the extension
  • restart my computer
  • open vscode, enable the extension again
  • cmd+shift+p in vs code > Chat with AI
  • wait for the browser to open and then login

sbcdevp avatar Aug 24 '23 11:08 sbcdevp

Had the same issue. The fix from @sbcdevp was not working. But I figured, that I installed the Node packages with the bash shell, while VSCode was using the ZSH shell. Activating the bash shell in VSCode did the trick then.

ArnoBuschmann avatar Sep 04 '23 14:09 ArnoBuschmann