Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Beginner git plugin problem: denying my github credentials over https(I spent 5 hours trying to solve this it still doesn't accept my git name and password.)
Beginner git plugin problem: denying my github credentials over https [message #1843867] Sun, 22 August 2021 12:01 Go to next message
David Jefferson is currently offline David JeffersonFriend
Messages: 10
Registered: March 2020
Junior Member
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

index.php/fa/40872/0/

[Updated on: Sun, 22 August 2021 12:02]

Report message to a moderator

Re: Beginner git plugin problem: denying my github credentials over https [message #1843868 is a reply to message #1843867] Sun, 22 August 2021 13:08 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32163
Registered: July 2009
Senior Member
Github 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


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Beginner git plugin problem: denying my github credentials over https [message #1843869 is a reply to message #1843868] Sun, 22 August 2021 15:12 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 428
Registered: August 2016
Senior Member
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.
Re: Beginner git plugin problem: denying my github credentials over https [message #1843897 is a reply to message #1843868] Mon, 23 August 2021 15:05 Go to previous message
David Jefferson is currently offline David JeffersonFriend
Messages: 10
Registered: March 2020
Junior Member
Ed Merks wrote on Sun, 22 August 2021 13:08
Github 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


Previous Topic:Can't install eclipse with Oomph installer on windows 10 x64
Next Topic:Marketplace plugin missing
Goto Forum:
  


Current Time: Fri Jan 28 23:21:05 GMT 2022

Powered by FUDForum. Page generated in 0.02598 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top