Login problems while trying to clone a Git Repository using STS4 #22402
-
I am using Sprint Tool Suite 4 (Eclipse), which has a “github” view. I thought it might be easier to instead start over. I now have a fork of the project on my own account. Using the option “Clone a Git repository” I specified the address (yes, included .git), and put in my id and password. But it seems I’m not allowed to connect. The error message includes the following as a possible cause:
I’m not using SSL host, am I? Is that something that is happening “under the hood”? Is the normal signin name and password no longer sufficient for this operation? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Well, assuming you’re using the HTTPS URL, that means HTTP over TLS. SSL was the predecessor of TLS, and some error messages never got updated. 😉 The message sounds like the host certificate couldn’t be verified, that means something is interfering with the secure connection to GitHub. What or why is hard to say from the outside, could be any of the following and probably a couple other things:
Disabling certificate verification is a really bad suggestion there because you’d end up sending your GitHub credentials to whatever is interfering with the connection. If it’s something malicious that thing might even forward them (and responses) so things look like they’re working and it can keep stealing your data. The best thing to do here would be to investigate where exactly the problem happens. A good starting points are: Can other software (e.g. your browser) reach GitHub from the same system, and verify the certificate? Does the same thing happen from another network? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. I’ve been working on this since posting and have moved forward in my understanding. I used the following guide to create a personal access token. Having this in hand, when STS4 asked me for a password, I gave it the p-a-t. This got me to the next screen. I just got there moments ago, and haven’t finished setting up the project yet. But with this, the initial question (log in problem) is answered. |
Beta Was this translation helpful? Give feedback.
Thanks for the reply. I’ve been working on this since posting and have moved forward in my understanding.
I used the following guide to create a personal access token.
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-token
Having this in hand, when STS4 asked me for a password, I gave it the p-a-t. This got me to the next screen. I just got there moments ago, and haven’t finished setting up the project yet. But with this, the initial question (log in problem) is answered.