Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MarSchra opened this issue May 4, 2023 · 1 comment
Open

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

MarSchra opened this issue May 4, 2023 · 1 comment

Comments

@MarSchra
Copy link

MarSchra commented May 4, 2023

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://[email protected]/Bonobo.Git.Server/Test.git
  2. git clone https://user:[email protected]/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
Copy link

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://[email protected]/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://[email protected]/Bonobo.Git.Server/Test.git

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants