GitHub Copilot show this error GitHub Copilot could not connect to server. Extension activation failed: "User not authorized"
But I have authorized on GitHub
If you are trying GitHub copilot for the first time, this error indicates that you are not part of the beta invite list. What you can do is you can join the waitlist (https://github.com/features/copilot/signup) and wait for your chance to try the beta.
If you have already got the invitation, then there was an error connecting to api.github.com to request a token to use the Copilot service.
Full Discussion: https://github.com/github/feedback/discussions/7707
Related
I've been getting an "Internal Server Error" message when trying to authorize GitHub on Heroku. How do I fix this?
Github auth tokens were recently comprised of Heroku. As a procation, they made it so no new auth tokens would be issued. We do not know when they will start issuing them again. You can view this in more detail on their support page.
I'm using Sourcetree version 3.4.6.
I have followed the instructions for this SO answer. I get the token and in Tools => Options => Authentication tab I click on the Add text:
I use the PAT as password but I get a "Authentication failed" message.
How can I use PAT with SourceTree?
You should first authenticate with your default browser on your github account with your credentials (or just check if you're already authenticated), then choose in the SourceTree app the "OAuth" authentication instead of the Basic then click "Refresh OAuth token". Now you should be able to enter successfully to your github repos.
VS Code has a builtin extension GitHub Authentication that manages creation of a GitHub Personal Access Token and automatic logins.
However, if you are using more then one GitHub account, the extension might try generating a PAT for the wrong account, resulting in an access denied.
Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Permission to MyAccount/repo.git denied to OtherAccount.
fatal: unable to access 'https://github.com/MyAccount/repo.git/': Failure when receiving data from the peer
The remedy is to abort the web session started by GitHub Authentication, and then in the message bar of VSCode, click on GitHub Authentication to trigger the manual failback PAT handling.
First make sure you have a current PAT created for repo access for MyAccount on GitHub. Then copy the PAT and enter it VSCode when prompted.
I get the following error
We cannot complete your request
server_error: The request could not be completed. Please try again later.
Error link:
https://login.live.com/HandleGithubResponse.srf?code=c3f48c4783f6d1d5ef1b&state=38FEE58AB9343DAB#
update
I used GitHub to log in to Azure before, and published a plugin. Now, when I want to log in to Azure using GitHub, I will be forced to log in to my MS account. My mailbox is rxliuli#gmail.com on both MS and GitHub.
At the same time, I created an organization rxliuli after logging in with an MS account, Azure did not have any errors, but when I want to log in to rxliuli (create a personal token), it will prompt ERROR Failed request: (401) What's wrong, is there any way for me to use the publisher name rxliuli after logging in with GitHub before?
update
I can't use vsce to create any new users right now. . .
update
Currently, I can use github to log in to azure, but using vsce login rxliuli still shows ERROR Failed request: (401), I am sure that the token has all permissions and has not expired
Well, actually because the token I created has no choice to allow all organizations. . .
ref: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#i-get-403-forbidden-or-401-unauthorized-error-when-i-try-to-publish-my-extension
I'm using a github Mac client to manage my repo and for sent pull requests to the repo I forked. In the last few days, I can't send pull requests, I only recieve this error:
error: The requested URL returned error: 403 while accessing
https://github.com/pyrocms/pyrocms.git/info/refs
fatal: HTTP request failed
I have also tried to set SSH instead of HTTPS, but doing this, the Mac client can't contact the server... How can I fix this?
This is the project I need.
I need to update my git version.
Thanks to all!