retitle 690573 git: prints raw CURLcode instead of describing error ("RPC failed; result=51") tags 690573 + upstream quit
Hi Tony, Tony Houghton wrote: > *** Please consider answering these questions, where appropriate *** [...] > *** End of the template - remove these lines *** (Tip for the future: removing the above lines makes a report easier to take in at a glance.) > I can't access my repository at <https://code.google.com/p/bombz/> with > git on my laptop, eg git clone or git push; I get the error message: > > error: RPC failed; result=51, HTTP code = 0 > fatal: The remote end hung up unexpectedly result=51 is the return value from curl_easy_perform, which is a CURLcode. From /usr/include/curl/curl.h I see that 51 is CURLE_PEER_FAILED_VERIFICATION, /* 51 - peer's certificate or fingerprint wasn't verified fine */ But there's no way the user who doesn't read source code would have known that --- Git ought to call curl_easy_strerror(), which would make the message say something clearer like "SSL peer certificate or SSH remote key was not OK" instead. Thanks for catching it. Sincerely, Jonathan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org