when clicking on "Changes" tab, the page doesn't load completely
For some merge requests, when clicking on "Changes" tab, the page doesn't load completely: it stops where the diffs should be displayed.
The same thing may or may not work in other browsers. I tried with firefox, chrome, ie and konqueror. Most of the time the diffs don't work in any browser, sometimes it works in chrome.
Firefox page is ending with:
{"html":"\u003cdiv class='row'\u003e\n\u003cdiv class='col-md-8'\u003e\n\u003cdiv class='js-toggle-container'\u003e\n\u003cdiv..... href=\"#4618e4c8e0dabd4291caad0d4698240c8f275449_48_49\" id=\"4618e4c8e0dabd4291caad0d4698240c8f275449_48_49\"\u003e49\u003c/a\u003
In Konqueror we also get this error:
Connection to host gitlab.hostname.net is broken.
On the server side the message from the logs shows everything to be in order:
==> /home/git/gitlab/log/production.log <==
Started GET "/pp_official/puppet_conf/merge_requests/18/diffs" for 127.0.0.1 at 2015-01-06 06:09:41 -0500
Processing by Projects::MergeRequestsController#diffs as JSON
Parameters: {"project_id"=>"pp_official/puppet_conf", "id"=>"18"}
Completed 200 OK in 372ms (Views: 11.7ms | ActiveRecord: 7.0ms)
==> /var/log/nginx/gitlab_access.log <==
10.220.20.27 - - [06/Jan/2015:06:09:41 -0500] "GET /pp_official/puppet_conf/merge_requests/18/diffs HTTP/1.1" 304 0 "https://v-git-op-01.optymyze.net/pp_official/puppet_conf/merge_requests/18/diffs" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0"
When it works it looks like is sending the page as html instead of json:
Started GET "/tools/hieradata/merge_requests/57/diffs" for 127.0.0.1 at 2015-01-01 16:57:38 -0500
Processing by Projects::MergeRequestsController#diffs as HTML
Parameters: {"project_id"=>"tools/hieradata", "id"=>"57"}
Completed 200 OK in 1473ms (Views: 1371.0ms | ActiveRecord: 24.2ms)