Gitlab cannot open git-upload-pack error

前端 未结 6 874
無奈伤痛
無奈伤痛 2021-02-05 16:00

I have been using Gitlab without problems for a couple of months now. But, since yesterday, I can not \"reach\" (fetch, push,...) Gitlab from my Eclipse IDE anymore.

No

相关标签:
6条回答
  • 2021-02-05 16:30

    I've encountered a similar error with another Gitlab server. I dug into it and discovered that all of the available ciphers on the server were at least 256 bits. Standard Oracle Java ships with crypto that's restricted to 128 bits for some algorithms. After installing the unlimited strength crypto package from Oracle the issue went away.

    Almost forgot, the unlimited strength package is only legally available in the US. If you're outside of the US then I think that OpenJDK will work instead.

    0 讨论(0)
  • 2021-02-05 16:30

    As explained by @jgibson this seems related to the crypto algorithms

    I did not try the unlimited strength crypto package but running Eclipse with Java 8.0.25 solved the issue for me.

    0 讨论(0)
  • 2021-02-05 16:41

    I had the problem as well (cloning a git-repository), but using an old eclipse JUNO (32-Bit). The suggested solutions (-Dhttps.protocols=TLSv1.1,TLSv1.2, ssalVerify=false) did not change anything.

    Finally I learned that I had to select "git:\\" as 'Protocol' in the Dialog "File->Import... Git, Projrects from git... URL..."

    I with the actual (18.9) Version of eclipse I could use the http-ULR as is.

    0 讨论(0)
  • 2021-02-05 16:44

    For me didn't help the prior posts, but i was able to fix this by changing the security options of Java. Under system settings you can find a "Java Control Panel" where the tab "Security" let you change the security level.

    Dependent on the version you use, you see different options. It worked for me , after setting this to "low". But on different systems you might only have "high" / "very high" options. It depends on the installed Java versions.

    0 讨论(0)
  • 2021-02-05 16:50

    Ahh had this issue simply do this:

    in eclipse, go to Windows->Prefrences->General->Network Connections->SSH

    • Click tab "Key management"
    • Click generate RSA key.
    • Click Apply -copy and paste everything in the box "sha-rsa ..." into gitlab->profilie-add SSH key

    attempt clone again via ssh.

    0 讨论(0)
  • 2021-02-05 16:50

    i got the same error when github was down, this was due to the proxy settings of our network admin, i then again connected with another internet provider github was working fine

    this solved my problem

    EGit: cannot push, cannot pull

    1. changed the origin to my fork account and pulled.
    2. changed the origin back to the actual value and pulled.
    0 讨论(0)
提交回复
热议问题