8.16: Cannot login with 2FA
Summary
I cannot get past the new Two-Factor Authentication screen, after entering my username and password this is what I see:
- Clicking on "Sign in via 2fa code" yields nothing
- I have configured OTP token and a U2F key for my user
- Previously (on 8.15) I could enter my OTP token or click on "sign in via u2f key" (or similar), then I had to press the button on my U2F key and then click on "sign in" to really log in
- I try to login with LDAP
- I don't know if login without 2FA is possible since I have no user without it (can report back tomorrow asking my colleagues)
- I don't see any JS error or network error in browser's webmaster console
- Tried to log in with Firefox and Chrome
Output of checks
Checking GitLab Shell ...
GitLab Shell version >= 4.1.1 ? ... OK (4.1.1)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
6/2 ... ok
5/3 ... ok
6/4 ... ok
5/5 ... ok
6/6 ... ok
6/7 ... ok
7/8 ... ok
7/9 ... ok
6/10 ... ok
7/11 ... ok
6/12 ... ok
7/13 ... ok
7/14 ... ok
7/15 ... ok
7/16 ... ok
8/17 ... ok
6/18 ... ok
10/19 ... ok
12/20 ... ok
6/21 ... ok
6/22 ... ok
15/24 ... ok
17/25 ... ok
6/26 ... ok
5/27 ... ok
6/28 ... ok
6/29 ... ok
6/30 ... ok
6/31 ... ok
20/32 ... ok
6/33 ... ok
5/34 ... ok
6/35 ... ok
21/36 ... ok
22/37 ... ok
24/39 ... ok
24/40 ... 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 ...
IMAP server credentials are correct? ... yes
Init.d configured correctly? ... skipped (omnibus-gitlab has no init script)
MailRoom running? ... can't check because of previous errors
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)
[... redacted for privacy, shows my ldap users ...]
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... 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/2 ... yes
5/3 ... yes
6/4 ... yes
5/5 ... yes
6/6 ... yes
6/7 ... yes
7/8 ... yes
7/9 ... yes
6/10 ... yes
7/11 ... yes
6/12 ... yes
7/13 ... yes
7/14 ... yes
7/15 ... yes
7/16 ... yes
8/17 ... yes
6/18 ... yes
10/19 ... yes
12/20 ... yes
6/21 ... yes
6/22 ... yes
15/24 ... yes
17/25 ... yes
6/26 ... yes
5/27 ... yes
6/28 ... yes
6/29 ... yes
6/30 ... yes
6/31 ... yes
20/32 ... yes
6/33 ... yes
5/34 ... yes
6/35 ... yes
21/36 ... yes
22/37 ... yes
24/39 ... yes
24/40 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.3)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.10.2)
Active users: 6
Checking GitLab ... Finished
System information
System: Ubuntu 16.04
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
Sidekiq Version:4.2.7
GitLab information
Version: 8.16.0
Revision: ca1076e
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: [...]
HTTP Clone URL: [...]
SSH Clone URL: [...]
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 4.1.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