Files list is not loading

Summary

On a self-hosted instance, for one single project, the list of files on the main project page is not loading. The same happens on https://gitlab.[domain]/[group]/[project]/-/tree/master. Other views (commits, branches, tags, graph, ...) and the web IDE work fine. Other projects on this instance are unaffected.

It seems that request to logs_tree/?format=json&offset=0 does not complete when executed from the page.

Steps to reproduce

We don't know how to cause this issue. It is persistent for the single affected project.

Example Project

We've not been able to reproduce it with a different project.

What is the current bug behavior?

On the main project page, the Name/Last commit/Last update table only displays 5 lines with the loading animation. The commit information contains only a placeholder "authored just now" string (see below).

What is the expected correct behavior?

The file listing show the state of the current master branch and the commit information is visible.

Relevant logs and/or screenshots

gitlab-load-issue-1

The javascript console shows no messages. The network debug tab shows that the request to …/-/refs/master/logs_tree/?format=json&offset=0 did not complete. gitlab-load-issue-2

When accessing this URL directly, it loads and contains a complete JSON document.

I've tried with disabled HTTP2 or disabled gzip in nginx, but that didn't affect the bug.

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
root@gitlab:/etc/gitlab# gitlab-rake gitlab:env:info

System information
System:		Debian 11
Current User:	git
Using RVM:	no
Ruby Version:	2.7.4p191
Gem Version:	3.1.4
Bundler Version:2.1.4
Rake Version:	13.0.6
Redis Version:	6.0.14
Git Version:	2.33.0.
Sidekiq Version:5.2.9
Go Version:	unknown

GitLab information
Version:	14.3.2
Revision:	92acfb1b8a9
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	PostgreSQL
DB Version:	12.7
URL:		https://gitlab.[domain]
HTTP Clone URL:	https://gitlab.[domain]/some-group/some-project.git
SSH Clone URL:	git@gitlab.[domain]:some-group/some-project.git
Using LDAP:	no
Using Omniauth:	yes
Omniauth Providers: 

GitLab Shell
Version:	13.21.1
Repository storage paths:
- default: 	/var/opt/gitlab/git-data/repositories
GitLab Shell path:		/opt/gitlab/embedded/service/gitlab-shell
Git:		/opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check
root@gitlab:/etc/gitlab# gitlab-rake gitlab:check SANITIZE=true
Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 13.21.1 ? ... OK (13.21.1) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes Number of Sidekiq processes (cluster/worker) ... 1/1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 6/1 ... yes 7/2 ... yes 12/3 ... yes 13/4 ... yes 14/5 ... yes 18/6 ... yes 10/7 ... yes 11/8 ... yes 15/9 ... yes 15/10 ... yes 20/11 ... yes 20/12 ... yes 15/13 ... yes 15/14 ... yes 21/15 ... yes 15/16 ... yes 15/18 ... yes 15/19 ... yes 15/20 ... yes 15/21 ... yes 16/22 ... yes 16/23 ... yes 15/24 ... yes 15/25 ... yes 10/26 ... yes 13/27 ... yes 16/28 ... yes 16/30 ... yes 16/31 ... yes 15/32 ... yes 10/33 ... yes 15/34 ... yes 15/35 ... yes 15/36 ... yes 27/38 ... yes 30/39 ... yes 13/40 ... yes 5/41 ... yes 15/42 ... yes 12/43 ... yes 31/44 ... yes 31/45 ... yes 31/46 ... yes 11/47 ... yes 13/52 ... yes 13/53 ... yes 13/54 ... yes 13/55 ... yes 13/56 ... yes 13/60 ... yes 13/61 ... yes 13/62 ... yes 13/63 ... yes 13/64 ... yes 13/65 ... yes 13/67 ... yes 13/68 ... yes 13/69 ... yes 13/70 ... yes 13/71 ... yes 13/72 ... yes 13/73 ... yes 13/74 ... yes 13/75 ... yes 13/76 ... yes 13/77 ... yes 13/78 ... yes 13/79 ... yes 13/80 ... yes 13/81 ... yes 13/82 ... yes 13/83 ... yes 13/84 ... yes 13/85 ... yes 13/86 ... yes 13/87 ... yes 13/88 ... yes 13/89 ... yes 13/90 ... yes 13/91 ... yes 13/92 ... yes 13/93 ... yes 13/94 ... yes 13/95 ... yes 13/96 ... yes 13/97 ... yes 13/98 ... yes 13/99 ... yes 13/100 ... yes 13/101 ... yes 13/102 ... yes 13/103 ... yes 13/104 ... yes 13/105 ... yes 13/106 ... yes 13/107 ... yes 13/108 ... yes 13/109 ... yes 13/110 ... yes 13/111 ... yes 13/112 ... yes 13/113 ... yes 13/114 ... yes 13/115 ... yes 13/116 ... yes 13/117 ... yes 13/118 ... yes 13/119 ... yes 13/120 ... yes 13/121 ... yes 13/122 ... yes 13/123 ... yes 13/124 ... yes 13/125 ... yes 13/126 ... yes 13/127 ... yes 13/128 ... yes 13/129 ... yes 13/130 ... yes 13/131 ... yes 13/132 ... yes 13/135 ... yes 13/136 ... yes 13/137 ... yes 13/138 ... yes 13/139 ... yes 13/140 ... yes 13/141 ... yes 13/142 ... yes 13/143 ... yes 5/144 ... yes 33/145 ... yes 31/146 ... yes 5/147 ... yes 33/148 ... yes 31/149 ... yes 31/150 ... yes 10/151 ... yes 10/152 ... yes Redis version >= 5.0.0? ... yes Ruby version >= 2.7.2 ? ... yes (2.7.4) Git version >= 2.31.0 ? ... yes (2.33.0) Git user has default SSH configuration? ... yes Active users: ... 22 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

Possible fixes

Edited by Sean Carroll