git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git quietly fails on https:// URL, https errors are never reported to user

From
YYuri <yuri@rawbw.com>
Date
Jan 16, 2014, 19:28 UTC
Message-ID
<52D832CB.1010403@rawbw.com>
In-Reply-To
<20140116180310.GA27180@sigill.intra.peff.net>
On 01/16/2014 10:03, Jeff King wrote:
Show 5 quoted lines
> We used to print "Reading from helper 'git-remote-https' failed" in this
> instance. But in the majority of cases, remote-https has printed a
> useful message already to stderr, and the extra line just confused
> people. The downside, as you noticed, is that when the helper dies
> without printing an error, the user is left with no message.

In my case it was some random misconfiguration of the libraries handling https that caused them to fail in some way silently. Full update of the supporting libraries fixed this. But previous forced git update didn't fix it.

I think your should bring back this printout. Errors only happen in a very low percentage of cases, and printing some more would be very helpful for troubleshooting. I am not sure what happened in git-remote-https, stream may have looked legit to it, or maybe it got some error from the supporting libraries and didn't report it. I can't tell now because I updated and the problem is gone.

Yuri
Previous: Jeff KingNext: Yuri
Message 3 of 9 in “git quietly fails on https:// URL, https errors are never reported to user”
  1. YuriJan 16, 2014
  2. Jeff KingJan 16, 2014
  3. YuriJan 16, 2014
  4. YuriJan 17, 2014
  5. Junio C HamanoJan 17, 2014
  6. Jeff KingJan 17, 2014
  7. Jeff KingJan 17, 2014
  8. YuriJan 17, 2014
  9. Jeff KingJan 17, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.