Unable to sign in to GitHub Copilot using Positron Assistant on a Linux installation #10027
Replies: 7 comments
-
|
To preface: Arch Linux isn't one of the supported platforms and we don't perform any official testing on it. While I am a Posit employee, I'm answering this as a fellow Arch Linux user, not in any sort of official capacity. (I'm not even on the Positron team.) That said... It works for me. The only difference in the listed information is that I'm still on kernel 6.17.1 because I haven't updated in a bit. So I'm guessing the difference is in how you installed it. How did you do it? For me, since there's not a PKGBUILD, I used (Side note: Copilot in VS Code doesn't use |
Beta Was this translation helpful? Give feedback.
-
|
Hi @adamhigerd Thanks for the comments. It is very reassuring to hear that it works for others, so I just have to figure out what's wrong with my setup. |
Beta Was this translation helpful? Give feedback.
-
|
@mark-andrews Now how did I manage to miss that PKGBUILD there when I was looking for it? I must have made a typo or something. Looking at it, I don't see why that shouldn't work. I can only imagine there must be some sort of dependency mismatch. If you run |
Beta Was this translation helpful? Give feedback.
-
|
Hi @adamhigerd Thanks for the advice. I just installed Ubuntu on a virtual box and installed Positron. Positron Assistant and GitHub Copilot worked perfectly as advertised. So at at least I can get it working properly on Linux. So something is maybe wrong with either the PKGBUILD I am using, though as mentioned, I've been using this for around a year with no trouble, and there's nothing else causing trouble at the moment, so it must be something small with this PKGBUILD or else it is something else. The That's very useful info. Looking at it further, on Ubuntu, I have and this identical, even the same build sha1, on Arch. However, the I think I will get to the bottom of this now, one way or the other. And it could be something very specific to my current setup, and not affect other users. But as soon as I figure it out, I will post back here just for the record. |
Beta Was this translation helpful? Give feedback.
-
|
I have now have it working. I still don't know what the problem was with the PKGBUILD on Arch AUR. I tried it in a virtual box with a fresh minimal Arch Linux but encountered the exact same problem as I did on my main desktop, specifically a corrupted copilot-language-server file. I don't know how or why that happened because that file just needed to be copied from the contents of the deb installer. Thanks again @adamhigerd. I don't think I would ever have tracked down the source of the problem if you had not suggested looking at the copilot-language-server. |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, I have no idea what's up with that either. I can only imagine that it must have been some sort of one-off hiccup, and I should have thought to suggest just uninstalling and reinstalling it. |
Beta Was this translation helpful? Give feedback.
-
|
I get the same error message and I have the same circumstances as @mark-andrews, except that I am on an enterprise windows machine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a GitHub account with Copilot enabled.
I am on Linux.
I can use GH Copilot in VS Code and in the terminal, so I can authenticate myself to use Copilot on this Linux installation.
On Positron, I can sign in to GitHub and I can use GitHub extensions like GitHub Pull Requests.
Using the AI Assistant, I can use Anthropic via an API key.
However, in the AI Assistant, I can not sign in to use GitHub Copilot.
Here's the error I get
and if I click Sign In again, I get
I don't know what these errors mean. I have tried everything and had long discussions with ChatGPT trying to get to the bottom of it, but now I'm stumped. I am not sure what the problem is or what to try next: GitHub in Positron works; AI Assistant with Anthropic works; Copilot in VS Code works; All on this Linux installation. To that I would add that I can use GitHub Copilot via the AI Assistant on Positron on Windows.
Here's the Positron installation information:
I'm on Arch Linux, but installed the latest Positron via the x64 deb installer at https://positron.posit.co/download.html
Are there any reported incidents from others of trouble signing in to GitHub Copilot via the AI Assistant on Linux? Has anyone successful done this?
Beta Was this translation helpful? Give feedback.
All reactions