most of the time i get a fatal protocol error when pushing/ pulling from my remote repo. its an older windows 10 (after being updated) lenovo machine. when i switch my wifi connection to use my mobile hotspot (verizon) , it works fine. i am on a team of ten and am the only one who has this issue.
the error is:
fatal: protocol error: bad line length character: <html' (TRUNCATED
fatal: the remote end hung up unexpectedly
error: RPC failed; HTTP 302 curl 22 the requested URL returned error: 302
It looks like you might be getting a HTML page back rather than the expected response, the fact that it is a 302 suggest some form of redirect.
Do you have any proxy settings on you machine or on your network? That might explain the different behavior between the two networks.
Sorry, not that I can think of. The 302 error you are seeing suggests something is in the middle, a proxy or firewall, causing a redirect. But its not obvious from there error above what is causing it.
If it all works when you switch networks to your hotspot it very strongly suggests it is network related not Sourcetree directly.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events