Beginner git plugin problem: denying my github credentials over https [message #1843867] |
Sun, 22 August 2021 08:01  |
Eclipse User |
|
|
|
Version: 2021-06 (4.20.0)
Build id: 202106
Linux Ubuntu 18.04.5
I'm relatively new to eclipse, so this is beginner stuff:
The default git plugin is working great for a local repository.
Trying to clone (or commit to) a github repository over https it denies my credentials. I get a window prompt for name and password three times and then it gives up.
"Can't connect to URI: https://github.com/somebody/myproject.git: not authorized"
(yes I'm using "somebody" which isn't my username but I don't want to post it here, so pretend I'm using my real github name.)
I *know* that I'm using the correct name and password, I've tried 3096382709 times, including logging out of github.com and logging back in with the same creds to make sure they work; no problem.
In the clone failure promt it suggests setting http.sslVerify to false in the git configuration, which I did, it didn't help. I also checked to make sure eclipse can get on the internet at all by checking for updates in the Help->Check for updates window, and it can. (Is there another way to check that?)
What else could I be doing wrong?
thanks,
dj

[Updated on: Sun, 22 August 2021 08:02] by Moderator
|
|
|
|
|
Re: Beginner git plugin problem: denying my github credentials over https [message #1843897 is a reply to message #1843868] |
Mon, 23 August 2021 11:05  |
Eclipse User |
|
|
|
Ed Merks wrote on Sun, 22 August 2021 13:08Github no longer supports https cloning using your account password. You need to create a Personal Access Token and use that as the password in the above dialog (or use ssh instead of https). It's for your safety if not for your comfort...
See this thread:
https://www.eclipse.org/forums/index.php/mv/msg/1108734/1843867/#msg_1843867
Er hey that url leads to this same thread here!
Thanks tho, the PAT fixed my trouble; the PAT thing makes sense, and actually I'm not complaining, I think it's a good idea even if mildly inconvenient.
@Thomas Wolf :
Quote:
This is mentioned in the EGit User's Guide, in one of the first sections: "GitHub Tutorial". I had added that explanation there already on January 9, 2021.
Cool, I see it now. The problem was that I had been using (many) outdated tutorials. One in particular was abysmally bad.
I should probably put in a request to the eclipse gods that they change the error message from the cryptic "not authorized" to maybe mentioning PAT. I mean that's gotta be a common problem; might save some time and headaches? It would only take one extra little sentence.
dj
|
|
|
Powered by
FUDForum. Page generated in 0.16700 seconds