I just ran into this myself.

https://gitlab.foo.com/solutions/bar/merge_requests/31.diff gives good data, but
https://gitlab.foo.com/solutions/bar/merge_requests/31.patch gives a 500 error:

"Whoops, something went wrong on our end.
Try refreshing the page, or going back and attempting the action again.
Please contact your GitLab administrator if this problem persists."

It doesn't happen with other branches.  Coincidentally, the problem
branch also caused a bit of trouble.  The author said he thinks
he should have rebased.  And our trybot, which tries to
extract patches differently (it checks out the source, does
'git format-patch ...', and concatenates them) couldn't apply the resulting
patch to master.  So, maybe the 500 error only happens on branches
that are somewhat problematic?

Does the error go away if you create a new merge request with
the same changes?  Or with a squashed version of the changes?


On Mon, Apr 11, 2016 at 10:29 AM, cgomez via GitLab
<gitlabhq@googlegroups.com> wrote:
> Developer submitted a merge request to a project in our in environment and
> the request seems to have gone through, but when visiting the ".patch"
> portion of the request, gitlab only displays a "500 error".
>
> I am unsure how the patch file is generated or even how to get to it from
> the gitlab interface (I have just been adding the .patch extension to the
> merge request url for other requests and it seems to display fine).
>
> Any ideas where to look to troubleshoot and fix this?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/c7c81515-7ad2-44f5-adb0-546e6ef5b387%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAPF-yOZ4aX%3DnqpaL8jWFzvi3RfzoCuD5pWKCqyS1W5kXrcs4Nw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to