Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dial tcp/ i/o timeout and EOF errors on pushing 1GB repo? #695

Closed
AndrewJDR opened this issue Oct 2, 2015 · 11 comments
Closed

dial tcp/ i/o timeout and EOF errors on pushing 1GB repo? #695

AndrewJDR opened this issue Oct 2, 2015 · 11 comments
Labels

Comments

@AndrewJDR
Copy link
Contributor

When doing an initial push of a repo with 1GB worth of large files, I can't successfully 'git push' the whole thing in one go. I always end up with errors like this:

Post https://api.github.com/..../verify: dial tcp: i/o timeout
Post https://api.github.com/..../verify: dial tcp: i/o timeout
Post https://api.github.com/..../verify: EOF

After retrying the 'git push' a couple more times, it eventually succeeds. I've tried this initial push a few times now, and I always end up needing to run 'git push' several times.
Any tips for debugging this?

@hf2186
Copy link

hf2186 commented Oct 12, 2015

I have had a similar issue and did the same thing. Took me a few pushes.

@technoweenie
Copy link
Contributor

Git LFS uses what I thought was a pretty generous 5s timeout for tcp connections. Is it always that /verify endpoint, or are there other affected URLs too?

@hf2186
Copy link

hf2186 commented Oct 12, 2015

4e3edc9c88faa76de10edfbf23de46d9b6b76edb8/verify: dial tcp: i/o timeout

yeah always on verify for me.

@hons82
Copy link

hons82 commented Apr 6, 2016

I get only the EOF, but when I try to send a Put to .../objects/{oid}: EOF
Is there a way to change the timeout in a config?

@technoweenie
Copy link
Contributor

@hons82
Copy link

hons82 commented Apr 6, 2016

THX
I'll try with that

I still get an error on that... but twice with the same oid

$ git push
Git LFS: (43 of 38 files) 1013.71 MB / 1.93 GB                                                                                                                      
Put http://.../objects/71690774a3af047eab606f2debd556cf527f2471fa64a110847b08955766985e: EOF
Put http://.../objects/71690774a3af047eab606f2debd556cf527f2471fa64a110847b08955766985e: EOF
Put http://.../objects/51d2259358e4f92dc287444f681245172f6b02ac10f071a6907a3c20416af3e5: EOF
Put http://.../objects/51d2259358e4f92dc287444f681245172f6b02ac10f071a6907a3c20416af3e5: EOF
Put http://.../objects/7b698feeacfb2bca5bdf8f26b68b961539e5c1cf743d3a2bad63a51c02373acf: EOF
Put http://.../objects/7b698feeacfb2bca5bdf8f26b68b961539e5c1cf743d3a2bad63a51c02373acf: EOF
Put http://.../objects/646d11ae50378a8865f79b13963e9f42747bdaa7e1b96c98f5fb27f4e23bbbc8: EOF
Put http://.../objects/646d11ae50378a8865f79b13963e9f42747bdaa7e1b96c98f5fb27f4e23bbbc8: EOF
error: failed to push some refs to '....git'

@bretonics
Copy link

bretonics commented Apr 14, 2016

I get the same errors, and it makes my internet go down
Post https://api.github.com/lfs/..../verify: dial tcp: i/o timeout
Post https://api.github.com/lfs/..../verify: dial tcp: i/o timeout
error: failed to push some refs to 'git@github.com:bretonics/****.git'

I have 4 files LFS is handling...maybe I should have pushed each individually?

I read an example here stating that this happens only via SSH not HTTP, would this be relevant?

@jaredmharris
Copy link

I'm also getting this error that @bretonics mentioned. Any update on this? I have Git LFS 1.2.1 and Git 2.9.2 installed.

@ttaylorr
Copy link
Contributor

@kevincantu
Copy link

@ttaylorr @technoweenie do those timeouts have anything to do with SSH instead of HTTPS connections?

@technoweenie
Copy link
Contributor

A timeout error like this is from LFS's HTTP client:

Post https://api.github.com/..../verify: dial tcp: i/o timeout

However, there is an SSH timeout issue related to a long running pre-push hook, as discussed in #2428.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants