1. Sebastian Sebastian
  2. scm-manager
  3. Issues

Issues

Issue #140 resolved

RPC problems & fetching problems

Edgar Durão
created an issue

Hello,

had deployed scm-manager to use as a Git web frontend but having a lot of problems lately.

Cloning a repository gives a lots of times errors. After some try try try we can finally clone a repo, but usually it gives error.

Seems that http disconnects or gives invalid responses. Using Windows Server 2008 R2, content served over a NTFS shared folder is clonable without problems. Only one user referred that scm-server was blocking some .idx files (was the complaint in Git Extensions).

Example bellow when tryed to do a git clone:

Can you give some advice or ways to solve this?

D:\Git\testes>git clone http://user:password@servername.pt:8080/scm/git/folder/subfolder anotherfolder3 Cloning into 'anotherfolder3'... error: RPC failed; result=56, HTTP code = 0 fatal: The remote end hung up unexpectedly

D:\Git\testes>git clone http://user:password@servername.pt:8080/scm/git/folder/subfolder anotherfolder3 Cloning into 'anotherfolder3'... error: Unable to get pack index http://user:password@servername.pt:8080/scm/git/folder/subfolder/objects/pack/pack-8b62a3dc52504d3a74c68b91bcff4a7f68afa259.idx

error: Unable to get pack index http://user:password@servername.pt:8080/scm/git/folder/subfolder/objects/pack/pack-bf247d2e9d50bcf73d6cc6dfd0575c3cb1ee2fca.idx

error: Unable to find 2c8a1584aef8c4c85c8a174edcfa40395a54aee6 under http://user:password@servername.pt:8080/scm/git/folder/subfolder Cannot obtain needed blob 2c8a1584aef8c4c85c8a174edcfa40395a54aee6 while processing commit b328495fb38e3feea8d70ded14ab8e5b8db46ffe. error: Fetch failed.

D:\Git\testes>git clone http://user:password@servername.pt:8080/scm/git/folder/subfolder anotherfolder3 Cloning into 'anotherfolder3'... error: Unable to find 37526c29a856870eb14d1f913cb64d5dcf567776 under http://user:password@servername.pt:8080/scm/git/folder/subfolder Cannot obtain needed object 37526c29a856870eb14d1f913cb64d5dcf567776 error: Fetch failed.

D:\Git\testes>git clone http://user:password@servername.pt:8080/scm/git/folder/subfolder anotherfolder7 Cloning into 'anotherfolder7'... error: Unable to find 14ef8d5b6c5f898a05334701fe32c3692102e1b9 under http://user:password@servername.pt:8080/scm/git/folder/subfolder Cannot obtain needed object 14ef8d5b6c5f898a05334701fe32c3692102e1b9 error: Fetch failed.

D:\Git\testes>git clone http://user:password@servername.pt:8080/scm/git/folder/subfolder anotherfolder7 Cloning into 'anotherfolder7'... error: Unable to find 14ef8d5b6c5f898a05334701fe32c3692102e1b9 under http://user:password@servername.pt:8080/scm/git/folder/subfolder Cannot obtain needed object 14ef8d5b6c5f898a05334701fe32c3692102e1b9 error: Fetch failed.

Comments (8)

  1. Edgar Durão reporter

    Hello,

    thanks for your reply. We've a couple of internal apps in this served by IIS and Apache and no problems with them. Server load is not too high too... so it's a bit strange.

  2. Sebastian Sebastian repo owner

    What you mean with "NTFS shared folder"? Sorry, but i'm not a windows specialist.

    Note that git is very susceptible with network problems. I had some problems from other users where scm-manager run on machines parallel to other services and git is the only one who shows an error.

  3. Edgar Durão reporter

    Sebastian,

    out git repos are in a Windows Folder (NTFS filesystem) which is shared across the network to our developers through a Windows Share (sorry for the confusion). That's how we usually until the date cloned the repos, and do the other operations over it, without errors.

    Seems this is a bit tricky to debug.... i was in hope that could solved with some performance tuneup that could be made to the internal scm webserver.

  4. Sebastian Sebastian repo owner

    Ok and the repository folder is a local folder on the system? Perhaps it is a locking problem and developer or a some process has a unreleased lock to a file in the repository. Could you test with a local non shared folder?

  5. Edgar Durão reporter

    Hi Sebastian,

    just to give feedback: removed all Git Repos from the shared folders and no problems detected so far. Guess that sharing the repos over the network and serve them under scm-server gives that problems. Thanks for the tip.

  6. Log in to comment