Setting up SAML Authentication with Azure - "The response was received at http instead of https"

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Version 10.3.0.82913
  • how is SonarQube deployed: zip, Docker, Helm
    via Helm in OpenShift cluster
  • what are you trying to achieve
    authenticate via SAML with Azure
  • what have you tried so far to achieve this
    set up new instance, updated the sonar.core.serverBaseURL to include https, when it was just http before

Also, the test settings function in Authentication tab actually works after updating the sonar.core.serverBaseURL to include https, still logging in via SAML doesn’t.

From the container logs:

2024.01.04 20:30:14 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2024.01.04 20:30:15 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:36187]
2024.01.04 20:30:15 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/elasticsearch]: /opt/java/openjdk/bin/java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=/opt/sonarqube/elasticsearch -Des.path.conf=/opt/sonarqube/temp/conf/es -Des.distribution.type=tar -cp /opt/sonarqube/elasticsearch/lib/*:/opt/sonarqube/elasticsearch/lib/cli-launcher/* org.elasticsearch.launcher.CliToolLauncher
2024.01.04 20:30:15 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2024.01.04 20:30:18 INFO  es[][o.e.n.Node] version[8.11.0], pid[147], build[tar/d9ec3fa628c7b0ba3d25692e277ba26814820b20/2023-11-04T10:04:57.184859352Z], OS[Linux/4.18.0-372.75.1.el8_6.x86_64/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/17.0.9/17.0.9+9]
2024.01.04 20:30:18 INFO  es[][o.e.n.Node] JVM home [/opt/java/openjdk], using bundled JDK [false]
2024.01.04 20:30:18 INFO  es[][o.e.n.Node] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=org.elasticsearch.preallocate, -XX:+UseG1GC, -Djava.io.tmpdir=/opt/sonarqube/temp, -XX:ErrorFile=/opt/sonarqube/logs/es_hs_err_pid%p.log, -Xlog:disable, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djna.tmpdir=/opt/sonarqube/temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Dcom.redhat.fips=false, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.distribution.type=tar, --module-path=/opt/sonarqube/elasticsearch/lib, --add-modules=jdk.net, --add-modules=ALL-MODULE-PATH, -Djdk.module.main=org.elasticsearch.server]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-core]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [old-lucene-versions]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [rest-root]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [reindex]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-redact]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-security]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [aggregations]
2024.01.04 20:30:20 INFO  es[][o.e.p.PluginsService] loaded module [apm]
2024.01.04 20:30:23 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/sde)]], net usable_space [9.5gb], net total_space [9.7gb], types [ext4]
2024.01.04 20:30:23 INFO  es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [true]
2024.01.04 20:30:23 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [U7b-YL9pTwCAcLo8BFvJ0g], cluster name [sonarqube], roles [remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen, ingest, data_cold, data]
2024.01.04 20:30:24 INFO  es[][o.e.x.s.Security] Security is disabled
2024.01.04 20:30:24 INFO  es[][o.e.t.n.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=512mb}]
2024.01.04 20:30:24 INFO  es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2024.01.04 20:30:24 INFO  es[][o.e.d.DiscoveryModule] using discovery type [single-node] and seed hosts providers [settings]
2024.01.04 20:30:25 INFO  es[][o.e.n.Node] initialized
2024.01.04 20:30:25 INFO  es[][o.e.n.Node] starting ...
2024.01.04 20:30:25 INFO  es[][o.e.t.TransportService] publish_address {127.0.0.1:36187}, bound_addresses {127.0.0.1:36187}
2024.01.04 20:30:25 INFO  es[][o.e.c.c.ClusterBootstrapService] this node is locked into cluster UUID [PbKdOgINRg-9jaVI4kSsTg] and will not attempt further cluster bootstrapping
2024.01.04 20:30:25 INFO  es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined in term 4)[_FINISH_ELECTION_, {sonarqube}{U7b-YL9pTwCAcLo8BFvJ0g}{ygvTDf1ySreHIYNiEqfsUg}{sonarqube}{127.0.0.1}{127.0.0.1:36187}{cdfhilmrstw}{8.11.0}{7000099-8500003} completing election], term: 4, version: 73, delta: master node changed {previous [], current [{sonarqube}{U7b-YL9pTwCAcLo8BFvJ0g}{ygvTDf1ySreHIYNiEqfsUg}{sonarqube}{127.0.0.1}{127.0.0.1:36187}{cdfhilmrstw}{8.11.0}{7000099-8500003}]}
2024.01.04 20:30:25 INFO  es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{U7b-YL9pTwCAcLo8BFvJ0g}{ygvTDf1ySreHIYNiEqfsUg}{sonarqube}{127.0.0.1}{127.0.0.1:36187}{cdfhilmrstw}{8.11.0}{7000099-8500003}]}, term: 4, version: 73, reason: Publication{term=4, version=73}
2024.01.04 20:30:25 INFO  es[][o.e.c.f.AbstractFileWatchingService] starting file watcher ...
2024.01.04 20:30:25 INFO  es[][o.e.c.f.AbstractFileWatchingService] file settings service up and running [tid=47]
2024.01.04 20:30:25 INFO  es[][o.e.h.AbstractHttpServerTransport] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2024.01.04 20:30:25 INFO  es[][o.e.n.Node] started {sonarqube}{U7b-YL9pTwCAcLo8BFvJ0g}{ygvTDf1ySreHIYNiEqfsUg}{sonarqube}{127.0.0.1}{127.0.0.1:36187}{cdfhilmrstw}{8.11.0}{7000099-8500003}{rack_id=sonarqube, xpack.installed=true}
2024.01.04 20:30:25 INFO  es[][o.e.c.c.NodeJoinExecutor] node-join: [{sonarqube}{U7b-YL9pTwCAcLo8BFvJ0g}{ygvTDf1ySreHIYNiEqfsUg}{sonarqube}{127.0.0.1}{127.0.0.1:36187}{cdfhilmrstw}{8.11.0}{7000099-8500003}] with reason [completing election]
2024.01.04 20:30:26 INFO  es[][o.e.l.ClusterStateLicenseService] license [4d7e785f-87cf-4401-a368-b9182ee868cf] mode [basic] - valid
2024.01.04 20:30:26 INFO  es[][o.e.g.GatewayService] recovered [6] indices into cluster_state
2024.01.04 20:30:26 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.01.04 20:30:26 INFO  es[][o.e.h.n.s.HealthNodeTaskExecutor] Node [{sonarqube}{U7b-YL9pTwCAcLo8BFvJ0g}] is selected as the current health node.
2024.01.04 20:30:26 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.01.04 20:30:26 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.01.04 20:30:27 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.01.04 20:30:27 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.01.04 20:30:27 INFO  es[][o.e.i.m.MapperService] reloading search analyzers
2024.01.04 20:30:27 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[metadatas][0]]])." previous.health="RED" reason="shards started [[metadatas][0]]"
2024.01.04 20:30:27 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2024.01.04 20:30:27 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/opt/sonarqube]: /opt/java/openjdk/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-10.3.0.82913.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.6.0.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process3209214345578553862properties
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube/lib/sonar-application-10.3.0.82913.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
2024.01.04 20:30:28 INFO  web[][o.s.p.ProcessEntryPoint] Starting Web Server
2024.01.04 20:30:28 INFO  web[][o.s.s.a.TomcatHttpConnectorFactory] Starting Tomcat on port 9000
2024.01.04 20:30:29 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 10.3.0.82913 / 6f8a6d03ea2dd721d4727be508574d541381d0a1
2024.01.04 20:30:29 INFO  web[][o.s.d.DefaultDatabase] Create JDBC data source for jdbc:postgresql://postgresql-sonarqube:5432/sonarDB
2024.01.04 20:30:29 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2024.01.04 20:30:29 INFO  web[][c.z.h.p.HikariPool] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@5467eea4
2024.01.04 20:30:29 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2024.01.04 20:30:31 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy C# Code Quality and Security / 9.13.0.79967 / 0b84a168e0d212178722ac9865627046c515b212
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Clean as You Code / 2.2.2.656 / a856086cd01263bf020d3a6aa62763cb76b74120
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Configuration detection for Code Quality and Security / 1.3.0.654 / 63073f0270b2c4754afa58eb8b5ea04e2eebf1a4
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Flex Code Quality and Security / 2.12.0.4568 / e8b2821a05db57b79b8ae85e3db1571f5b744273
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Go Code Quality and Security / 1.15.0.4655 / 28938525c4093d5e9fa4e858535bbcb60af7f066
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy HTML Code Quality and Security / 3.11.0.4708 / bbdf3696bc5c1964fa6e78171910f522f2206642
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy IaC Code Quality and Security / 1.22.0.7057 / 24f70fff5c9e8b2ccdbae2067be30f1e89da3b35
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JaCoCo / 1.3.0.1538 / 74a7798c7cea687c72ed9df40c93eb7ea2a58c49
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Java Code Quality and Security / 7.27.1.33504 / fa8668548d47fc0fd7141a99c396bf4c92f8ed88
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JavaScript/TypeScript/CSS Code Quality and Security / 10.9.0.24449 / 11173bb4d804f5ee11817c30ab5cab080dd32170
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Kotlin Code Quality and Security / 2.18.0.2938 / f4087142b64b83c72808f8e0adb74ecec4717ba0
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy PHP Code Quality and Security / 3.33.0.11274 / 89583886fa2f4951991f0550938d64572117fd0c
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Python Code Quality and Security / 4.10.0.13725 / cbda7304ea2baf4ab491777866ee7247a741f910
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Ruby Code Quality and Security / 1.15.0.4655 / 28938525c4093d5e9fa4e858535bbcb60af7f066
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Scala Code Quality and Security / 1.15.0.4655 / 28938525c4093d5e9fa4e858535bbcb60af7f066
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Text Code Quality and Security / 2.7.1.1388 / null
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy VB.NET Code Quality and Security / 9.13.0.79967 / 0b84a168e0d212178722ac9865627046c515b212
2024.01.04 20:30:31 INFO  web[][o.s.s.p.ServerPluginManager] Deploy XML Code Quality and Security / 2.10.0.4108 / 34b16ba369117f6befc0b1e0866a069a80f6db2e
2024.01.04 20:30:32 INFO  web[][o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8
2024.01.04 20:30:32 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2024.01.04 20:30:33 WARN  web[][o.s.a.s.w.WebService$Action] Description is not set on action api/monitoring/metrics
2024.01.04 20:30:33 WARN  web[][o.s.a.s.w.WebService$Action] Since is not set on action api/monitoring/metrics
2024.01.04 20:30:33 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/monitoring/metrics
2024.01.04 20:30:33 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2024.01.04 20:30:33 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@33ec2c0c [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2024.01.04 20:30:33 INFO  web[][o.s.s.p.DetectPluginChange] Detect plugin changes
2024.01.04 20:30:33 INFO  web[][o.s.s.p.DetectPluginChange] No plugin change detected
2024.01.04 20:30:34 INFO  web[][o.h.v.i.util.Version] HV000001: Hibernate Validator null
2024.01.04 20:30:35 INFO  web[][o.s.s.s.LogServerId] Server ID: 4EE1C85B-AYzVIFrNaxIhV44GUBQe
2024.01.04 20:30:35 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties
2024.01.04 20:30:36 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action saml/validation_init
2024.01.04 20:30:36 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/issues/list
2024.01.04 20:30:36 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/system/liveness
2024.01.04 20:30:36 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2024.01.04 20:30:36 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/analysis_cache/get
2024.01.04 20:30:36 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/check_pat
2024.01.04 20:30:36 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/push/sonarlint_events
2024.01.04 20:30:36 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/dismiss_message/check
2024.01.04 20:30:36 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements
2024.01.04 20:30:36 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2024.01.04 20:30:36 INFO  web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2024.01.04 20:30:36 INFO  web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2024.01.04 20:30:37 INFO  web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2024.01.04 20:30:37 INFO  web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2024.01.04 20:30:37 INFO  web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2024.01.04 20:30:37 INFO  web[][o.s.s.s.RegisterPlugins] Register plugins
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.SonarLintConnectionFilter@470c4edc [pattern=UrlPattern{inclusions=[/api/*], exclusions=[/api/v2/*]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@3b8290ab [pattern=UrlPattern{inclusions=[/api/issues/delete_comment.*, ...], exclusions=[/api/authentication/login.*, ...]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceReroutingFilter@10b10389 [pattern=UrlPattern{inclusions=[/api/components/update_key, ...], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.DefaultAdminCredentialsVerifierFilter@44f60c68 [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@6129c084 [pattern=UrlPattern{inclusions=[/sessions/init/*], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.SamlValidationRedirectionFilter@4e8103c2 [pattern=UrlPattern{inclusions=[/oauth2/callback/saml], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@56b4fcd0 [pattern=UrlPattern{inclusions=[/oauth2/callback/*], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ResetPasswordFilter@22552f22 [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@641bddee [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@2e663c9b [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@13d7f109 [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.saml.ws.ValidationInitAction@6b041312 [pattern=UrlPattern{inclusions=[/saml/validation_init], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.saml.ws.ValidationAction@22b6287e [pattern=UrlPattern{inclusions=[/saml/validation], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.user.ws.ChangePasswordAction@d57e60c [pattern=UrlPattern{inclusions=[/api/users/change_password], exclusions=[]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.plugins.PluginsRiskConsentFilter@4b0e6b77 [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2024.01.04 20:30:37 INFO  web[][o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2024.01.04 20:30:37 INFO  app[][o.s.a.SchedulerImpl] Process[web] is up
2024.01.04 20:30:37 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[COMPUTE_ENGINE] from [/opt/sonarqube]: /opt/java/openjdk/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-10.3.0.82913.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.6.0.jar org.sonar.ce.app.CeServer /opt/sonarqube/temp/sq-process9909173748790055425properties
2024.01.04 20:30:37 INFO  web[][o.s.s.p.Platform] Web Server is operational
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube/lib/sonar-application-10.3.0.82913.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
2024.01.04 20:30:37 INFO  ce[][o.s.p.ProcessEntryPoint] Starting Compute Engine
2024.01.04 20:30:37 INFO  ce[][o.s.ce.app.CeServer] Compute Engine starting up...
2024.01.04 20:30:38 INFO  ce[][o.s.d.DefaultDatabase] Create JDBC data source for jdbc:postgresql://postgresql-sonarqube:5432/sonarDB
2024.01.04 20:30:38 INFO  ce[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2024.01.04 20:30:38 INFO  ce[][c.z.h.p.HikariPool] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@332f3eeb
2024.01.04 20:30:38 INFO  ce[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2024.01.04 20:30:40 INFO  ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2024.01.04 20:30:40 INFO  ce[][o.s.c.c.CePluginRepository] Load plugins
2024.01.04 20:30:41 INFO  ce[][o.s.c.c.ComputeEngineContainerImpl] Running Community edition
2024.01.04 20:30:41 INFO  ce[][o.s.ce.app.CeServer] Compute Engine is started
2024.01.04 20:30:41 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2024.01.04 20:30:41 INFO  app[][o.s.a.SchedulerImpl] SonarQube is operational
2024.01.04 20:31:51 ERROR web[AYzWLK1oX6yK5bgBAAAO][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:31:51 ERROR web[AYzWLK1oX6yK5bgBAAAO][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:32:55 ERROR web[AYzWLK1oX6yK5bgBAABC][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:32:55 ERROR web[AYzWLK1oX6yK5bgBAABC][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:33:16 ERROR web[AYzWLK1oX6yK5bgBAABZ][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:33:16 ERROR web[AYzWLK1oX6yK5bgBAABZ][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:35:29 ERROR web[AYzWLK1oX6yK5bgBAAC3][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:35:29 ERROR web[AYzWLK1oX6yK5bgBAAC3][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:35:54 ERROR web[AYzWLK1oX6yK5bgBAADR][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:35:54 ERROR web[AYzWLK1oX6yK5bgBAADR][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:36:52 ERROR web[AYzWLK1oX6yK5bgBAAEp][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:36:52 ERROR web[AYzWLK1oX6yK5bgBAAEp][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:37:20 ERROR web[AYzWLK1oX6yK5bgBAAE5][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:37:20 ERROR web[AYzWLK1oX6yK5bgBAAE5][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:37:56 ERROR web[AYzWLK1oX6yK5bgBAAF6][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:37:56 ERROR web[AYzWLK1oX6yK5bgBAAF6][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:38:21 ERROR web[AYzWLK1oX6yK5bgBAAGn][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:38:21 ERROR web[AYzWLK1oX6yK5bgBAAGn][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:39:26 ERROR web[AYzWLK1oX6yK5bgBAAHQ][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:39:26 ERROR web[AYzWLK1oX6yK5bgBAAHQ][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:43:04 ERROR web[AYzWLK1oX6yK5bgBAAHs][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:43:04 ERROR web[AYzWLK1oX6yK5bgBAAHs][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:44:41 ERROR web[AYzWLK1oX6yK5bgBAAIC][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:44:41 ERROR web[AYzWLK1oX6yK5bgBAAIC][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:45:50 ERROR web[AYzWLK1oX6yK5bgBAAIY][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:45:50 ERROR web[AYzWLK1oX6yK5bgBAAIY][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:46:00 ERROR web[AYzWLK1oX6yK5bgBAAIw][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:46:00 ERROR web[AYzWLK1oX6yK5bgBAAIw][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:47:04 ERROR web[AYzWLK1oX6yK5bgBAAJJ][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:47:04 ERROR web[AYzWLK1oX6yK5bgBAAJJ][c.o.saml2.Auth] processResponse error. invalid_response
2024.01.04 20:48:44 ERROR web[AYzWLK1oX6yK5bgBAAJv][c.o.s.a.SamlResponse] The response was received at http://sonarqube.uat.redacted.net/oauth2/callback/saml instead of https://sonarqube.uat.redacted.net/oauth2/callback/saml
2024.01.04 20:48:44 ERROR web[AYzWLK1oX6yK5bgBAAJv][c.o.saml2.Auth] processResponse error. invalid_response

Hey there.

Take a look at this post:

Can someone post the resolution for this please if it has been resolved by now ? I am running into the same issue but I am not using a container for this. It is a standalone application on the server.