Actually it was from this error:

==> /var/log/nginx/gitlab_error.log <==
2015/01/06 06:34:21 [crit] 9655#0: *159 open() 
"/var/lib/nginx/tmp/proxy/5/00/0000000005" failed (13: Permission denied) 
while reading upstream, client: 10.220.20.27, server: gitlab.hostname.net, 
request: "GET /pp_official/puppet_conf/merge_requests/18/diffs HTTP/1.1", 
upstream: 
"http://unix:/home/git/gitlab/tmp/sockets/gitlab.socket:/pp_official/puppet_conf/merge_requests/18/diffs";,
 
host: "v-git-op-01.optymyze.net", referrer: 
"https://gitlab.hostname.net/pp_official/puppet_conf/merge_requests/18/diffs";


I checked the path and /var/lib/nginx had user nginx instead of git. After 
setting the proper permissions it start to work again.

This site helped me to fix it:

http://www.nginxtips.com/13-permission-denied-while-reading-upstream-using-nginx/



marți, 6 ianuarie 2015, 13:28:22 UTC+2, Cristian Falcas a scris:
>
> Hi,
>
> I was wondering if anybody encountered this issue: 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)
>
>
> Best regards,
> Cristian Falcas
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/60f61273-e80e-4e39-ab94-a4edcb0265a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to