Git

Bonjour,
Depuis quelque jour, je ne parvient plus a cloner le depot GIT de blue-mind

J’ai essayé avec eclipse et sous debian directement
eclise : Packfile is truncated.
Debain :
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Un probléme du coter serveur ou autre chose ?

Quelle commande utilisez-vous ?

git clone http://git.blue-mind.net bluemind

Est-ce qu’exécuter la commande corrige ce problème:

git config --global http.postBuffer 1048576000

Sinon que donne la commande:

GIT_CURL_VERBOSE=1 git clone http://git.blue-mind.net bluemind

Avec la premiére commande j’ai un out of memory
Du coup j’ai essayé avec un peux moins (943718400) mais j’ai le même resultat.

voici le resultat de la deuxiéme commande

root@debian:/home/dumdum# GIT_CURL_VERBOSE=1 git clone http://git.blue-mind.net bluemind
Cloning into 'bluemind'...
* Couldn't find host git.blue-mind.net in the .netrc file; using defaults
* About to connect() to git.blue-mind.net port 80 (#0)
*   Trying 195.154.15.86...
* 0xd78b50 is at send pipe head!
* STATE: CONNECT => WAITCONNECT handle 0xd81970; (connection #0)
* Connected to git.blue-mind.net (195.154.15.86) port 80 (#0)
* Connected to git.blue-mind.net (195.154.15.86) port 80 (#0)
* STATE: WAITCONNECT => DO handle 0xd81970; (connection #0)
> GET /info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.7.10.4
Host: git.blue-mind.net
Accept: */*
Pragma: no-cache

* STATE: DO => DO_DONE handle 0xd81970; (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0xd81970; (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0xd81970; (connection #0)
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Server: nginx/1.1.19
< Date: Mon, 20 Apr 2015 12:47:11 GMT
< Content-Type: application/x-git-upload-pack-advertisement
< Transfer-Encoding: chunked
< Connection: keep-alive
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
* STATE: PERFORM => DONE handle 0xd81970; (connection #0)
* Connection #0 to host git.blue-mind.net left intact
* Expire cleared
* Couldn't find host git.blue-mind.net in the .netrc file; using defaults
* About to connect() to git.blue-mind.net port 80 (#0)
*   Trying 195.154.15.86...
* connected
* Connected to git.blue-mind.net (195.154.15.86) port 80 (#0)
> POST /git-upload-pack HTTP/1.1
User-Agent: git/1.7.10.4
Host: git.blue-mind.net
Accept-Encoding: deflate, gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Content-Length: 174

* upload completely sent off: 174 out of 174 bytes
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* additional stuff not fine transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Server: nginx/1.1.19
< Date: Mon, 20 Apr 2015 12:47:11 GMT
< Content-Type: application/x-git-upload-pack-result
< Transfer-Encoding: chunked
< Connection: keep-alive
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
remote: Counting objects: 314008, done.
remote: Compressing objects: 100% (51313/51313), done.
* Connection #0 to host git.blue-mind.net left intact.65 MiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

[quote=nico.dumont]Avec la premiére commande j’ai un out of memory
Du coup j’ai essayé avec un peux moins (943718400) mais j’ai le même resultat.
[/quote]

Le out of memory intervient lors de l’exécution de la commande:

git clone http://git.blue-mind.net bluemind

ou directement lors du git config ?

Combien de RAM et quel est l’OS de votre poste de travail ? La version de git ?

Pour information, je ne rencontre pas de soucis particulier depuis mon poste - un autre collègue a réalisé le clone avec succès aussi, mais un soucis similaire semble être rencontré avec git 2.1.4 de cygwin.

Le out of memory intervient avec le git clone, Il s’agit d’une VM debian wheazy avec 2Go Git 1.7.
Mais j’ai essayé avec un autre serveur la pas de souci de out of memory mais ça ne marche pas mieux. Le chargement s’arrerte toujours a 50%.

J’ai également essayé avec l’option http.postBuffer 1048576000 dans eclipse (sous windows 7) mais pareil a 50 % : Packfile is truncated.

org.eclipse.jgit.api.errors.TransportException: Packfile is truncated.
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
	at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
	at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
	at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:156)
	at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.executeCloneOperation(AbstractGitCloneWizard.java:433)
	at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.access$2(AbstractGitCloneWizard.java:426)
	at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard$6.run(AbstractGitCloneWizard.java:405)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.errors.TransportException: Packfile is truncated.
	at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:370)
	at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:780)
	at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:301)
	at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:291)
	at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:247)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:160)
	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
	... 7 more
Caused by: java.io.EOFException: Packfile is truncated.
	at org.eclipse.jgit.transport.PackParser.fill(PackParser.java:1138)
	at org.eclipse.jgit.transport.PackParser.access$000(PackParser.java:97)
	at org.eclipse.jgit.transport.PackParser$InflaterStream.read(PackParser.java:1663)
	at java.io.InputStream.read(InputStream.java:101)
	at org.eclipse.jgit.transport.PackParser.whole(PackParser.java:983)
	at org.eclipse.jgit.transport.PackParser.indexOneObject(PackParser.java:916)
	at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:487)
	at org.eclipse.jgit.internal.storage.file.ObjectDirectoryPackParser.parse(ObjectDirectoryPackParser.java:194)
	at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:448)
	at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:762)
	at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:363)
	... 15 more

Y a un autre moyen de recuperer les projets ? Si je le prend dans le depot git en ligne (http://git.blue-mind.net/gitlist/bluemind/) y a pas les .project pour les importer dans eclipse :s

Bon ben j’ai essayé depuis un autre serveur situé en france et la ça marche sans probléme. Je suppose que sa doit venir d’un boquage/time out de mon FAI en belgique :s.
Désolé pour le dérangement