On Monday, June 9, 2014 9:52:44 PM UTC+2, Clinton Parham wrote:Hello git users,I'm trying to run a git server on my Windows 7 workstation. I've downloaded the Windows installer from http://git-scm.com/downloads and I'm able to clone other repositories.Now I want to allow others to clone my repositories. But when testing my setup, I get these errors (both client and server are on the same box):Client side:F:\git>git clone git://localhost:9419/test.git test2Cloning into 'test2'...fatal: unable to access 'https://localhost:9419/test.git/': Unknown SSL protocol error in connection to localhost:9419It strikes me as odd that it appears to clone over HTTPS, when you specified a git:// url.. To the best of my knowledge, cloning over git:// (the Git protocol) has nothing to do with HTTPS, and by extension, should not involve SSL.Could it be that you are somehow running a HTTPS service on port 9419, and Git is falling back to use this as protocol? Check what process is using the port, kill the service, restart the daemon and try again.
Yup, I agree that SSL being involved is odd.A 'netstat -ano' doesn't list any process on 9419. Also, when I down the git daemon, a telnet to localhost:9419 fails so I don't believe anything else is listening on that port. A similar telnet works of course when the git daemon is running.Also interesting is that the same clone works when I run it under cygwin!
In any case, I'm lost. Perhaps someone on the msysgit list can answer (on cc now).
The git daemon was running under Windows both times. So mixing them actually worked.
I wasn't planning to use cygwin but since the clone failed from windows command line, I decided to give it a try.
I would rather not mix them but I get a weird error when I don't - see first post.
Thanks
Thanks.
Hello git users,I'm trying to run a git server on my Windows 7 workstation. I've downloaded the Windows installer from http://git-scm.com/downloads and I'm able to clone other repositories.Now I want to allow others to clone my repositories. But when testing my setup, I get these errors (both client and server are on the same box):Client side:F:\git>git clone git://localhost:9419/test.git test2Cloning into 'test2'...fatal: unable to access 'https://localhost:9419/test.git/': Unknown SSL protocol error in connection to localhost:9419
Server side:F:\git>git daemon --verbose --port=9419 --export-all --base-path=F:\git[15452] Ready to rumble[11552] Connection from [::1]:51952fatal: protocol error: bad line length character: ▬♥☺I setup the test.git repo like this:F:\>git --versiongit version 1.9.2.msysgit.0F:\>cd gitF:\git>mkdir test.gitF:\git>cd test.gitF:\git\test.git>git init --bareInitialized empty Git repository in F:/git/test.git/F:\git\test.git>cd ..F:\git>Anyone had luck with this approach?
Ok. this has been solved.It seems that a global setting was in the .gitconfig file and it was forcing the protocol to switch to https:url."https://".insteadOf git://