Connection refused

Hi guys,
I have SonarQube 2025.2.0-developer in Docker and when I run test from Gitlab I got this error:

2025.06.04 08:51:06 ERROR ce[][o.s.s.es.BulkIndexer] Fail to execute bulk index request: org.elasticsearch.action.bulk.BulkRequest/unset
org.elasticsearch.common.util.concurrent.UncategorizedExecutionException: Failed execution
        at org.elasticsearch.common.util.concurrent.FutureUtils.rethrowExecutionException(FutureUtils.java:80)
        at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:72)
        at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListenerDirectly(ListenableFuture.java:112)
        at org.elasticsearch.common.util.concurrent.ListenableFuture.done(ListenableFuture.java:100)
        at org.elasticsearch.common.util.concurrent.BaseFuture.setException(BaseFuture.java:149)
        at org.elasticsearch.common.util.concurrent.ListenableFuture.onFailure(ListenableFuture.java:147)
        at org.elasticsearch.client.RestHighLevelClient$5.onFailure(RestHighLevelClient.java:2756)
        at org.elasticsearch.client.RestClient$FailureTrackingResponseListener.onDefinitiveFailure(RestClient.java:686)
        at org.elasticsearch.client.RestClient$1.failed(RestClient.java:422)
        at org.apache.http.concurrent.BasicFuture.failed(BasicFuture.java:137)
        at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.executionFailed(DefaultClientExchangeHandlerImpl.java:101)
        at org.apache.http.impl.nio.client.AbstractClientExchangeHandler.failed(AbstractClientExchangeHandler.java:426)
        at org.apache.http.impl.nio.client.AbstractClientExchangeHandler.connectionRequestFailed(AbstractClientExchangeHandler.java:348)
        at org.apache.http.impl.nio.client.AbstractClientExchangeHandler.access$100(AbstractClientExchangeHandler.java:62)
        at org.apache.http.impl.nio.client.AbstractClientExchangeHandler$1.failed(AbstractClientExchangeHandler.java:392)
        at org.apache.http.concurrent.BasicFuture.failed(BasicFuture.java:137)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager$1.failed(PoolingNHttpClientConnectionManager.java:316)
        at org.apache.http.concurrent.BasicFuture.failed(BasicFuture.java:137)
        at org.apache.http.nio.pool.RouteSpecificPool.failed(RouteSpecificPool.java:162)
        at org.apache.http.nio.pool.AbstractNIOConnPool.requestFailed(AbstractNIOConnPool.java:609)
        at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.failed(AbstractNIOConnPool.java:889)
        at org.apache.http.impl.nio.reactor.SessionRequestImpl.failed(SessionRequestImpl.java:162)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:176)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
        at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:257)
        at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:231)
        at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:53)
        at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:65)
        ... 26 common frames omitted
Caused by: java.net.ConnectException: Connection refused
        at java.base/sun.nio.ch.Net.pollConnect(Native Method)
        at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source)
        at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174)
        ... 5 common frames omitted

My ES is running:
docker exec -it sonarqube bash

sonarqube@sonarqube:/opt/sonarqube$ curl -v http://localhost:9001

* Host localhost:9001 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:9001...
* Connected to localhost (::1) port 9001
> GET / HTTP/1.1
> Host: localhost:9001
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 200 OK
< X-elastic-product: Elasticsearch
< content-type: application/json
< content-length: 530
<
{
  "name" : "sonarqube",
  "cluster_name" : "sonarqube",
  "cluster_uuid" : "naVR1vcdSeSn0_50VJv_gw",
  "version" : {
    "number" : "8.16.3",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "2eb78bceb86e182dc8f45ab76a704b1bfd352c9d",
    "build_date" : "2025-01-10T10:08:28.587559883Z",
    "build_snapshot" : false,
    "lucene_version" : "9.12.0",
    "minimum_wire_compatibility_version" : "7.17.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}
* Connection #0 to host localhost left intact

Thank you.
M

Hey there.

I except that in your es.log file you’ll find the root cause.

Hi Colin,
thank you for your answer. I’m not sure, which error/issue is in the es.log
Here is my es.log:

2025.06.04 14:49:51 INFO  es[][o.e.n.j.JdkVectorLibrary] vec_caps=2
2025.06.04 14:49:51 INFO  es[][o.e.n.NativeAccess] Using native vector library; to disable start with -Dorg.elasticsearch.nativeaccess.enableVectorLibrary=false
2025.06.04 14:49:51 INFO  es[][o.e.n.NativeAccess] Using [jdk] native provider and native methods for [Linux]
2025.06.04 14:49:51 WARN  es[][o.a.l.i.v.VectorizationProvider] Java vector incubator module is not readable. For optimal vector performance, pass --add-modules jdk.incubator.vector to enable Vector API.
2025.06.04 14:49:52 INFO  es[][o.e.n.Node] version[8.16.3], pid[84], build[tar/2eb78bceb86e182dc8f45ab76a704b1bfd352c9d/2025-01-10T10:08:28.587559883Z], OS[Linux/5.14.0-503.23.1.el9_5.x86_64/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/21.0.7/21.0.7+6-LTS]
2025.06.04 14:49:52 INFO  es[][o.e.n.Node] JVM home [/opt/java/openjdk], using bundled JDK [false]
2025.06.04 14:49:52 INFO  es[][o.e.n.Node] JVM arguments [-Djava.net.preferIPv6Addresses=true, -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, --enable-native-access=org.elasticsearch.nativeaccess,org.apache.lucene.core, -XX:ReplayDataFile=logs/replay_pid%p.log, -Des.distribution.type=tar, -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, -Des.enforce.bootstrap.checks=true, -Xmx2G, -Xms2G, -XX:MaxDirectMemorySize=512m, -XX:+HeapDumpOnOutOfMemoryError, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, --module-path=/opt/sonarqube/elasticsearch/lib, --add-modules=jdk.net, --add-modules=ALL-MODULE-PATH, -Djdk.module.main=org.elasticsearch.server]
2025.06.04 14:49:52 INFO  es[][o.e.n.Node] Default Locale [en_US]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [rest-root]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [reindex]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-core]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-redact]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-security]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-geoip-enterprise-downloader]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-esql-core]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-apm-data]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [old-lucene-versions]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [counted-keyword]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [logsdb]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-inference]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [dot-prefix-validation]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [health-shards-availability]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-otel-data]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [aggregations]
2025.06.04 14:49:52 INFO  es[][o.e.p.PluginsService] loaded module [apm]
2025.06.04 14:49:53 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/mapper/sonar-sonar)]], net usable_space [30.2gb], net total_space [38gb], types [ext4]
2025.06.04 14:49:53 INFO  es[][o.e.e.NodeEnvironment] heap size [2gb], compressed ordinary object pointers [true]
2025.06.04 14:49:53 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [wSYSuK_mQpme6GuRLcY5Jw], cluster name [sonarqube], roles [data, remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen, ingest, data_cold]
2025.06.04 14:49:55 INFO  es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2025.06.04 14:49:55 INFO  es[][o.e.f.FeatureService] Registered local node features [desired_node.version_deprecated, features_supported, file_settings, flattened.ignore_above_support, geoip.downloader.database.configuration, get_database_configuration_action.multi_node, health.extended_repository_indicator, knn_retriever_supported, license-trial-independent-version, mapper.boolean_dimension, mapper.flattened.ignore_above_with_arrays_support, mapper.ignore_above_index_level_setting, mapper.index_sorting_on_nested, mapper.keyword_dimension_ignore_above, mapper.keyword_normalizer_synthetic_source, mapper.pass_through_priority, mapper.query_index_mode, mapper.range.null_values_off_by_one_fix, mapper.segment_level_fields_stats, mapper.source.synthetic_source_copy_to_fix, mapper.source.synthetic_source_copy_to_inside_objects_fix, mapper.source.synthetic_source_fallback, mapper.source.synthetic_source_stored_fields_advance_fix, mapper.source.synthetic_source_with_copy_to_and_doc_values_false, mapper.subobjects_auto, mapper.subobjects_auto_fixes, mapper.synthetic_source_keep, mapper.track_ignored_source, mapper.vectors.bbq, mapper.vectors.bit_vectors, mapper.vectors.int4_quantization, put_database_configuration_action.ipinfo, random_reranker_retriever_supported, repositories.supports_usage_stats, rest.capabilities_action, rest.local_only_capabilities, retrievers_supported, routing.boolean_routing_path, routing.multi_value_routing_path, script.hamming, script.term_stats, search.vectors.k_param_supported, security.migration_framework, security.role_mapping_cleanup, security.roles_metadata_flattened, semantic_text.search_inference_id, simulate.component.template.substitutions, simulate.index.template.substitutions, simulate.mapping.validation, simulate.mapping.validation.templates, standard_retriever_supported, stats.include_disk_thresholds, text_similarity_reranker_retriever_composition_supported, text_similarity_reranker_retriever_supported, tsdb.ts_routing_hash_doc_value_parse_byte_ref, unified_highlighter_matched_fields, usage.data_tiers.precalculate_stats]
2025.06.04 14:49:55 INFO  es[][o.e.c.m.DataStreamGlobalRetentionSettings] Updated default factory retention to [null]
2025.06.04 14:49:55 INFO  es[][o.e.c.m.DataStreamGlobalRetentionSettings] Updated max factory retention to [null]
2025.06.04 14:49:55 INFO  es[][o.e.x.s.Security] Security is disabled
2025.06.04 14:49:55 INFO  es[][o.e.x.a.APMPlugin] APM ingest plugin is enabled
2025.06.04 14:49:55 INFO  es[][o.e.x.c.t.YamlTemplateRegistry] apm index template registry is enabled
2025.06.04 14:49:55 INFO  es[][o.e.x.o.OTelPlugin] OTel ingest plugin is enabled
2025.06.04 14:49:55 INFO  es[][o.e.x.c.t.YamlTemplateRegistry] OpenTelemetry index template registry is enabled
2025.06.04 14:49:55 INFO  es[][o.e.t.a.APM] Sending apm metrics is disabled
2025.06.04 14:49:55 INFO  es[][o.e.t.a.APM] Sending apm tracing is disabled
2025.06.04 14:49:55 INFO  es[][o.e.t.n.NettyAllocator] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
2025.06.04 14:49:55 INFO  es[][o.e.d.DiscoveryModule] using discovery type [single-node] and seed hosts providers [settings]
2025.06.04 14:49:56 INFO  es[][o.e.n.Node] initialized
2025.06.04 14:49:56 INFO  es[][o.e.n.Node] starting ...
2025.06.04 14:49:56 INFO  es[][o.e.t.TransportService] publish_address {[::1]:41755}, bound_addresses {[::1]:41755}
2025.06.04 14:49:56 INFO  es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2025.06.04 14:49:56 INFO  es[][o.e.c.c.ClusterBootstrapService] this node is locked into cluster UUID [uT_oGB-LSp2y9eRZvxk5SA] and will not attempt further cluster bootstrapping
2025.06.04 14:49:56 INFO  es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined in term 2)[_FINISH_ELECTION_, {sonarqube}{wSYSuK_mQpme6GuRLcY5Jw}{GPo0ovcvQWiPiBMK01el4A}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:41755}{cdfhilmrstw}{8.16.3}{7000099-8518000} completing election], term: 2, version: 45, delta: master node changed {previous [], current [{sonarqube}{wSYSuK_mQpme6GuRLcY5Jw}{GPo0ovcvQWiPiBMK01el4A}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:41755}{cdfhilmrstw}{8.16.3}{7000099-8518000}]}
2025.06.04 14:49:56 INFO  es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{wSYSuK_mQpme6GuRLcY5Jw}{GPo0ovcvQWiPiBMK01el4A}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:41755}{cdfhilmrstw}{8.16.3}{7000099-8518000}]}, term: 2, version: 45, reason: Publication{term=2, version=45}
2025.06.04 14:49:56 INFO  es[][o.e.c.c.NodeJoinExecutor] node-join: [{sonarqube}{wSYSuK_mQpme6GuRLcY5Jw}{GPo0ovcvQWiPiBMK01el4A}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:41755}{cdfhilmrstw}{8.16.3}{7000099-8518000}] with reason [completing election]
2025.06.04 14:49:56 INFO  es[][o.e.h.AbstractHttpServerTransport] publish_address {[::1]:9001}, bound_addresses {[::1]:9001}
2025.06.04 14:49:56 INFO  es[][o.e.n.Node] started {sonarqube}{wSYSuK_mQpme6GuRLcY5Jw}{GPo0ovcvQWiPiBMK01el4A}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:41755}{cdfhilmrstw}{8.16.3}{7000099-8518000}{rack_id=sonarqube, xpack.installed=true}
2025.06.04 14:49:56 INFO  es[][o.e.l.ClusterStateLicenseService] license [bd13e37f-1129-495b-96bf-64dfebc6e89e] mode [basic] - valid
2025.06.04 14:49:56 INFO  es[][o.e.c.f.AbstractFileWatchingService] starting file watcher ...
2025.06.04 14:49:56 INFO  es[][o.e.g.GatewayService] recovered [6] indices into cluster_state
2025.06.04 14:49:56 INFO  es[][o.e.c.f.AbstractFileWatchingService] file settings service up and running [tid=41]
2025.06.04 14:49:56 INFO  es[][o.e.r.s.FileSettingsService] setting file [/opt/sonarqube/temp/conf/es/operator/settings.json] not found, initializing [file_settings] as empty
2025.06.04 14:49:56 INFO  es[][o.e.h.n.s.HealthNodeTaskExecutor] Node [{sonarqube}{wSYSuK_mQpme6GuRLcY5Jw}] is selected as the current health node.
2025.06.04 14:49:57 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]]"

