Hi. A green-field fresh install is not letting me in with the default admin credentials. All that happens is the login form redisplays. I’ve turned on “DEBUG” logging and am not really seeing anything helpful in the logs. Any assistance would be great.
Version: Enterprise 8.9.2.46101
Other details:
- RHEL 8 with PostgreSQL 13 database and Apache httpd 2.4 reverse proxy in front of it.
- sonar.web.host=127.0.0.1
- Apache httpd config for now (have also tried something more like your example in “Operating the server”)
<VirtualHost *:80>
ServerName squbedev1.our.org
LogLevel warn
<Proxy *>
Require all granted
</Proxy>
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:9000/
ProxyPassReverse / http://127.0.0.1:9000/
</VirtualHost>
sonar.20211013.log shows things are up and the default admin password is in use:
2021.10.13 10:56:00 WARN app[][startup] Default Administrator credentials are still being used. Make sure to change the password or deactivate the account.
...
2021.10.13 10:56:27 INFO app[][o.s.a.SchedulerImpl] Process[ce] is up
2021.10.13 10:56:27 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] EventWatcher[ce] tryToMoveTo es from STARTED to STARTING => false
2021.10.13 10:56:27 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] EventWatcher[ce] tryToMoveTo web from STARTED to STARTING => false
2021.10.13 10:56:27 DEBUG app[][o.s.a.p.ManagedProcessLifecycle] EventWatcher[ce] tryToMoveTo ce from STARTED to STARTING => false
2021.10.13 10:56:27 DEBUG app[][o.s.a.NodeLifecycle] EventWatcher[ce] tryToMoveTo from STARTING to OPERATIONAL => true
2021.10.13 10:56:27 INFO app[][o.s.a.SchedulerImpl] SonarQube is up
I visit the front page, use admin and admin. I see a “Loading…” for 1 second and the page refreshes to show me the login page again with no error, no info. The following is generated from all of that.
access.log:
127.0.0.1 - - [13/Oct/2021:10:57:38 -0400] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAA"
127.0.0.1 - - [13/Oct/2021:10:57:39 -0400] "GET /api/users/current HTTP/1.1" 401 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAC"
127.0.0.1 - - [13/Oct/2021:10:57:39 -0400] "GET /api/navigation/global HTTP/1.1" 401 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAD"
127.0.0.1 - - [13/Oct/2021:10:57:39 -0400] "GET /api/l10n/index?locale=en-US&ts=2021-10-13T14%3A51%3A44%2B0000 HTTP/1.1" 200 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAB"
127.0.0.1 - - [13/Oct/2021:10:57:39 -0400] "GET /sessions/new?return_to=%2F HTTP/1.1" 200 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAE"
127.0.0.1 - - [13/Oct/2021:10:57:39 -0400] "GET /api/navigation/global HTTP/1.1" 401 - "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAF"
127.0.0.1 - - [13/Oct/2021:10:57:39 -0400] "GET /api/l10n/index?locale=en-US&ts=2021-10-13T14%3A51%3A44%2B0000 HTTP/1.1" 200 - "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAG"
127.0.0.1 - - [13/Oct/2021:10:57:39 -0400] "GET /api/users/identity_providers HTTP/1.1" 200 24 "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAH"
127.0.0.1 - - [13/Oct/2021:10:58:23 -0400] "POST /api/authentication/login HTTP/1.1" 200 - "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAI"
127.0.0.1 - - [13/Oct/2021:10:58:23 -0400] "GET / HTTP/1.1" 200 - "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAJ"
127.0.0.1 - - [13/Oct/2021:10:58:24 -0400] "GET /api/l10n/index?locale=en-US&ts=2021-10-13T14%3A57%3A39%2B0000 HTTP/1.1" 304 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAK"
127.0.0.1 - - [13/Oct/2021:10:58:24 -0400] "GET /api/users/current HTTP/1.1" 401 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAL"
127.0.0.1 - - [13/Oct/2021:10:58:24 -0400] "GET /api/navigation/global HTTP/1.1" 401 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAM"
127.0.0.1 - - [13/Oct/2021:10:58:24 -0400] "GET /sessions/new?return_to=%2F HTTP/1.1" 200 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAN"
127.0.0.1 - - [13/Oct/2021:10:58:24 -0400] "GET /api/l10n/index?locale=en-US&ts=2021-10-13T14%3A58%3A24%2B0000 HTTP/1.1" 304 - "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAP"
127.0.0.1 - - [13/Oct/2021:10:58:24 -0400] "GET /api/navigation/global HTTP/1.1" 401 - "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAO"
127.0.0.1 - - [13/Oct/2021:10:58:24 -0400] "GET /api/users/identity_providers HTTP/1.1" 200 24 "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" "AXx6KKztvNPjvXb+AAAQ"
web.log:
2021.10.13 10:57:38 DEBUG web[AXx6KKztvNPjvXb+AAAA][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|127.0.0.1|10.12.113.148][login|]
2021.10.13 10:57:39 DEBUG web[AXx6KKztvNPjvXb+AAAC][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|127.0.0.1|10.12.113.148][login|]
2021.10.13 10:57:39 DEBUG web[AXx6KKztvNPjvXb+AAAD][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|127.0.0.1|10.12.113.148][login|]
2021.10.13 10:57:39 DEBUG web[AXx6KKztvNPjvXb+AAAF][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|127.0.0.1|10.12.113.148][login|]
2021.10.13 10:58:23 DEBUG web[AXx6KKztvNPjvXb+AAAI][auth.event] login success [method|FORM][provider|LOCAL|local][IP|127.0.0.1|10.12.113.148][login|admin]
2021.10.13 10:58:23 DEBUG web[AXx6KKztvNPjvXb+AAAJ][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|127.0.0.1|10.12.113.148][login|]
2021.10.13 10:58:24 DEBUG web[AXx6KKztvNPjvXb+AAAL][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|127.0.0.1|10.12.113.148][login|]
2021.10.13 10:58:24 DEBUG web[AXx6KKztvNPjvXb+AAAM][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|127.0.0.1|10.12.113.148][login|]
2021.10.13 10:58:24 DEBUG web[AXx6KKztvNPjvXb+AAAO][auth.event] login failure [cause|User must be authenticated][method|BASIC][provider|LOCAL|local][IP|127.0.0.1|10.12.113.148][login|]
Apache httpd access_log:
10.12.113.148 - - [13/Oct/2021:11:24:02 -0400] "POST /api/authentication/login HTTP/1.1" 200 - "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" /api/authentication/login -
10.12.113.148 - - [13/Oct/2021:11:24:03 -0400] "GET / HTTP/1.1" 200 8641 "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" / -
10.12.113.148 - - [13/Oct/2021:11:24:03 -0400] "GET /api/l10n/index?locale=en-US&ts=2021-10-13T15%3A23%3A51%2B0000 HTTP/1.1" 304 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" /api/l10n/index -
10.12.113.148 - - [13/Oct/2021:11:24:03 -0400] "GET /api/users/current HTTP/1.1" 401 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" /api/users/current -
10.12.113.148 - - [13/Oct/2021:11:24:03 -0400] "GET /api/navigation/global HTTP/1.1" 401 - "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" /api/navigation/global -
10.12.113.148 - - [13/Oct/2021:11:24:03 -0400] "GET /sessions/new?return_to=%2F HTTP/1.1" 200 8641 "http://squbedev1.our.org/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" /sessions/new -
10.12.113.148 - - [13/Oct/2021:11:24:03 -0400] "GET /api/navigation/global HTTP/1.1" 401 - "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" /api/navigation/global -
10.12.113.148 - - [13/Oct/2021:11:24:03 -0400] "GET /api/l10n/index?locale=en-US&ts=2021-10-13T15%3A24%3A03%2B0000 HTTP/1.1" 304 - "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" /api/l10n/index -
10.12.113.148 - - [13/Oct/2021:11:24:03 -0400] "GET /api/users/identity_providers HTTP/1.1" 200 24 "http://squbedev1.our.org/sessions/new?return_to=%2F" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36" /api/users/identity_providers -