500 Error from spider crawling repository
Summary
Googlebot spidering our public repository results in:
66.249.79.70 - - [29/Aug/2017:07:23:06 -0700] "GET /nwra_rpms/numpy/autocomplete_sources/members?type=Commit&type_id=719a53e4e7cd102daccf582b102401eb25366251 HTTP/1.1" 500 2911 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "-"
66.249.79.70 - - [30/Aug/2017:06:58:04 -0700] "GET /nwra_rpms/ipython/autocomplete_sources/members?type=Commit&type_id=96cccfd89e55e8d18c3e710b3405920d81a686d7 HTTP/1.1" 500 2911 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "-"
Steps to reproduce
As a logged in user, this returns a json response.
What is the current bug behavior?
500 Internal Server error
What is the expected correct behavior?
Perhaps 403 Unauthorized response. Possibly non-presentation of the autocomplete_sources/members link to guest users.
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Redis Version: 3.2.5 Git Version: 2.13.4 Sidekiq Version:5.0.0 Go Version: unknownGitLab information Version: 9.4.4 Revision: 2c79d92 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://git.nwra.com HTTP Clone URL: https://git.nwra.com/some-group/some-project.git SSH Clone URL: ssh://git@git.nwra.com:51424/some-group/some-project.git Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 5.3.1 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Expand for output related to the GitLab application check
Checking GitLab Shell ...GitLab Shell version >= 5.3.1 ? ... OK (5.3.1) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 2/2 ... repository is empty 5/4 ... ok 2/8 ... ok 7/9 ... ok 2/10 ... ok 2/11 ... ok 2/12 ... ok 2/13 ... ok 2/14 ... ok 11/15 ... ok 11/16 ... ok 11/17 ... ok 11/18 ... ok 11/19 ... ok 11/20 ... ok 11/21 ... ok 11/22 ... ok 11/25 ... ok 7/26 ... ok 2/27 ... ok 2/28 ... ok 7/29 ... ok 7/30 ... ok 11/31 ... ok 7/32 ... ok 3/33 ... ok 2/35 ... ok 3/38 ... ok 3/39 ... ok 2/40 ... ok 16/41 ... ok 11/42 ... ok 11/43 ... ok 11/44 ... ok 7/45 ... ok 19/47 ... ok 3/48 ... ok 2/49 ... ok 3/50 ... ok 7/51 ... ok 3/52 ... repository is empty 19/53 ... ok 4/54 ... repository is empty 13/55 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Access to /var/opt/gitlab/.ssh/authorized_keys: OK Send ping to redis server: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) .... Checking LDAP ... Finished
Checking GitLab ...
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: ... 2/2 ... yes 5/4 ... yes 2/8 ... yes 7/9 ... yes 2/10 ... yes 2/11 ... yes 2/12 ... yes 2/13 ... yes 2/14 ... yes 11/15 ... yes 11/16 ... yes 11/17 ... yes 11/18 ... yes 11/19 ... yes 11/20 ... yes 11/21 ... yes 11/22 ... yes 11/25 ... yes 7/26 ... yes 2/27 ... yes 2/28 ... yes 7/29 ... yes 7/30 ... yes 11/31 ... yes 7/32 ... yes 3/33 ... yes 2/35 ... yes 3/38 ... yes 3/39 ... yes 2/40 ... yes 16/41 ... yes 11/42 ... yes 11/43 ... yes 11/44 ... yes 7/45 ... yes 19/47 ... yes 3/48 ... yes 2/49 ... yes 3/50 ... yes 7/51 ... yes 3/52 ... yes 19/53 ... yes 4/54 ... yes 13/55 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.3 ? ... yes (2.3.3) Git version >= 2.7.3 ? ... yes (2.13.4) Active users: ... 17
Checking GitLab ... Finished