Hm. I was expecting to see a more explicit message.

In any case, I would suggest you trash your elasticsearch index and restart your SonarQube service. This often fixes transient issues like this.

Hi,
I did:

Stop SonarQube Server.
Delete the data/es8 directory.
Restart SonarQube Server.

and problem still persist.
Here is my log, after restart sonarqube:

Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv6Addresses=true
2025.06.05 17:14:14 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2025.06.05 17:14:14 WARN  app[][o.s.a.c.CommandFactoryImpl] JAVA_TOOL_OPTIONS is defined but will be ignored. Use properties sonar.*.javaOpts and/or sonar.*.javaAdditionalOpts in sonar.properties to change SQ JVM processes options
2025.06.05 17:14:14 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 0:0:0:0:0:0:0:1:9001, TCP: 0:0:0:0:0:0:0:1:{}]
2025.06.05 17:14:14 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
Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv6Addresses=true
2025.06.05 17:14:14 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
Picked up JAVA_TOOL_OPTIONS: -Djava.net.preferIPv6Addresses=true
Jun 05, 2025 5:14:17 PM sun.util.locale.provider.LocaleProviderAdapter <clinit>
WARNING: COMPAT locale provider will be removed in a future release
2025.06.05 17:14:17 INFO  es[][o.e.n.j.JdkVectorLibrary] vec_caps=2
2025.06.05 17:14:17 INFO  es[][o.e.n.NativeAccess] Using native vector library; to disable start with -Dorg.elasticsearch.nativeaccess.enableVectorLibrary=false
2025.06.05 17:14:17 INFO  es[][o.e.n.NativeAccess] Using [jdk] native provider and native methods for [Linux]
2025.06.05 17:14:17 WARN  es[][o.a.l.i.v.VectorizationProvider] Java vector incubator module is not readable. For optimal vector performance, pass --add-modules jdk.incubator.vector to enable Vector API.
2025.06.05 17:14:17 INFO  es[][o.e.n.Node] version[8.16.3], pid[83], build[tar/2eb78bceb86e182dc8f45ab76a704b1bfd352c9d/2025-01-10T10:08:28.587559883Z], OS[Linux/5.14.0-503.23.1.el9_5.x86_64/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/21.0.7/21.0.7+6-LTS]
2025.06.05 17:14:17 INFO  es[][o.e.n.Node] JVM home [/opt/java/openjdk], using bundled JDK [false]
2025.06.05 17:14:17 INFO  es[][o.e.n.Node] JVM arguments [-Djava.net.preferIPv6Addresses=true, -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, --enable-native-access=org.elasticsearch.nativeaccess,org.apache.lucene.core, -XX:ReplayDataFile=logs/replay_pid%p.log, -Des.distribution.type=tar, -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, -Des.enforce.bootstrap.checks=true, -Xmx2G, -Xms2G, -XX:MaxDirectMemorySize=512m, -XX:+HeapDumpOnOutOfMemoryError, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, --module-path=/opt/sonarqube/elasticsearch/lib, --add-modules=jdk.net, --add-modules=ALL-MODULE-PATH, -Djdk.module.main=org.elasticsearch.server]
2025.06.05 17:14:17 INFO  es[][o.e.n.Node] Default Locale [en_US]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [rest-root]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [reindex]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-core]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-redact]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-security]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-geoip-enterprise-downloader]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-esql-core]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-apm-data]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [old-lucene-versions]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [counted-keyword]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [logsdb]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-inference]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [dot-prefix-validation]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [health-shards-availability]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-otel-data]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [aggregations]
2025.06.05 17:14:20 INFO  es[][o.e.p.PluginsService] loaded module [apm]
2025.06.05 17:14:21 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[/opt/sonarqube/data (/dev/mapper/sonar-sonar)]], net usable_space [30.2gb], net total_space [38gb], types [ext4]
2025.06.05 17:14:21 INFO  es[][o.e.e.NodeEnvironment] heap size [2gb], compressed ordinary object pointers [true]
2025.06.05 17:14:21 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [9OOAGytmTKGd3DImkOjO-g], cluster name [sonarqube], roles [data_cold, data, remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen, ingest]
2025.06.05 17:14:23 INFO  es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2025.06.05 17:14:23 INFO  es[][o.e.f.FeatureService] Registered local node features [desired_node.version_deprecated, features_supported, file_settings, flattened.ignore_above_support, geoip.downloader.database.configuration, get_database_configuration_action.multi_node, health.extended_repository_indicator, knn_retriever_supported, license-trial-independent-version, mapper.boolean_dimension, mapper.flattened.ignore_above_with_arrays_support, mapper.ignore_above_index_level_setting, mapper.index_sorting_on_nested, mapper.keyword_dimension_ignore_above, mapper.keyword_normalizer_synthetic_source, mapper.pass_through_priority, mapper.query_index_mode, mapper.range.null_values_off_by_one_fix, mapper.segment_level_fields_stats, mapper.source.synthetic_source_copy_to_fix, mapper.source.synthetic_source_copy_to_inside_objects_fix, mapper.source.synthetic_source_fallback, mapper.source.synthetic_source_stored_fields_advance_fix, mapper.source.synthetic_source_with_copy_to_and_doc_values_false, mapper.subobjects_auto, mapper.subobjects_auto_fixes, mapper.synthetic_source_keep, mapper.track_ignored_source, mapper.vectors.bbq, mapper.vectors.bit_vectors, mapper.vectors.int4_quantization, put_database_configuration_action.ipinfo, random_reranker_retriever_supported, repositories.supports_usage_stats, rest.capabilities_action, rest.local_only_capabilities, retrievers_supported, routing.boolean_routing_path, routing.multi_value_routing_path, script.hamming, script.term_stats, search.vectors.k_param_supported, security.migration_framework, security.role_mapping_cleanup, security.roles_metadata_flattened, semantic_text.search_inference_id, simulate.component.template.substitutions, simulate.index.template.substitutions, simulate.mapping.validation, simulate.mapping.validation.templates, standard_retriever_supported, stats.include_disk_thresholds, text_similarity_reranker_retriever_composition_supported, text_similarity_reranker_retriever_supported, tsdb.ts_routing_hash_doc_value_parse_byte_ref, unified_highlighter_matched_fields, usage.data_tiers.precalculate_stats]
2025.06.05 17:14:23 INFO  es[][o.e.c.m.DataStreamGlobalRetentionSettings] Updated default factory retention to [null]
2025.06.05 17:14:23 INFO  es[][o.e.c.m.DataStreamGlobalRetentionSettings] Updated max factory retention to [null]
2025.06.05 17:14:23 INFO  es[][o.e.x.s.Security] Security is disabled
2025.06.05 17:14:23 INFO  es[][o.e.x.a.APMPlugin] APM ingest plugin is enabled
2025.06.05 17:14:23 INFO  es[][o.e.x.c.t.YamlTemplateRegistry] apm index template registry is enabled
2025.06.05 17:14:23 INFO  es[][o.e.x.o.OTelPlugin] OTel ingest plugin is enabled
2025.06.05 17:14:23 INFO  es[][o.e.x.c.t.YamlTemplateRegistry] OpenTelemetry index template registry is enabled
2025.06.05 17:14:23 INFO  es[][o.e.t.a.APM] Sending apm metrics is disabled
2025.06.05 17:14:23 INFO  es[][o.e.t.a.APM] Sending apm tracing is disabled
2025.06.05 17:14:24 INFO  es[][o.e.t.n.NettyAllocator] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
2025.06.05 17:14:24 INFO  es[][o.e.d.DiscoveryModule] using discovery type [single-node] and seed hosts providers [settings]
2025.06.05 17:14:24 INFO  es[][o.e.n.Node] initialized
2025.06.05 17:14:24 INFO  es[][o.e.n.Node] starting ...
2025.06.05 17:14:24 INFO  es[][o.e.t.TransportService] publish_address {[::1]:44813}, bound_addresses {[::1]:44813}
2025.06.05 17:14:24 INFO  es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2025.06.05 17:14:24 INFO  es[][o.e.c.c.ClusterBootstrapService] this node has not joined a bootstrapped cluster yet; [cluster.initial_master_nodes] is set to [sonarqube]
2025.06.05 17:14:24 INFO  es[][o.e.c.c.Coordinator] setting initial configuration to VotingConfiguration{9OOAGytmTKGd3DImkOjO-g}
2025.06.05 17:14:25 INFO  es[][o.e.c.s.MasterService] elected-as-master ([1] nodes joined in term 1)[_FINISH_ELECTION_, {sonarqube}{9OOAGytmTKGd3DImkOjO-g}{4aqYsWGQRMGwe2MreApUHw}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:44813}{cdfhilmrstw}{8.16.3}{7000099-8518000} completing election], term: 1, version: 1, delta: master node changed {previous [], current [{sonarqube}{9OOAGytmTKGd3DImkOjO-g}{4aqYsWGQRMGwe2MreApUHw}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:44813}{cdfhilmrstw}{8.16.3}{7000099-8518000}]}
2025.06.05 17:14:25 INFO  es[][o.e.c.c.CoordinationState] cluster UUID set to [vCN7X8ZyQt-op3vs0ldX6A]
2025.06.05 17:14:25 INFO  es[][o.e.c.s.ClusterApplierService] master node changed {previous [], current [{sonarqube}{9OOAGytmTKGd3DImkOjO-g}{4aqYsWGQRMGwe2MreApUHw}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:44813}{cdfhilmrstw}{8.16.3}{7000099-8518000}]}, term: 1, version: 1, reason: Publication{term=1, version=1}
2025.06.05 17:14:25 INFO  es[][o.e.c.c.NodeJoinExecutor] node-join: [{sonarqube}{9OOAGytmTKGd3DImkOjO-g}{4aqYsWGQRMGwe2MreApUHw}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:44813}{cdfhilmrstw}{8.16.3}{7000099-8518000}] with reason [completing election]
2025.06.05 17:14:25 INFO  es[][o.e.c.f.AbstractFileWatchingService] starting file watcher ...
2025.06.05 17:14:25 INFO  es[][o.e.g.GatewayService] recovered [0] indices into cluster_state
2025.06.05 17:14:25 INFO  es[][o.e.c.f.AbstractFileWatchingService] file settings service up and running [tid=37]
2025.06.05 17:14:25 INFO  es[][o.e.r.s.FileSettingsService] setting file [/opt/sonarqube/temp/conf/es/operator/settings.json] not found, initializing [file_settings] as empty
2025.06.05 17:14:25 INFO  es[][o.e.h.AbstractHttpServerTransport] publish_address {[::1]:9001}, bound_addresses {[::1]:9001}
2025.06.05 17:14:25 INFO  es[][o.e.n.Node] started {sonarqube}{9OOAGytmTKGd3DImkOjO-g}{4aqYsWGQRMGwe2MreApUHw}{sonarqube}{0:0:0:0:0:0:0:1}{[::1]:44813}{cdfhilmrstw}{8.16.3}{7000099-8518000}{xpack.installed=true, rack_id=sonarqube}
2025.06.05 17:14:25 INFO  es[][o.e.h.n.s.HealthNodeTaskExecutor] Node [{sonarqube}{9OOAGytmTKGd3DImkOjO-g}] is selected as the current health node.
2025.06.05 17:14:25 INFO  es[][o.e.l.ClusterStateLicenseService] license [4c3bdaa9-f5fb-4d8f-a9d9-0c28753a00f5] mode [basic] - valid
2025.06.05 17:14:25 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2025.06.05 17:14:25 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 -Xmx2G -Xms2G -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv6Addresses=true -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-2025.3.0.108892.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.7.5.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process8345594512949601414properties
2025.06.05 17:14:25 INFO  web[][o.s.p.ProcessEntryPoint] Starting Web Server
2025.06.05 17:14:25 INFO  web[][o.s.s.a.TomcatHttpConnectorFactory] Starting Tomcat on port 9000
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
2025.06.05 17:14:27 INFO  web[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: developer-edition, ai-code-assurance, ai-code-detection, developer-scanner, developer-server, github-provisioning, gitlab-provisioning, license, monitoring, gitlab-vulnerability-report, server-common, architecture, fix-suggestions-marketing
2025.06.05 17:14:27 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 2025.3.0.108892 / e3f9a306e70e62ba024f9dbcb772b68f310c89ad
2025.06.05 17:14:27 INFO  web[][o.s.d.DefaultDatabase] Create JDBC data source for jdbc:postgresql://db:5432/sonar
2025.06.05 17:14:27 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2025.06.05 17:14:27 INFO  web[][c.z.h.p.HikariPool] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@1e141e42
2025.06.05 17:14:27 INFO  web[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2025.06.05 17:14:28 INFO  web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2025.06.05 17:14:28 INFO  web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy ABAP Code Quality and Security / 3.15.1.6010 / 629cf61aa73df0614afac2619b9243a20ad4461c
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Architecture Analysis / 1.11.0.5805 / b0853b2dacb289592cb0faa85b52cfed17e64b7e
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Architecture Rules for JavaScript and frontend / 1.11.0.5805 / b0853b2dacb289592cb0faa85b52cfed17e64b7e
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Architecture and Design Rules for Java / 1.11.0.5805 / b0853b2dacb289592cb0faa85b52cfed17e64b7e
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy C# Code Quality and Security / 10.10.1.116480 / 488c3aaccc7c9c7c87e72e8c280af2eff00559cf
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy CFamily Code Quality and Security / 6.67.0.84717 / 02f0a827497586f3b9f8559c0ca539fe6b23aa9c
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy CFamily dependencies provider / 6.67.0.84717 / 02f0a827497586f3b9f8559c0ca539fe6b23aa9c
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Clean as You Code / 2.4.0.2018 / c2f7910f6ecac6faa73001eeac4bd79a2db98cd3
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Dart Code Quality and Security / 1.2.0.2453 / null
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection / 1.36.1.13250 / 0
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection Rules for Java / 1.36.1.13250 / 0
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Dataflow Bug Detection Rules for Python / 1.36.1.13250 / 0
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Flex Code Quality and Security / 2.14.0.5032 / 005476cddc54a18b78eca55d10338702eb31e4b0
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Go Code Quality and Security / 1.23.1.2838 / b3b67ed3e6f10c88fba1708b5be9406c8d3ff333
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy HTML Code Quality and Security / 3.19.0.5695 / 4d6d79c1783726575bb4d5bd72f4873e46a99e5f
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy IaC Code Quality and Security / 1.47.0.15287 / null
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy IaC Code Quality and Security / 1.47.0.15287 / null
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JaCoCo / 1.3.0.1538 / 74a7798c7cea687c72ed9df40c93eb7ea2a58c49
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Java Advanced Code Quality Analyzer / 8.14.1.39293 / c57798d1669436a9797d3186c787925fccddc058
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Java Code Quality and Security / 8.14.1.39293 / c57798d1669436a9797d3186c787925fccddc058
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy JavaScript/TypeScript/CSS Code Quality and Security / 10.23.0.32711 / c26e1021516f10815719b93e648bdf732edda7e7
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Kotlin Code Quality and Security / 3.2.0.7239 / f9d8f13d3da9cd017e0225aff04aaf9a541043f3
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy PHP Code Quality and Security / 3.46.0.13151 / null
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy PL/SQL Code Quality and Security / 3.16.1.7377 / 219e3fa8150f585c013075469b298a4ee470f814
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Python Enterprise Code Quality and Security / 5.4.0.22255 / 6973c21af2bdf75010e412e6f6722c3d079b2680
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Ruby Code Quality and Security / 1.19.0.471 / 415d28ce6fa5adf005ce5eef827cec15af9c14cf
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Rust Code Quality and Security / 1.0.3.786 / null
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Scala Code Quality and Security / 1.19.0.484 / 97a215c0534ecba8b6bc3e32c2589cbd86452170
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Swift Code Quality and Security / 4.13.1.8101 / b396c94555efbac48a87ebf23064390fdda22bc7
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy T-SQL Code Quality and Security / 1.14.1.7703 / 47cf387c7235fa8d3414311a835b19a8272c4058
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Text Code Quality and Security / 2.24.0.6480 / null
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy VB.NET Code Quality and Security / 10.10.1.116480 / 488c3aaccc7c9c7c87e72e8c280af2eff00559cf
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Analysis / 11.2.1.37710 / e783858d368d998dc6cbe00324291c32609104a6
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for C# / 11.2.1.37710 / e783858d368d998dc6cbe00324291c32609104a6
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for JS / 11.2.1.37710 / e783858d368d998dc6cbe00324291c32609104a6
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for Java / 11.2.1.37710 / e783858d368d998dc6cbe00324291c32609104a6
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for PHP / 11.2.1.37710 / e783858d368d998dc6cbe00324291c32609104a6
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy Vulnerability Rules for Python / 11.2.1.37710 / e783858d368d998dc6cbe00324291c32609104a6
2025.06.05 17:14:30 INFO  web[][o.s.s.p.ServerPluginManager] Deploy XML Code Quality and Security / 2.13.0.5938 / 18b3322855f8543906e10b25f9c57d2f81276c76
2025.06.05 17:14:32 INFO  web[][o.s.s.p.d.m.c.PostgresCharsetHandler] Verify that database charset supports UTF8
2025.06.05 17:14:33 INFO  web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2025.06.05 17:14:33 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@4c2ab536 [pattern=UrlPattern{inclusions=[/api/system/migrate_db.*, ...], exclusions=[/api/components/update_key, ...]}]
2025.06.05 17:14:33 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.NoCacheFilter@26d40c77 [pattern=UrlPattern{inclusions=[/api/v2/*], exclusions=[]}]
2025.06.05 17:14:33 INFO  web[][o.s.s.p.DetectPluginChange] Detect plugin changes
2025.06.05 17:14:33 INFO  web[][o.s.s.p.DetectPluginChange] No plugin change detected
2025.06.05 17:14:33 INFO  web[][o.s.s.s.PropertiesDBCleaner] Clean up properties from db
2025.06.05 17:14:35 INFO  web[][o.h.v.i.util.Version] HV000001: Hibernate Validator null
2025.06.05 17:14:35 INFO  web[][o.s.s.e.IndexCreator] Create index [metadatas]
2025.06.05 17:14:35 INFO  es[][o.e.c.m.MetadataCreateIndexService] [metadatas] creating index, cause [api], templates [], shards [1]/[0]
2025.06.05 17:14:35 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[metadatas][0]]])." previous.health="YELLOW" reason="shards started [[metadatas][0]]"
2025.06.05 17:14:35 INFO  web[][o.s.s.e.IndexCreator] Create mapping metadatas
2025.06.05 17:14:35 INFO  es[][o.e.c.m.MetadataMappingService] [metadatas/Qw88EvH9TwGDVvpv0i-sZg] create_mapping
2025.06.05 17:14:35 INFO  web[][o.s.s.e.IndexCreator] Create index [components]
2025.06.05 17:14:36 INFO  es[][o.e.c.m.MetadataCreateIndexService] [components] creating index, cause [api], templates [], shards [5]/[0]
2025.06.05 17:14:36 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[components][4]]])." previous.health="YELLOW" reason="shards started [[components][4]]"
2025.06.05 17:14:36 INFO  web[][o.s.s.e.IndexCreator] Create mapping components
2025.06.05 17:14:36 INFO  es[][o.e.c.m.MetadataMappingService] [components/eHF--qSxRzCVsFlTWyMcwQ] create_mapping
2025.06.05 17:14:36 INFO  web[][o.s.s.e.IndexCreator] Create index [projectmeasures]
2025.06.05 17:14:36 INFO  es[][o.e.c.m.MetadataCreateIndexService] [projectmeasures] creating index, cause [api], templates [], shards [5]/[0]
2025.06.05 17:14:37 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[projectmeasures][4]]])." previous.health="YELLOW" reason="shards started [[projectmeasures][4]]"
2025.06.05 17:14:37 INFO  web[][o.s.s.e.IndexCreator] Create mapping projectmeasures
2025.06.05 17:14:37 INFO  es[][o.e.c.m.MetadataMappingService] [projectmeasures/_TmfpZ5DQJGabYaTJOeCYw] create_mapping
2025.06.05 17:14:37 INFO  web[][o.s.s.e.IndexCreator] Create index [rules]
2025.06.05 17:14:37 INFO  es[][o.e.c.m.MetadataCreateIndexService] [rules] creating index, cause [api], templates [], shards [2]/[0]
2025.06.05 17:14:37 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[rules][1]]])." previous.health="YELLOW" reason="shards started [[rules][1]]"
2025.06.05 17:14:37 INFO  web[][o.s.s.e.IndexCreator] Create mapping rules
2025.06.05 17:14:37 INFO  es[][o.e.c.m.MetadataMappingService] [rules/sZSgsSvZTsOcVH0zhpfu8w] create_mapping
2025.06.05 17:14:37 INFO  web[][o.s.s.e.IndexCreator] Create index [issues]
2025.06.05 17:14:37 INFO  es[][o.e.c.m.MetadataCreateIndexService] [issues] creating index, cause [api], templates [], shards [5]/[0]
2025.06.05 17:14:38 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[issues][4]]])." previous.health="YELLOW" reason="shards started [[issues][4]]"
2025.06.05 17:14:38 INFO  web[][o.s.s.e.IndexCreator] Create mapping issues
2025.06.05 17:14:38 INFO  es[][o.e.c.m.MetadataMappingService] [issues/NYcwLJwRSAW-kTMiszY2mQ] create_mapping
2025.06.05 17:14:38 INFO  web[][o.s.s.e.IndexCreator] Create index [views]
2025.06.05 17:14:38 INFO  es[][o.e.c.m.MetadataCreateIndexService] [views] creating index, cause [api], templates [], shards [5]/[0]
2025.06.05 17:14:38 INFO  es[][o.e.c.r.a.AllocationService] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[views][4]]])." previous.health="YELLOW" reason="shards started [[views][4]]"
2025.06.05 17:14:38 INFO  web[][o.s.s.e.IndexCreator] Create mapping views
2025.06.05 17:14:38 INFO  es[][o.e.c.m.MetadataMappingService] [views/ZeqnDBxmRnOaFIfvLCcqCw] create_mapping
2025.06.05 17:14:38 INFO  web[][o.s.s.s.LogServerId] Server ID: 243B8A4D-AZYb8v4VXkLR1sZyjdy1
2025.06.05 17:14:38 INFO  web[][o.o.c.c.InitializationService] Initializing OpenSAML using the Java Services API
2025.06.05 17:14:39 INFO  web[][o.o.x.a.AlgorithmRegistry] Algorithm failed runtime support check, will not be usable: http://www.w3.org/2001/04/xmlenc#ripemd160
2025.06.05 17:14:39 INFO  web[][o.o.x.a.AlgorithmRegistry] Algorithm failed runtime support check, will not be usable: http://www.w3.org/2001/04/xmldsig-more#hmac-ripemd160
2025.06.05 17:14:39 INFO  web[][o.o.x.a.AlgorithmRegistry] Algorithm failed runtime support check, will not be usable: http://www.w3.org/2001/04/xmldsig-more#rsa-ripemd160
2025.06.05 17:14:39 INFO  web[][o.s.s.p.UpdateCenterClient] Update center: https://downloads.sonarsource.com/sonarqube/update/update-center.properties
2025.06.05 17:14:40 WARN  web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/support/info
2025.06.05 17:14:40 INFO  web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2025.06.05 17:14:40 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements
2025.06.05 17:14:40 INFO  web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2025.06.05 17:14:40 INFO  web[][o.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2025.06.05 17:14:40 INFO  web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2025.06.05 17:14:40 INFO  web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2025.06.05 17:14:40 INFO  web[][o.s.s.s.UpgradeSuggestionsCleaner] Dismissed messages cleanup
2025.06.05 17:14:40 INFO  web[][o.s.s.s.RegisterPlugins] Register plugins
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.SonarQubeIdeConnectionFilter@4138585c [pattern=UrlPattern{inclusions=[/api/*], exclusions=[/api/v2/*]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@5ce4449 [pattern=UrlPattern{inclusions=[/api/issues/delete_comment.*, ...], exclusions=[/api/authentication/login.*, ...]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.NoCacheFilter@14fade64 [pattern=UrlPattern{inclusions=[/api/v2/*], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceReroutingFilter@480a02be [pattern=UrlPattern{inclusions=[/api/components/update_key, ...], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.DefaultAdminCredentialsVerifierFilter@4b73495b [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@3c68b070 [pattern=UrlPattern{inclusions=[/sessions/init/*], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.SamlValidationRedirectionFilter@7e234067 [pattern=UrlPattern{inclusions=[/oauth2/callback/saml], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@6624a2ef [pattern=UrlPattern{inclusions=[/oauth2/callback/*], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ResetPasswordFilter@374c06e1 [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@6c4f2e73 [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@4355d2b [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@6a061a34 [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.saml.ws.ValidationInitAction@45b379d [pattern=UrlPattern{inclusions=[/saml/validation_init], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.saml.ws.ValidationAction@1153958e [pattern=UrlPattern{inclusions=[/saml/validation], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.user.ws.ChangePasswordAction@4ededb48 [pattern=UrlPattern{inclusions=[/api/users/change_password], exclusions=[]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.plugins.PluginsRiskConsentFilter@2a9a8a8c [pattern=UrlPattern{inclusions=[/*], exclusions=[*.css, ...]}]
2025.06.05 17:14:40 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule]...
2025.06.05 17:14:42 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule] done | time=1510ms
2025.06.05 17:14:42 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule]...
2025.06.05 17:14:50 ERROR web[][o.s.a.c.g.GitlabApplicationClient] Gitlab API call to [https://gitlabn.dovera.local/api/v4/user] failed with 401 http code. gitlab response content : [{"message":"401 Unauthorized"}]
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule] done | time=10859ms
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure]...
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure] done | time=181ms
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component]...
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component] done | time=128ms
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view]...
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view] done | time=129ms
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Trigger asynchronous indexing of type [issues/auth/issue]...
2025.06.05 17:14:53 INFO  web[][o.s.s.i.i.AsyncIssueIndexingImpl] 0 pending indexing task found to be deleted...
2025.06.05 17:14:53 INFO  web[][o.s.s.i.i.AsyncIssueIndexingImpl] 0 completed indexing task found to be deleted...
2025.06.05 17:14:53 INFO  web[][o.s.s.i.i.AsyncIssueIndexingImpl] Indexing task deletion complete.
2025.06.05 17:14:53 INFO  web[][o.s.s.i.i.AsyncIssueIndexingImpl] Deleting tasks characteristics...
2025.06.05 17:14:53 INFO  web[][o.s.s.i.i.AsyncIssueIndexingImpl] Tasks characteristics deletion complete.
2025.06.05 17:14:53 INFO  web[][o.s.s.i.i.AsyncIssueIndexingImpl] 2 branch found in need of issue sync.
2025.06.05 17:14:53 INFO  web[][o.s.s.i.i.AsyncIssueIndexingImpl] 1 projects found in need of issue sync.
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Trigger asynchronous indexing of type [issues/auth/issue] done | time=85ms
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth]...
2025.06.05 17:14:53 INFO  web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth] done | time=268ms
2025.06.05 17:14:53 INFO  web[][o.s.s.p.p.PlatformLevelStartup] Running Developer Edition
2025.06.05 17:14:54 INFO  app[][o.s.a.SchedulerImpl] Process[web] is up
2025.06.05 17:14:54 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 -Xmx4G -Xms4G -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-2025.3.0.108892.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.7.5.jar org.sonar.ce.app.CeServer /opt/sonarqube/temp/sq-process12879776502763965454properties
2025.06.05 17:14:54 INFO  web[][o.s.s.p.Platform] Web Server is operational
2025.06.05 17:14:54 INFO  ce[][o.s.p.ProcessEntryPoint] Starting Compute Engine
2025.06.05 17:14:54 INFO  ce[][o.s.ce.app.CeServer] Compute Engine starting up...
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
2025.06.05 17:14:54 INFO  ce[][o.s.c.e.CoreExtensionsLoader] Loaded core extensions: developer-edition, ai-code-assurance, ai-code-detection, developer-scanner, developer-server, github-provisioning, gitlab-provisioning, license, monitoring, gitlab-vulnerability-report, server-common, architecture, fix-suggestions-marketing
2025.06.05 17:14:54 INFO  ce[][o.s.d.DefaultDatabase] Create JDBC data source for jdbc:postgresql://db:5432/sonar
2025.06.05 17:14:54 INFO  ce[][c.z.h.HikariDataSource] HikariPool-1 - Starting...
2025.06.05 17:14:54 INFO  ce[][c.z.h.p.HikariPool] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@69afe7f4
2025.06.05 17:14:54 INFO  ce[][c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2025.06.05 17:14:55 INFO  ce[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2025.06.05 17:14:55 INFO  ce[][o.s.c.c.CePluginRepository] Load plugins
2025.06.05 17:14:58 INFO  ce[][o.s.c.c.ComputeEngineContainerImpl] Running Developer edition
2025.06.05 17:14:58 INFO  ce[][o.s.ce.app.CeServer] Compute Engine is started
2025.06.05 17:14:58 INFO  app[][o.s.a.SchedulerImpl] Process[ce] is up
2025.06.05 17:14:58 INFO  app[][o.s.a.SchedulerImpl] SonarQube is operational
2025.06.05 17:15:00 INFO  ce[][o.s.c.t.CeWorkerImpl] Execute task | project=dovera-dovera-lekarom-back-end-services-revizia-uhrada-zs-servi | type=ISSUE_SYNC | branch=main | branchType=BRANCH | id=dc43b779-d4c0-432b-a02c-2f8e16a6899a
2025.06.05 17:15:00 INFO  ce[dc43b779-d4c0-432b-a02c-2f8e16a6899a][o.s.c.t.s.ComputationStepExecutor] Ignore orphan component | status=SUCCESS | time=2ms
2025.06.05 17:15:00 INFO  ce[dc43b779-d4c0-432b-a02c-2f8e16a6899a][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2025.06.05 17:15:00 INFO  ce[dc43b779-d4c0-432b-a02c-2f8e16a6899a][o.s.c.t.p.t.IndexIssuesStep] indexing issues of branch 18b38be3-4d66-47c3-b8be-f7c6ed87630d
2025.06.05 17:15:01 INFO  ce[dc43b779-d4c0-432b-a02c-2f8e16a6899a][o.s.c.t.s.ComputationStepExecutor] index issues | status=FAILED | time=625ms
2025.06.05 17:15:01 ERROR ce[dc43b779-d4c0-432b-a02c-2f8e16a6899a][o.s.c.t.CeWorkerImpl] Failed to execute task dc43b779-d4c0-432b-a02c-2f8e16a6899a
org.sonar.server.es.ElasticsearchException: Fail to execute es requestES refresh request on indices 'issues'
        at org.sonar.server.es.EsClient.execute(EsClient.java:336)
        at org.sonar.server.es.EsClient.refresh(EsClient.java:159)
        at org.sonar.server.es.BulkIndexer.stop(BulkIndexer.java:129)
        at org.sonar.server.issue.index.IssueIndexer.doIndex(IssueIndexer.java:325)
        at org.sonar.server.issue.index.IssueIndexer.indexOnAnalysis(IssueIndexer.java:127)
        at org.sonar.ce.task.projectanalysis.taskprocessor.IndexIssuesStep.lambda$execute$1(IndexIssuesStep.java:52)
        at java.base/java.util.Optional.ifPresent(Unknown Source)
        at org.sonar.ce.task.projectanalysis.taskprocessor.IndexIssuesStep.execute(IndexIssuesStep.java:48)
        at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(ComputationStepExecutor.java:90)
        at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:81)
        at org.sonar.ce.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:68)
        at org.sonar.ce.task.projectanalysis.taskprocessor.IssueSyncTaskProcessor.process(IssueSyncTaskProcessor.java:61)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(CeWorkerImpl.java:212)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.run(CeWorkerImpl.java:194)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:160)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(CeWorkerImpl.java:135)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:87)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:53)
        at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:128)
        at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
        at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:80)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.elasticsearch.ElasticsearchException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
        at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2695)
        at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2171)
        at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:2137)
        at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:2105)
        at org.elasticsearch.client.IndicesClient.refresh(IndicesClient.java:900)
        at org.sonar.server.es.EsClient.lambda$refresh$9(EsClient.java:159)
        at org.sonar.server.es.EsClient.execute(EsClient.java:334)
        ... 26 common frames omitted
Caused by: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
        at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:257)
        at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:244)
        at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:75)
        at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2692)
        ... 32 common frames omitted
Caused by: java.net.ConnectException: Connection refused
        at java.base/sun.nio.ch.Net.pollConnect(Native Method)
        at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source)
        at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
        ... 1 common frames omitted
2025.06.05 17:15:01 INFO  ce[dc43b779-d4c0-432b-a02c-2f8e16a6899a][o.s.c.t.CeWorkerImpl] Executed task | project=dovera-dovera-lekarom-back-end-services-revizia-uhrada-zs-servi | type=ISSUE_SYNC | branch=main | branchType=BRANCH | id=dc43b779-d4c0-432b-a02c-2f8e16a6899a | status=FAILED | time=1222ms
2025.06.05 17:15:01 INFO  ce[][o.s.c.t.CeWorkerImpl] Execute task | project=dovera-dovera-lekarom-back-end-services-revizia-uhrada-zs-servi | type=ISSUE_SYNC | branch=devops/sonar | branchType=BRANCH | id=d3d441b0-c6c5-44f1-825f-08260063ae06
2025.06.05 17:15:01 INFO  ce[d3d441b0-c6c5-44f1-825f-08260063ae06][o.s.c.t.s.ComputationStepExecutor] Ignore orphan component | status=SUCCESS | time=2ms
2025.06.05 17:15:01 INFO  ce[d3d441b0-c6c5-44f1-825f-08260063ae06][o.s.c.t.p.t.IndexIssuesStep] indexing issues of branch f4468926-272b-40dd-8bbe-f3d1404fe3fd
2025.06.05 17:15:01 ERROR ce[d3d441b0-c6c5-44f1-825f-08260063ae06][o.s.s.es.BulkIndexer] Fail to execute bulk index request: org.elasticsearch.action.bulk.BulkRequest/unset
org.elasticsearch.common.util.concurrent.UncategorizedExecutionException: Failed execution
        at org.elasticsearch.common.util.concurrent.FutureUtils.rethrowExecutionException(FutureUtils.java:80)
        at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:72)
        at org.elasticsearch.common.util.concurrent.ListenableFuture.notifyListenerDirectly(ListenableFuture.java:112)
        at org.elasticsearch.common.util.concurrent.ListenableFuture.addListener(ListenableFuture.java:55)
        at org.elasticsearch.common.util.concurrent.ListenableFuture.addListener(ListenableFuture.java:41)
        at org.elasticsearch.client.RestHighLevelClient.performClientRequestAsync(RestHighLevelClient.java:2598)
        at org.elasticsearch.client.RestHighLevelClient.internalPerformRequestAsync(RestHighLevelClient.java:2337)
        at org.elasticsearch.client.RestHighLevelClient.performRequestAsync(RestHighLevelClient.java:2292)
        at org.elasticsearch.client.RestHighLevelClient.performRequestAsyncAndParseEntity(RestHighLevelClient.java:2241)
        at org.elasticsearch.client.RestHighLevelClient.bulkAsync(RestHighLevelClient.java:632)
        at org.sonar.server.es.EsClient.bulkAsync(EsClient.java:126)
        at org.elasticsearch.action.bulk.Retry$RetryHandler.execute(Retry.java:201)
        at org.elasticsearch.action.bulk.Retry.withBackoff(Retry.java:51)
        at org.elasticsearch.action.bulk.BulkRequestHandler.execute(BulkRequestHandler.java:56)
        at org.elasticsearch.action.bulk.BulkProcessor.execute(BulkProcessor.java:540)
        at org.elasticsearch.action.bulk.BulkProcessor.execute(BulkProcessor.java:550)
        at org.elasticsearch.action.bulk.BulkProcessor.awaitClose(BulkProcessor.java:413)
        at org.sonar.server.es.BulkIndexer.stop(BulkIndexer.java:123)
        at org.sonar.server.issue.index.IssueIndexer.doIndex(IssueIndexer.java:325)
        at org.sonar.server.issue.index.IssueIndexer.indexOnAnalysis(IssueIndexer.java:127)
        at org.sonar.ce.task.projectanalysis.taskprocessor.IndexIssuesStep.lambda$execute$1(IndexIssuesStep.java:52)
        at java.base/java.util.Optional.ifPresent(Unknown Source)
        at org.sonar.ce.task.projectanalysis.taskprocessor.IndexIssuesStep.execute(IndexIssuesStep.java:48)
        at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(ComputationStepExecutor.java:90)
        at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:81)
        at org.sonar.ce.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:68)
        at org.sonar.ce.task.projectanalysis.taskprocessor.IssueSyncTaskProcessor.process(IssueSyncTaskProcessor.java:61)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(CeWorkerImpl.java:212)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.run(CeWorkerImpl.java:194)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:160)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(CeWorkerImpl.java:135)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:87)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:53)
        at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:128)
        at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
        at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:80)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
        at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:257)
        at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:231)
        at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:53)
        at org.elasticsearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:65)
        ... 40 common frames omitted
Caused by: java.net.ConnectException: Connection refused
        at java.base/sun.nio.ch.Net.pollConnect(Native Method)
        at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source)
        at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
        ... 1 common frames omitted
2025.06.05 17:15:01 INFO  ce[d3d441b0-c6c5-44f1-825f-08260063ae06][o.s.c.t.s.ComputationStepExecutor] index issues | status=FAILED | time=174ms
2025.06.05 17:15:01 ERROR ce[d3d441b0-c6c5-44f1-825f-08260063ae06][o.s.c.t.CeWorkerImpl] Failed to execute task d3d441b0-c6c5-44f1-825f-08260063ae06
org.sonar.server.es.ElasticsearchException: Fail to execute es requestES refresh request on indices 'issues'
        at org.sonar.server.es.EsClient.execute(EsClient.java:336)
        at org.sonar.server.es.EsClient.refresh(EsClient.java:159)
        at org.sonar.server.es.BulkIndexer.stop(BulkIndexer.java:129)
        at org.sonar.server.issue.index.IssueIndexer.doIndex(IssueIndexer.java:325)
        at org.sonar.server.issue.index.IssueIndexer.indexOnAnalysis(IssueIndexer.java:127)
        at org.sonar.ce.task.projectanalysis.taskprocessor.IndexIssuesStep.lambda$execute$1(IndexIssuesStep.java:52)
        at java.base/java.util.Optional.ifPresent(Unknown Source)
        at org.sonar.ce.task.projectanalysis.taskprocessor.IndexIssuesStep.execute(IndexIssuesStep.java:48)
        at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(ComputationStepExecutor.java:90)
        at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:81)
        at org.sonar.ce.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:68)
        at org.sonar.ce.task.projectanalysis.taskprocessor.IssueSyncTaskProcessor.process(IssueSyncTaskProcessor.java:61)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(CeWorkerImpl.java:212)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.run(CeWorkerImpl.java:194)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:160)
        at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(CeWorkerImpl.java:135)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:87)
        at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:53)
        at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:128)
        at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
        at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:80)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.elasticsearch.ElasticsearchException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
        at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2695)
        at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2171)
        at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:2137)
        at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:2105)
        at org.elasticsearch.client.IndicesClient.refresh(IndicesClient.java:900)
        at org.sonar.server.es.EsClient.lambda$refresh$9(EsClient.java:159)
        at org.sonar.server.es.EsClient.execute(EsClient.java:334)
        ... 26 common frames omitted
Caused by: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
        at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:257)
        at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:244)
        at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:75)
        at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2692)
        ... 32 common frames omitted
Caused by: java.net.ConnectException: Connection refused
        at java.base/sun.nio.ch.Net.pollConnect(Native Method)
        at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source)
        at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
        ... 1 common frames omitted
2025.06.05 17:15:01 INFO  ce[d3d441b0-c6c5-44f1-825f-08260063ae06][o.s.c.t.CeWorkerImpl] Executed task | project=dovera-dovera-lekarom-back-end-services-revizia-uhrada-zs-servi | type=ISSUE_SYNC | branch=devops/sonar | branchType=BRANCH | id=d3d441b0-c6c5-44f1-825f-08260063ae06 | status=FAILED | time=187ms

Super weird. It looks like there’s a successful connection:

But then it fails :confused:

For what it’s worth, when it fails, the API call it’s making is like the following:

2025.06.06 16:43:37 TRACE ce[][tracer] curl -iX POST 'http://localhost:9001/_bulk?timeout=1m' -d '{"index":{"_index":"issues","_id":"287fea52-9a6f-42eb-8c4b-f7e503acb1ad","routing":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"}}\n{"casa":[],"isNewCodeReference":false,"line":22,"project":"d5441aa5-cb1e-4f5b-a3c5-453189797dac","effort":0,"language":"py","sansTop25":[],"type":"CODE_SMELL","resolution":null,"branch":"80d8ea56-15df-4c70-9880-affa35a4f936","issueStatus":"OPEN","issueUpdatedAt":"2025-05-29T06:33:59.000Z","severityValue":0,"ruleUuid":"66a95406-f845-4401-babb-3145c59449be","owaspAsvs-4.0":[],"scope":"MAIN","dirPath":"pokedex","key":"287fea52-9a6f-42eb-8c4b-f7e503acb1ad","issueCreatedAt":"2022-04-25T14:40:06.000Z","severity":"INFO","stig-ASD_V5R3":[],"vulnerabilityProbability":1,"owaspTop10":[],"filePath":"pokedex/app.py","cleanCodeAttributeCategory":"INTENTIONAL","authorLogin":"guillaume.dequenne@sonarsource.com","join_issues":{"name":"issue","parent":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"},"impacts":[{"softwareQuality":"MAINTAINABILITY","severity":"INFO"}],"issueClosedAt":null,"tags":["cwe"],"owaspMobileTop10-2024":[],"cwe":["546"],"codeVariants":[],"sonarsourceSecurity":"others","component":"a7adada9-e0a9-4bba-8c00-90c7fb47940a","indexType":"issue","prioritizedRule":false,"pciDss-4.0":[],"pciDss-3.2":[],"assignee":null,"owaspTop10-2021":[],"isMainBranch":true,"status":"OPEN"}\n{"index":{"_index":"issues","_id":"3225692d-66e7-4e43-8381-863358ab85ca","routing":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"}}\n{"casa":["4.2.2"],"isNewCodeReference":false,"line":5,"project":"d5441aa5-cb1e-4f5b-a3c5-453189797dac","effort":5,"language":"py","sansTop25":["insecure-interaction"],"type":"SECURITY_HOTSPOT","resolution":null,"branch":"80d8ea56-15df-4c70-9880-affa35a4f936","issueStatus":null,"issueUpdatedAt":"2025-05-29T06:33:59.000Z","severityValue":3,"ruleUuid":"a80b04d2-c963-4f86-86d1-85f84ce0ab98","owaspAsvs-4.0":["13.2.3","4.2.2"],"scope":"MAIN","dirPath":"pokedex","key":"3225692d-66e7-4e43-8381-863358ab85ca","issueCreatedAt":"2022-04-25T14:38:30.000Z","severity":"CRITICAL","stig-ASD_V5R3":["V-222603"],"vulnerabilityProbability":3,"owaspTop10":["a6"],"filePath":"pokedex/app.py","cleanCodeAttributeCategory":"CONSISTENT","authorLogin":"guillaume.dequenne@sonarsource.com","join_issues":{"name":"issue","parent":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"},"impacts":[],"issueClosedAt":null,"tags":["cwe","django","flask"],"owaspMobileTop10-2024":[],"cwe":["352"],"codeVariants":[],"sonarsourceSecurity":"csrf","component":"a7adada9-e0a9-4bba-8c00-90c7fb47940a","indexType":"issue","prioritizedRule":false,"pciDss-4.0":["6.2.4"],"pciDss-3.2":["6.5.9"],"assignee":null,"owaspTop10-2021":["a1"],"isMainBranch":true,"status":"TO_REVIEW"}\n{"index":{"_index":"issues","_id":"48ea4f24-ded4-4bf0-879a-a0693fe9186d","routing":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"}}\n{"casa":[],"isNewCodeReference":false,"line":40,"project":"d5441aa5-cb1e-4f5b-a3c5-453189797dac","effort":1,"language":"py","sansTop25":[],"type":"SECURITY_HOTSPOT","resolution":null,"branch":"80d8ea56-15df-4c70-9880-affa35a4f936","issueStatus":null,"issueUpdatedAt":"2025-05-29T06:33:59.000Z","severityValue":1,"ruleUuid":"b61ee796-55a2-42da-8709-4e7b804405d7","owaspAsvs-4.0":[],"scope":"MAIN","dirPath":"pokedex","key":"48ea4f24-ded4-4bf0-879a-a0693fe9186d","issueCreatedAt":"2022-04-25T14:38:30.000Z","severity":"MINOR","stig-ASD_V5R3":[],"vulnerabilityProbability":1,"owaspTop10":["a3"],"filePath":"pokedex/app.py","cleanCodeAttributeCategory":"CONSISTENT","authorLogin":"guillaume.dequenne@sonarsource.com","join_issues":{"name":"issue","parent":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"},"impacts":[],"issueClosedAt":null,"tags":["cwe","error-handling","debug","user-experience"],"owaspMobileTop10-2024":[],"cwe":["489","215"],"codeVariants":[],"sonarsourceSecurity":"insecure-conf","component":"a7adada9-e0a9-4bba-8c00-90c7fb47940a","indexType":"issue","prioritizedRule":false,"pciDss-4.0":[],"pciDss-3.2":[],"assignee":null,"owaspTop10-2021":["a5"],"isMainBranch":true,"status":"TO_REVIEW"}\n{"index":{"_index":"issues","_id":"9504e412-fc2d-4717-a366-463230b0041d","routing":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"}}\n{"casa":[],"isNewCodeReference":false,"line":20,"project":"d5441aa5-cb1e-4f5b-a3c5-453189797dac","effort":20,"language":"py","sansTop25":[],"type":"CODE_SMELL","resolution":null,"branch":"80d8ea56-15df-4c70-9880-affa35a4f936","issueStatus":"OPEN","issueUpdatedAt":"2025-05-29T06:33:59.000Z","severityValue":2,"ruleUuid":"88aff08f-07c8-429e-bcea-0bf9a0c839b0","owaspAsvs-4.0":[],"scope":"MAIN","dirPath":"pokedex","key":"9504e412-fc2d-4717-a366-463230b0041d","issueCreatedAt":"2022-04-25T14:40:06.000Z","severity":"MAJOR","stig-ASD_V5R3":[],"vulnerabilityProbability":1,"owaspTop10":[],"filePath":"pokedex/helper.py","cleanCodeAttributeCategory":"INTENTIONAL","authorLogin":"guillaume.dequenne@sonarsource.com","join_issues":{"name":"issue","parent":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"},"impacts":[{"softwareQuality":"MAINTAINABILITY","severity":"MEDIUM"}],"issueClosedAt":null,"tags":["cwe","error-handling"],"owaspMobileTop10-2024":[],"cwe":["397"],"codeVariants":[],"sonarsourceSecurity":"others","component":"79203a79-b4b0-437f-813d-9bb784f1c842","indexType":"issue","prioritizedRule":false,"pciDss-4.0":[],"pciDss-3.2":[],"assignee":null,"owaspTop10-2021":[],"isMainBranch":true,"status":"OPEN"}\n{"index":{"_index":"issues","_id":"a251c2fb-8459-4c21-9f3b-29afa702dbf7","routing":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"}}\n{"casa":[],"isNewCodeReference":false,"line":38,"project":"d5441aa5-cb1e-4f5b-a3c5-453189797dac","effort":2,"language":"py","sansTop25":[],"type":"CODE_SMELL","resolution":null,"branch":"80d8ea56-15df-4c70-9880-affa35a4f936","issueStatus":"OPEN","issueUpdatedAt":"2025-05-29T06:33:59.000Z","severityValue":1,"ruleUuid":"ec9c7cc0-8f0e-4feb-bec0-3ac2a94032f2","owaspAsvs-4.0":[],"scope":"MAIN","dirPath":"pokedex","key":"a251c2fb-8459-4c21-9f3b-29afa702dbf7","issueCreatedAt":"2022-04-25T14:40:06.000Z","severity":"MINOR","stig-ASD_V5R3":[],"vulnerabilityProbability":1,"owaspTop10":[],"filePath":"pokedex/helper.py","cleanCodeAttributeCategory":"INTENTIONAL","authorLogin":"guillaume.dequenne@sonarsource.com","join_issues":{"name":"issue","parent":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"},"impacts":[{"softwareQuality":"MAINTAINABILITY","severity":"LOW"}],"issueClosedAt":null,"tags":["confusing"],"owaspMobileTop10-2024":[],"cwe":["unknown"],"codeVariants":[],"sonarsourceSecurity":"others","component":"79203a79-b4b0-437f-813d-9bb784f1c842","indexType":"issue","prioritizedRule":false,"pciDss-4.0":[],"pciDss-3.2":[],"assignee":null,"owaspTop10-2021":[],"isMainBranch":true,"status":"OPEN"}\n{"index":{"_index":"issues","_id":"ac9cb449-444e-4b54-b112-335daef82cbf","routing":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"}}\n{"casa":[],"isNewCodeReference":false,"line":21,"project":"d5441aa5-cb1e-4f5b-a3c5-453189797dac","effort":5,"language":"py","sansTop25":[],"type":"BUG","resolution":null,"branch":"80d8ea56-15df-4c70-9880-affa35a4f936","issueStatus":"OPEN","issueUpdatedAt":"2025-05-29T06:33:59.000Z","severityValue":2,"ruleUuid":"1c176d9f-89b1-4653-95db-05dc248d7684","owaspAsvs-4.0":[],"scope":"MAIN","dirPath":"pokedex","key":"ac9cb449-444e-4b54-b112-335daef82cbf","issueCreatedAt":"2022-04-25T14:40:06.000Z","severity":"MAJOR","stig-ASD_V5R3":[],"vulnerabilityProbability":1,"owaspTop10":[],"filePath":"pokedex/helper.py","cleanCodeAttributeCategory":"INTENTIONAL","authorLogin":"guillaume.dequenne@sonarsource.com","join_issues":{"name":"issue","parent":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"},"impacts":[{"softwareQuality":"RELIABILITY","severity":"MEDIUM"}],"issueClosedAt":null,"tags":["suspicious"],"owaspMobileTop10-2024":[],"cwe":["unknown"],"codeVariants":[],"sonarsourceSecurity":"others","component":"79203a79-b4b0-437f-813d-9bb784f1c842","indexType":"issue","prioritizedRule":false,"pciDss-4.0":[],"pciDss-3.2":[],"assignee":null,"owaspTop10-2021":[],"isMainBranch":true,"status":"OPEN"}\n{"index":{"_index":"issues","_id":"c746e291-ee64-4592-9afa-9884747d8935","routing":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"}}\n{"casa":[],"isNewCodeReference":false,"line":36,"project":"d5441aa5-cb1e-4f5b-a3c5-453189797dac","effort":2,"language":"py","sansTop25":[],"type":"BUG","resolution":null,"branch":"80d8ea56-15df-4c70-9880-affa35a4f936","issueStatus":"OPEN","issueUpdatedAt":"2025-05-29T06:33:59.000Z","severityValue":2,"ruleUuid":"cce4bd75-cfeb-42dc-aebd-74cab5754143","owaspAsvs-4.0":[],"scope":"MAIN","dirPath":"pokedex","key":"c746e291-ee64-4592-9afa-9884747d8935","issueCreatedAt":"2022-04-25T14:40:06.000Z","severity":"MAJOR","stig-ASD_V5R3":[],"vulnerabilityProbability":1,"owaspTop10":[],"filePath":"pokedex/helper.py","cleanCodeAttributeCategory":"INTENTIONAL","authorLogin":"guillaume.dequenne@sonarsource.com","join_issues":{"name":"issue","parent":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"},"impacts":[{"softwareQuality":"RELIABILITY","severity":"MEDIUM"}],"issueClosedAt":null,"tags":["error-handling"],"owaspMobileTop10-2024":[],"cwe":["unknown"],"codeVariants":[],"sonarsourceSecurity":"others","component":"79203a79-b4b0-437f-813d-9bb784f1c842","indexType":"issue","prioritizedRule":false,"pciDss-4.0":[],"pciDss-3.2":[],"assignee":null,"owaspTop10-2021":[],"isMainBranch":true,"status":"OPEN"}\n{"index":{"_index":"issues","_id":"d76453ad-27a7-4479-91b8-de50d1b291e9","routing":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"}}\n{"casa":[],"isNewCodeReference":false,"line":34,"project":"d5441aa5-cb1e-4f5b-a3c5-453189797dac","effort":30,"language":"py","sansTop25":[],"type":"SECURITY_HOTSPOT","resolution":null,"branch":"80d8ea56-15df-4c70-9880-affa35a4f936","issueStatus":null,"issueUpdatedAt":"2025-05-29T06:33:59.000Z","severityValue":3,"ruleUuid":"0b302247-4c76-47d6-9ca4-9f4eeb8984b3","owaspAsvs-4.0":["12.1.1"],"scope":"MAIN","dirPath":"pokedex","key":"d76453ad-27a7-4479-91b8-de50d1b291e9","issueCreatedAt":"2023-04-17T16:11:32.000Z","severity":"CRITICAL","stig-ASD_V5R3":[],"vulnerabilityProbability":2,"owaspTop10":["a1"],"filePath":"pokedex/helper.py","cleanCodeAttributeCategory":"CONSISTENT","authorLogin":"guillaume.dequenne@sonarsource.com","join_issues":{"name":"issue","parent":"auth_d5441aa5-cb1e-4f5b-a3c5-453189797dac"},"impacts":[],"issueClosedAt":null,"tags":["cwe","regex"],"owaspMobileTop10-2024":[],"cwe":["400","1333"],"codeVariants":[],"sonarsourceSecurity":"dos","component":"79203a79-b4b0-437f-813d-9bb784f1c842","indexType":"issue","prioritizedRule":false,"pciDss-4.0":[],"pciDss-3.2":[],"assignee":null,"owaspTop10-2021":[],"isMainBranch":true,"status":"TO_REVIEW"}\n'\n# HTTP/1.1 200 OK\n# X-elastic-product: Elasticsearch\n# content-type: application/vnd.elasticsearch+json;compatible-with=7\n# Transfer-Encoding: chunked\n#\n# {"errors":false,"took":0,"items":[{"index":{"_index":"issues","_id":"287fea52-9a6f-42eb-8c4b-f7e503acb1ad","_version":1,"result":"created","_shards":{"total":1,"successful":1,"failed":0},"_seq_no":1,"_primary_term":1,"_type":"_doc","status":201}},{"index":{"_index":"issues","_id":"3225692d-66e7-4e43-8381-863358ab85ca","_version":1,"result":"created","_shards":{"total":1,"successful":1,"failed":0},"_seq_no":2,"_primary_term":1,"_type":"_doc","status":201}},{"index":{"_index":"issues","_id":"48ea4f24-ded4-4bf0-879a-a0693fe9186d","_version":1,"result":"created","_shards":{"total":1,"successful":1,"failed":0},"_seq_no":3,"_primary_term":1,"_type":"_doc","status":201}},{"index":{"_index":"issues","_id":"9504e412-fc2d-4717-a366-463230b0041d","_version":1,"result":"created","_shards":{"total":1,"successful":1,"failed":0},"_seq_no":4,"_primary_term":1,"_type":"_doc","status":201}},{"index":{"_index":"issues","_id":"a251c2fb-8459-4c21-9f3b-29afa702dbf7","_version":1,"result":"created","_shards":{"total":1,"successful":1,"failed":0},"_seq_no":5,"_primary_term":1,"_type":"_doc","status":201}},{"index":{"_index":"issues","_id":"ac9cb449-444e-4b54-b112-335daef82cbf","_version":1,"result":"created","_shards":{"total":1,"successful":1,"failed":0},"_seq_no":6,"_primary_term":1,"_type":"_doc","status":201}},{"index":{"_index":"issues","_id":"c746e291-ee64-4592-9afa-9884747d8935","_version":1,"result":"created","_shards":{"total":1,"successful":1,"failed":0},"_seq_no":7,"_primary_term":1,"_type":"_doc","status":201}},{"index":{"_index":"issues","_id":"d76453ad-27a7-4479-91b8-de50d1b291e9","_version":1,"result":"created","_shards":{"total":1,"successful":1,"failed":0},"_seq_no":8,"_primary_term":1,"_type":"_doc","status":201}}]}

Could you try running this command from within your Docker container and see if you get a connection refused, or a “real” error (I would expect a 400 if it’s working well)

curl -iX POST 'http://localhost:9001/_bulk?timeout=1m' -d $'{}\\n\\n' -H 'Content-Type: application/vnd.elasticsearch+json'

Hi Colin,
this is my output:

docker exec -it sonarqube bash
sonarqube@sonarqube:/opt/sonarqube$ curl -iX POST 'http://localhost:9001/_bulk?timeout=1m' -d $'{}\\n\\n' -H 'Content-Type: application/vnd.elasticsearch+json'
HTTP/1.1 400 Bad Request
X-elastic-product: Elasticsearch
content-type: application/vnd.elasticsearch+json
content-length: 245

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"The bulk request must be terminated by a newline [\\n]"}],"type":"illegal_argument_exception","reason":"The bulk request must be terminated by a newline [\\n]"},"status":400}

Hi guys,
I fixed the problem.
My solution was simple - I used image 2025.1-developer and 15.13 for postgres. This combination is ok.

I tried most of combinations (2025.2/3-developer and 15/1617 for postgres) and I always got this errors.

Maybe this helps somebody.