﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
13	chicken-install fails with TCP connect timeout	Ivan Raikov	felix winkelmann	"Using Debian Linux kernel version 2.6.26, I get the following error when trying to install eggs:


{{{
/bin/chicken/bin/chicken-install datatype
retrieving ...
connecting to host ""chicken.kitten-technologies.co.uk"", port 80 ...
requesting ""/henrietta.cgi?name=datatype"" ...
reading response ...
TCP connect timeout
connecting to host ""galinha.ucpel.tche.br"", port 80 ...
requesting ""/cgi-bin/henrietta?name=datatype"" ...
reading response ...
TCP connect timeout
Error: extension or version not found
}}}

Retrieving the egg with a browser or telnet works fine. Some investigation of setup-download.scm reveals that if the output port returned by tcp-connect is closed, and then reading from the input port is attempted, TCP timeout error occurs.

It appears that the call to close-output-port should be after the egg is read with read-line in setup-download.scm. I tried commenting out the call to close-output-port and recompiling chicken-install, and I was able to install several eggs, but I still get timeout error when trying to install sxml-transforms."	defect	new	critical		core tools	4.0.0		tcp timeout		
