zbirenbaum / copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
MIT License
2.64k stars 75 forks source link

Update copilot/dist #96

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Automated changes by create-pull-request GitHub action

MunifTanjim commented 1 year ago

@alexander-born this version has some updates related to proxy.

Can you try setting vim.g.copilot_proxy_strict_ssl = false and see if this PR improves your proxy situation?

ref: https://github.com/zbirenbaum/copilot.lua/issues/89

alexander-born commented 1 year ago

I checked out this branch and set vim.g.copilot_proxy_strict_ssl = false and set vim.g.copilot_proxy, but I am still getting

[Copilot] RPC[Error] code_name = InternalError, message = "Request signInInitiate failed with message: getaddrinfo ENOTFOUND github.com"

when trying Copilot auth.

One thing my username has a \ could this lead to some issues? I tried the following combinations: vim.g.copilot_proxy = "GROUP\\USER:PASSWORD@proxy.muc:8080" vim.g.copilot_proxy = "GROUP%5CUSER:PASSWORD@proxy.muc:8080" vim.g.copilot_proxy = [[GROUP\USER:PASSWORD@proxy.muc:8080]] vim.g.copilot_proxy = "USER:PASSWORD@proxy.muc:8080"

MunifTanjim commented 1 year ago

One thing my username has a \ could this lead to some issues?

vim.g.copilot_proxy = "GROUP%5CUSER:PASSWORD@proxy.muc:8080" should've worked.

I checked out this branch and set vim.g.copilot_proxy_strict_ssl = false and set vim.g.copilot_proxy, but I am still getting

Sadly, looks like this version still haven't fixed all the issues with proxy. 🤦🏼‍♂️