Opened 16 years ago
Last modified 13 years ago
#13 closed defect
chicken-install fails with TCP connect timeout — at Initial Version
Reported by: | Ivan Raikov | Owned by: | felix winkelmann |
---|---|---|---|
Priority: | critical | Milestone: | 4.9.0 |
Component: | core tools | Version: | 4.6.x |
Keywords: | tcp timeout | Cc: | |
Estimated difficulty: |
Description
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.