threads / discuss / 49454

wrong output on fail

Subject: wrong output on fail

## tl;dr

2 messages between Sep 29, 2018 and Oct 3, 2018.

replies: 1people: 2as markdown or json

Paul Wratt· Sep 29, 2018, 03:30 UTC · lore

-------------- ... Total 21 (delta 8), reused 0 (delta 0) error: RPC failed; result=56, HTTP code = 0 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date --------------

I am getting the above from "git push".

I am having intermittent HTTPS connection failures with my ISP (Vodafone NZ, mobile), although HTTP works fine. It may even be a peering issue.

The failures above are accounted for, but that last line is definitely wrong

Cheers Paul

Jeff King· Oct 3, 2018, 02:25 UTC · re: Paul Wratt · lore

Re: wrong output on fail

On Sat, Sep 29, 2018 at 03:30:21PM +1200, Paul Wratt wrote:
Show 16 quoted lines
> --------------
> ...
> Total 21 (delta 8), reused 0 (delta 0)
> error: RPC failed; result=56, HTTP code = 0
> fatal: The remote end hung up unexpectedly
> fatal: The remote end hung up unexpectedly
> Everything up-to-date
> --------------
> 
> I am getting the above from "git push".
> 
> I am having intermittent HTTPS connection failures with my ISP
> (Vodafone NZ, mobile), although HTTP works fine. It may even be a
> peering issue.
> 
> The failures above are accounted for, but that last line is definitely wrong

Yes, that's unfortunate. Usually we'd complain if the connection drops, but I wonder if this has to do with the extra trip through git-remote-https. I.e., that program sees the failure and dies, but we don't manage to pass back the error code to the main git-push process.

It sounds like this is repeatable? If so, can you try with GIT_TRACE=1 and GIT_TRANSPORT_HELPER_DEBUG=1 set in the environment?

-Peff

← back to recent threads