eGit fails to import a repo using https URL

782 Views Asked by At

I am getting the following error when trying to clone Git repo using egit and eclipse:

enter image description here

Here's what I managed to do so far:

  1. Cloning using ssh works but not https
  2. Cloning using https and ssh works from the command line on the same URL.

So, this must be an egit / eclipse problem.

Proxy is not configured in eclipse nor do I need one configured to clone this repo.

When I set http.sslVerify = false in gitconfig as suggeested by the error it doesn't help and i'm getting the same error.

Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)

Any ideas?

2

There are 2 best solutions below

0
On BEST ANSWER

Solved it by installing the 64 but version of eclipse

0
On

I was also facing the same issue, solved it by providing Personal Access Key instead of password.

Ref: https://developer.github.com/changes/2020-02-14-deprecating-password-auth/