stackdot / NodeJS-Git-Server

A multi-tenant git server using NodeJS
387 stars 103 forks source link

Cannot push, `fatal: The remote end hung up unexpectedly` #30

Open PeterNerlich opened 8 years ago

PeterNerlich commented 8 years ago

It seems the server claims success right away and doesn't care about any further data sent.

Git log (german):

$ git push [remote]
[...]
Username for 'http://[server]:[port]': [user]
Password for 'http://[user]@[server]:[port]': 
Zähle Objekte: 36652, Fertig.
Delta compression using up to 4 threads.
Komprimiere Objekte: 100% (12361/12361), Fertig.
Schreibe Objekte: 100% (36652/36652), 6.87 MiB | 65.00 KiB/s, Fertig.
Total 36652 (delta 23074), reused 36314 (delta 22736)
error: RPC failed; result=55, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

Server log:

$ node index.js 
LOG:  Making repos if they dont exist
WARNING: No SSL certs passed in. Running as HTTP and not HTTPS.
Be careful, without HTTPS your user/pass will not be encrypted
LOG:  Server listening on  [port] 
LOG:  Got a FETCH call for [repo].git
LOG:  Got a FETCH call for [repo].git
LOG:  Got a FETCH call for [repo].git
LOG:  [user] is trying to fetch on repo: [repo] ...
LOG:  [user] Successfully did a fetch on [repo]
LOG:  Got a PUSH call for [repo].git
LOG:  [user] is trying to push on repo: [repo] ...
LOG:  [user] Successfully did a push on [repo]