Score:2

Problems with git clone

in flag

I have a problem cloning a repo when I use http:

git clone https://github.com/burbanox/responsive-design.git

throw me an error :

fatal: unable to access 'https://github.com/burbanox/responsive-design.git/': gnutls_handshake() failed: Error in the pull function.

so when I use ssh:

git clone [email protected]:burbanox/responsive-design.git

stays loading forever :

Cloning into 'responsive-design'...
remote: Enumerating objects: 115, done.
remote: Counting objects:   6% (7/115)

I use ubuntu 20.04 LTS I change to Openssl but not works

Nate T avatar
it flag
you using WSL2?
Score:2
sa flag
  1. Install missing packages with the following command.

    sudo apt install build-essential nghttp2 libnghttp2-dev libssl-dev
    
  2. If that doesn't work check if Ubuntu is behind a proxy, and if so modify ~/.gitconfig adding the proxy configuration:

    touch ~/.gitconfig
    [http]
        proxy = http://xxx.xxx.xxx.xxx:pppp
    
  3. If that doesn't work and if you are using a VPN, drop your VPN connection and reconnect to the VPN.

Nate T avatar
it flag
I have a feeling it is number 2, and the proxy is a Windows OS. XD
Score:1
it flag

This is a bug in WSL2 installations of git.

See here

I'm guessing you are using Git inside of WSL. If so, be sure to add your issue to the feed in the link.

Even if it has already been said many times in the same feed, they judge priority based at least partly on community feedback. Your voice is important here.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.