Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git Daemon Hang SO_KEEPALIVE

Tags:

git

I'm using Git 2.9 on Windows. When creating a demo Git training with git daemon, I hit SO_KEEPALIVE error.

@Server
$ git daemon --base-path=. --enable=receive-pack --verbose
[18608] Ready to rumble
[18108] Connection from 127.0.0.1:61111
[18108] unable to set SO_KEEPALIVE on socket: No error
[18108] Extended attributes (16 bytes) exist <host=127.0.0.1>
[18108] Request receive-pack for '/hello-world.git'

@ACommitter
$ git push -u origin "john--01--create-app-saying-hello"

Why is this happening?

like image 431
sancho21 Avatar asked Jul 19 '16 11:07

sancho21


1 Answers

As of Git for windows 1.9.4, the following command should fix your issue:

git config --global sendpack.sideband false

https://stackoverflow.com/a/24461876/1250319

like image 81
Daniel Avatar answered Nov 01 '22 12:11

Daniel