You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having trouble using this plugin. I am using tag v3.3.3 of this plugin in neovim. On using any chat feature (such as quick reply), I am getting the error: "Failed to authenticate 401". Copilot is enabled in my github account.
I tried adding some print to the curl_get function and this is the output:
After some looking around vscode is storing their token elsewhere. But closing this for now, the requests we are making are correct so I think the issue is with the token and that is not really possible to solve in the plugin I dont think, especially when its givng you bad credentials. Could be proxy issue, could be copilot.lua issue. Would at minimum recommend using copilot.vim at least and see if that helps
I am having trouble using this plugin. I am using tag v3.3.3 of this plugin in neovim. On using any chat feature (such as quick reply), I am getting the error: "Failed to authenticate 401". Copilot is enabled in my github account.
I tried adding some
print
to thecurl_get
function and this is the output:I tried making this request separately in terminal:
However, it works when I use following header, this time with 404 error:
I am having following 2 files in
~/.config/github-copilot
dir:Content of hosts.json:
Content of versions.json:
I doubt if
https://api.github.com/copilot_internal/v2/token
endpoint is even a valid REST endpoint?The text was updated successfully, but these errors were encountered: