jakubgarfield / Bonobo-Git-Server

Bonobo Git Server for Windows is a web application you can install on your IIS and easily manage and connect to your git repositories. Go to homepage for release and more info.
http://bonobogitserver.com
MIT License
1.81k stars 603 forks source link

.git/info/refs not valid: is this a git repository? #906

Open MarSchra opened 1 year ago

MarSchra commented 1 year ago

I can't clone a repository using the git command under Ubuntu, as well as under WSL-Ubuntu.

While using Git Bash under Windows works both ways, with HTML authentication (2) and without (1) where I am asked for the password afterwards:

  1. git clone https://user@git.myserver.com/Bonobo.Git.Server/Test.git
  2. git clone https://user:password@git.myserver.com/Bonobo.Git.Server/Test.git

Doing the same under Ubuntu y get the message:

Cloning into 'Test'... 
fatal: https://git.myserver.com/Bonobo.Git.Server/Test.git/info/refs not valid: is this a git repository?

Note that I can ping git.myserver.com from Ubuntu. Note I changed the real names of the server and repository.

The version installed is Bonobo Git Server (6.3.0.632)

Thanks in advance for any hints and help!

Cheers

Abubakarstu commented 2 months ago

The issue could be due to SSL/TLS verification, authentication configuration, or a compatibility problem between Bonobo Git Server and your Ubuntu system. Steps to resolve: SSL/TLS Verification: Temporarily disable SSL verification and try cloning again git -c http.sslVerify=false clone https://user@git.myserver.com/Bonobo.Git.Server/Test.git Update Git: Ensure you have the latest Git client installed on Ubuntu: sudo add-apt-repository ppa:git-core/ppa sudo apt update sudo apt install git Credential Manager: Install and configure git-credential-libsecret to manage credentials on Ubuntu: sudo apt install libsecret-1-0 libsecret-1-dev sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret Verbose Output: Get detailed output to diagnose the issue:

bash
Copy code
GIT_CURL_VERBOSE=1 git clone https://user@git.myserver.com/Bonobo.Git.Server/Test.git

If the issue persists, check the Bonobo Git Server logs for any errors or misconfigurations related to Ubuntu clients.