dduvall added a subscriber: thcipriani. dduvall added a comment.
@thcipriani and I peeked into the logs earlier but we couldn't see anything in the PHP error log, only the 500 response in the access logs. Taking a look at the access logs and after doing some local tracing, it seems it fails on the pack request—something that is not sent when `--depth 1` is omitted. P13060 GIT_CURL_VERBOSE=1 GIT_TRACE_PACKET=1 git fetch --depth 1 https://phabricator.wikimedia.org/diffusion/ANAB/analytics-blog.git refs/heads/master <https://phabricator.wikimedia.org/P13060> The 500 can then be reproduced without git by sending this same request with curl. P13061 (An Untitled Masterwork) <https://phabricator.wikimedia.org/P13061> To see what a normal response might be, I sent the same HTTP request to the repo on GitHub, and it returns a successful response with a single git flush packet in the post body. P13062 (An Untitled Masterwork) <https://phabricator.wikimedia.org/P13062> In further tracing the GitHub request, you can see that git should then perform a second request with a "done" packet to receive the packfile contents. I don't know if this is helpful or not, but maybe we can use the case to reproduce the problem closer to the Phab source. TASK DETAIL https://phabricator.wikimedia.org/T240862 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: dduvall Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
