To begin within, I looked at this post which has some of the same symptoms, but mine has a specfic twist to it.
Sometimes, but not always, when I try to fetch or pull from github, it pauses for a very long time partway through “Compressing objects” and then fails hard:
$ git fetch origin remote: Enumerating objects: 97, done. remote: Counting objects: 100% (97/97), done. remote: Compressing objects: 100% (69/69), done. client_loop: send disconnect: Broken pipe fatal: the remote end hung up unexpectedly fatal: early EOF fatal: unpack-objects failed
However, I’ve noticed that if I funnel all my network traffic through a VPN (either my work VPN or a commercial VPN I subscribe to), everything works fine. Of course, I’d rather not have to connect to a VPN every time I need to pull, so what I’m wondering is:
- What network-specific issue(s) might be causing this kind of issue?
- Is there anything I can check/configure on my machine or in my router/gateway?
- Is there anything I could look for in wireshark to help diagnose this?
- If it is specific to my ISP, how would I even begin to have the conversation with them about what’s going on here?
FWIW, my ISP is AT&T fiber. No other real issues with it besides this one.