mainSavannah Administration - Support: sr #110247, git timeout

 
 

sr #110247: git timeout

Submitter:  None
Submitted:  Sun 14 Jun 2020 09:42:15 AM UTC
   
 
Category:  Source code repositories - anonymous access Priority:  5 - Normal
Severity:  3 - Normal Status:  Works For Me
Privacy:  Public Assigned to:  rwp
Originator Email:  -email is unavailable- Operating System:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 15 Jun 2020 05:31:20 PM UTC, comment #2: 

I received this on IRC.

05:27 <yancy> rwp, thanks! seems like things are working today.

Yay!  Sounds good.  Therefore I will close this ticket.

To me this has all of the indications of a corrupted TCP data stream.  Which should never be possible in theory but in practice I have observed it happen, for other things.

I think it likely there was a proxy or router in the middle that was introducing bit errors into the data stream.  That will confuse the git protocol and one side or the other will close the connection.  Which results in an EOF report rather than a data corruption report.

Bob Proulx <rwp>
Site Administrator
Mon 15 Jun 2020 05:31:32 AM UTC, comment #1: 

The timeout for git:// git-daemon downloads is 28800 seconds (8 hours).  If the clone does not complete in 8 hours then the command will timeout.

I tested just now to my Colorado location and was able to clone from Boston with no trouble.  The result was 119MB of files on disk afterward.

$ time git clone git://git.savannah.gnu.org/gnulib.git
Cloning into 'gnulib'...
remote: Counting objects: 221832, done.
remote: Compressing objects: 100% (28259/28259), done.
remote: Total 221832 (delta 193516), reused 221811 (delta 193505)
Receiving objects: 100% (221832/221832), 44.36 MiB | 2.34 MiB/s, done.
Resolving deltas: 100% (193516/193516), done.

real    1m35.085s
user    2m47.062s
sys     0m2.923s

This error looks to me like a data corruption problem on the TCP network stream.  Can you try cloning from a different location?

Also I suggest trying to clone using one of the other two protocols.  If something on your network is blocking or mangling due to a bad proxy then hopefully a different protocol will succeed.

$ time git clone https://git.savannah.gnu.org/git/gnulib.git
Cloning into 'gnulib'...
remote: Counting objects: 221832, done.
remote: Compressing objects: 100% (28259/28259), done.
remote: Total 221832 (delta 193516), reused 221811 (delta 193505)
Receiving objects: 100% (221832/221832), 44.36 MiB | 2.55 MiB/s, done.
Resolving deltas: 100% (193516/193516), done.

real    1m35.552s
user    2m49.977s
sys     0m3.174s





Bob Proulx <rwp>
Site Administrator
Sun 14 Jun 2020 09:42:15 AM UTC, original submission:  

I consistently receive a git timeout.  Is there a default timeout set or a way to work around this?

# git clone git://git.savannah.gnu.org/gnulib.git .
Cloning into '.'...
remote: Counting objects: 221828, done.
remote: Compressing objects: 100% (28255/28255), done.
fatal: read error: Connection reset by peer6 MiB | 186.00 KiB/s
fatal: early EOF
fatal: index-pack failed

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rwp (Posted a comment)
  • -email is unavailable- added by rwp
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-15 rwp Open/ClosedOpen Closed
    2020-06-15 rwp StatusNone Works For Me
        Assigned toNone rwp
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code