Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fisheye/Crucible git error [closed]

Hi everyone:

I am faced in front of a weird problem. The problem is that one of my git remote repository is connected but, it could not clone it. Can you please what is happening, here is the error

Unable to clone remote repository: <Git Repository>- [error: couldn't connect to host while accessing http://subtest1:XXXX@<server>/git/<repo>/info/refs?service=git-upload-pack, fatal: HTTP request failed] - Cloning into bare repository 'clone'...

Thanks

4 answers

1 accepted

0 votes
Answer accepted

Nevermind.

What happened was that it was a server disconfiguration.

So I closed

Same here. the Fecru git user doesn't have {{POST git-upload-pack}} rights. That's caused by some git "servers" that restrict "POST" in general for "read-only" mode which is not correct as you can refer to git-upload-pack man page, it's part of the fetch.

If applicable, use SSH connection and authentication.

Else: don't know, give your fecru user "writable" access... still he will not do anything harmful ... I hope

Hi Felipe:

Hope that I deleted the information that I provided you before.

In terms of fisheye, yes I can ping and telnet it. However, I cannot make git clone.

0 votes

Hi Darly,

Can you try to ping and telnet the Git server from the server where FishEye is installed?

What happens if you try to clone http://subtest1:XXXX@<server>/git/<repo>/info/refs from command line, on the server where FishEye is installed? Does it work?

Felipe: as now, I can ping telnet the to the remote server. However while doing the commit, there is no ping. Let me show you: In command line

git clone http://subtest1:XXXX@<server>/git/<repo>t/info/refs

Cloning into 'refs'...

error: couldn't connect to host while accessing http://subtest1:XXXX@<server>/git/<repo>/info/refs/info/refs?service=git-upload-pack

fatal: HTTP request failed.

Also, the repositories were mapped as http.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

384 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you