issues cloning a repository

Roman Baranov December 24, 2014

Hello,

I have a fresh (latest version) of stash installed on windows server and i was successfully able to commit and push a new repository (about 38 mb).  

Then i tried to clone that repository from a different directory on my workstation, but getting errors.

roman@MATRIX ~/Documents/Work/mfbtestpull
$ git clone http://rbaranov@stash.*****.com/scm/mfb/reponame-web
.git
Cloning into 'reponame-web'...
Password for 'http://rbaranov@stash.*****.com':
remote: Counting objects: 634, done.
remote: Compressing objects: 100% (449/449), done.
efrror: RPC failed; result=56, HTTP code = 2002.86 MiB/s
fatal: early EOF
atal: The remote end hung up unexpectedly
fatal: index-pack failed

roman@MATRIX ~/Documents/Work/mfbtestpull
$

So i tried cloning the repository from the server itself where stash is and that worked fine.  Over the network there seems to be an issue.  I've tried to clone smaller repository over the network that we have, like wordpress theme that i committed, and was able to clone that successfully.  Also running latest git on server and client. 1.9.5 i believe.

 

One thing i noticed is that on initial commit of the problem repository, there were some end of line warnings, but that should really matter right?

Also some things to note, im doing a clone over http, meaning i don't have https or ssh installed or setup for that server.   Would that matter?

And a final thing,  i downloaded a archive plugin which adds a download button to repository.  Clicking that button on the problem repository it looks like it starts the download but then a network error occurs.  

This is a bran new machine, so its hard to believe that its a network issue.  (having my internal guys take a loot at that meanwhile)

Any recommendations or ideas to try?

 

Thank you

 

2 answers

0 votes
ThiagoBomfim
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 8, 2015

Hi Roman,

From your last answer, it sounds like you're using a self-signed certificate.

You will need to add this self-signed certificate to the certificate store used by Git. I believe that this article should help you:

Let us know how you go.

Best regards,
Thiago Bomfim

 

0 votes
Roman Baranov December 26, 2014

Ok, did some more work, turns out to be an issue with http protocol.  We enabled ssh (don't forget to open the port) and i was able to clone through ssh.

The next item was to get https working.  We added a certificate to server and you can access server through https, but cloning through https produces a new error...

$ git clone https://rbaranov@stash.*************.org/scm/mfb/reponame-we
b.git
Cloning into 'reponame-web'...
fatal: unable to access 'https://rbaranov@stash.******.org/scm/mfb/reponame-web.git/': SSL certificate problem: unable to get local issuer certificate

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events