{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/2377","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/2377/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/2377/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/2377/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/2377","id":9509343,"number":2377,"title":"Infinite loop when viewing first commit","user":{"login":"smithwinston","id":1114593,"avatar_url":"https://avatars.githubusercontent.com/u/1114593?v=3","gravatar_id":"","url":"https://api.github.com/users/smithwinston","html_url":"https://github.com/smithwinston","followers_url":"https://api.github.com/users/smithwinston/followers","following_url":"https://api.github.com/users/smithwinston/following{/other_user}","gists_url":"https://api.github.com/users/smithwinston/gists{/gist_id}","starred_url":"https://api.github.com/users/smithwinston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smithwinston/subscriptions","organizations_url":"https://api.github.com/users/smithwinston/orgs","repos_url":"https://api.github.com/users/smithwinston/repos","events_url":"https://api.github.com/users/smithwinston/events{/privacy}","received_events_url":"https://api.github.com/users/smithwinston/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/labels/Awaiting+feedback","name":"Awaiting feedback","color":"fef2c0"},{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/labels/Git%2FGrit","name":"Git/Grit","color":"82C5FF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2012-12-25T09:42:27Z","updated_at":"2015-01-13T06:51:13Z","closed_at":"2013-06-08T22:58:33Z","body":"Create a new git repo, commit & push to gitlab.  Go to the Commits tab and click on the initial commit.  Gitlab hangs, eventually nginx gives a \"Bad Gateway\" error.  Looking at production.log, I see the following repeated endlessly:\r\n\r\n```\r\n  ...\r\n  Rendered notes/_per_line_note_link.html.haml (0.1ms)\r\n  Rendered notes/_per_line_note_link.html.haml (0.1ms)\r\n  Rendered notes/_per_line_note_link.html.haml (0.1ms)\r\n  ...\r\n```\r\n\r\nThis repeats until presumably nginx terminates the request after timing out.\r\n\r\nIf you then push a second commit, there are no problems viewing that, just the initial commit.  Previously with 3.2, I'd immediately get a \"Oops something seems to have gone wrong\" from Rails.  Now in 4.0-stable, I get this infinite loop.\r\n\r\nRunning ```rake gitlab:env:info``` gives:\r\n\r\n```\r\nSystem information\r\nSystem:\t\tUbuntu 12.04\r\nCurrent User:\tgitlab\r\nUsing RVM:\tno\r\nRuby Version:\t1.9.3p0\r\nGem Version:\t1.8.11\r\nBundler Version:1.2.3\r\nRake Version:\t10.0.1\r\n\r\nGitLab information\r\nVersion:\t4.0.0\r\nRevision:\ta9e2fa4\r\nDirectory:\t/home/gitlab/gitlab\r\nDB Adapter:\tmysql2\r\nURL:\t\t[snip]\r\nHTTP Clone URL:\t[snip]\r\nSSH Clone URL:\t[snip]\r\nUsing LDAP:\tno\r\nUsing Omniauth:\tno\r\n\r\nGitolite information\r\nVersion:\tv3.04-4-g4524f01\r\nAdmin URI:\tgit@localhost:gitolite-admin\r\nAdmin Key:\tgitlab\r\nRepositories:\t/home/git/repositories/\r\nHooks:\t\t/home/git/.gitolite/hooks/\r\nGit:\t\t/usr/bin/git\r\n```"},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/69702597","html_url":"https://github.com/gitlabhq/gitlabhq/issues/2377#issuecomment-69702597","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/2377","id":69702597,"user":{"login":"z-ji","id":3108252,"avatar_url":"https://avatars.githubusercontent.com/u/3108252?v=3","gravatar_id":"","url":"https://api.github.com/users/z-ji","html_url":"https://github.com/z-ji","followers_url":"https://api.github.com/users/z-ji/followers","following_url":"https://api.github.com/users/z-ji/following{/other_user}","gists_url":"https://api.github.com/users/z-ji/gists{/gist_id}","starred_url":"https://api.github.com/users/z-ji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z-ji/subscriptions","organizations_url":"https://api.github.com/users/z-ji/orgs","repos_url":"https://api.github.com/users/z-ji/repos","events_url":"https://api.github.com/users/z-ji/events{/privacy}","received_events_url":"https://api.github.com/users/z-ji/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T06:51:12Z","updated_at":"2015-01-13T06:51:12Z","body":"I still have this issue with Gitlab 7(the latest one with omnibus package).\r\nGitlab hangs when click the first commit of every repo."}}