#6394 Filing remote pull requests for repositories on dumb Git servers gives "Fatal Error (500)"
Closed: Upstream 6 years ago Opened 6 years ago by scfc.

When I file a remote pull request at https://src.fedoraproject.org/rpms/emacs-php-mode/diff/remote with the title "Release 1.18.2-1", Git repo address "http://www.tim-landscheidt.de/git/emacs-php-mode/" and Git branch and To branch "master" and click "Preview", after a wait-for-your-request-to-finish interstitial I get: "Fatal Error (500)", "A fatal error has occurred, we're sorry :(".


It looks like pygit2 fails to clone that repository with the error:
GitError: Invalid Content-Type: application/octet-stream

So while the 500 error isn't nice it's not really something we can fix :s

It looks like pygit2 fails to clone that repository with the error:
GitError: Invalid Content-Type: application/octet-stream

So while the 500 error isn't nice it's not really something we can fix :s

Metadata Update from @pingou:
- Issue tagged with: src.fp.o

6 years ago

Thanks for looking that up. AFAICT, the error comes from libgit2 and violates https://github.com/git/git/blob/master/Documentation/technical/http-protocol.txt; I'll file a bug for that in the next few days and amend the title of this issue to reflect that it only affects dumb servers, i. e. GitHub & Co. are probably fine.

Should we keep this ticket open then?

I'm fine with closing, thanks.

Metadata Update from @pingou:
- Issue close_status updated to: Upstream

6 years ago

Login to comment on this ticket.

Metadata