Camunda 8 Self Managed Run just hangs

I’ve downloaded Camunda 8 from Self-Managed download | Sign Up - Camunda (Windows 64bit.zip) and installed to c:\camunda and also installed JDK 23.0.1 but when I start it just hangs, see below:

C:\Camunda>c8run.exe start
Command: start
Java version is 23.0.1
Starting Elasticsearch 8.13.4…
(Hint: you can find the log output in the ‘elasticsearch.log’ file in the ‘log’ folder of your distribution.)
Process id 25376
Waiting for Elasticsearch to start. 12 retries left
Waiting for Elasticsearch to start. 11 retries left
Waiting for Elasticsearch to start. 10 retries left
Waiting for Elasticsearch to start. 9 retries left
Elasticsearch has successfully been started.
C:\Camunda\camunda-zeebe-8.6.2\bin\camunda --spring.config.location=C:\Camunda\configuration
Waiting for Camunda to start. 24 retries left

When I check the Connectors.log I can see the Connection Refused error:
2024-11-17T08:54:59.337Z WARN 3416 — [ult-executor-33] io.camunda.zeebe.client.job.poller : Failed to activate jobs for worker AWS Textract and job type io.camunda:aws-textract:1

io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
at io.grpc.Status.asRuntimeException(Status.java:533)
at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:481)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:564)
at io.grpc.internal.ClientCallImpl.access$100(ClientCallImpl.java:72)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:729)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:710)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: getsockopt: /127.0.0.1:26500
Caused by: java.net.ConnectException: Connection refused: getsockopt
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:1062)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:336)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:339)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1575)

The following variables are all set correctly:
JAVA_HOME=JDK 23.0.1 folder
JAVA_VERSION=23.0.1
PATH=includes JDK 23.0.1\bin folder at start

Any help you can give me to get Camunda 8 running on Windows would be appreciated. Thanks

Hi @paul.fearn, welcome to the forums! The first suggestion we have is to try version 8.6.5 instead of 8.6.2. Here’s a direct download link: download. As with all software, small bugs get patched as we go, so trying the latest version may (hopefully!) resolve the issue!

ElasticSearch did not start on time, As the log stated, please check the elasticsearch logs exists in same logs folder as zeebe

The log did say that ElasticSearch started, see below (there doesn’t appear to be any way for me to attach the logs to this ticket):
Process id 25376
Waiting for Elasticsearch to start. 12 retries left
Waiting for Elasticsearch to start. 11 retries left
Waiting for Elasticsearch to start. 10 retries left
Waiting for Elasticsearch to start. 9 retries left
Elasticsearch has successfully been started.

Full details of elasticsearch.log below for reference:

arning: ignoring JAVA_HOME=C:\Camunda\jdk-23.0.1; using bundled JDK
Nov 22, 2024 8:23:42 AM sun.util.locale.provider.LocaleProviderAdapter
WARNING: COMPAT locale provider will be removed in a future release
[2024-11-22T08:23:46,068][INFO ][o.e.n.NativeAccess ] [DESKTOP-HOMEPC] Using [jdk] native provider and native methods for [Windows]
[2024-11-22T08:23:46,507][INFO ][o.a.l.i.v.PanamaVectorizationProvider] [DESKTOP-HOMEPC] Java vector incubator API enabled; uses preferredBitSize=256; FMA enabled
[2024-11-22T08:23:47,770][INFO ][o.e.n.Node ] [DESKTOP-HOMEPC] version[8.13.4], pid[1732], build[zip/da95df118650b55a500dcc181889ac35c6d8da7c/2024-05-06T22:04:45.107454559Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/21.0.2/21.0.2+13-58]
[2024-11-22T08:23:47,773][INFO ][o.e.n.Node ] [DESKTOP-HOMEPC] JVM home [C:\Camunda\elasticsearch-8.13.4\jdk], using bundled JDK [true]
[2024-11-22T08:23:47,773][INFO ][o.e.n.Node ] [DESKTOP-HOMEPC] 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, --enable-native-access=org.elasticsearch.nativeaccess, -XX:ReplayDataFile=logs/replay_pid%p.log, -Des.distribution.type=zip, -XX:+UseG1GC, -Djava.io.tmpdir=C:\Users\User\AppData\Local\Temp\elasticsearch, --add-modules=jdk.incubator.vector, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,level,pid,tags:filecount=32,filesize=64m, -Xms1g, -Xmx1g, -XX:MaxDirectMemorySize=536870912, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, --module-path=C:\Camunda\elasticsearch-8.13.4\lib, --add-modules=jdk.net, --add-modules=ALL-MODULE-PATH, -Djdk.module.main=org.elasticsearch.server]
[2024-11-22T08:23:47,774][INFO ][o.e.n.Node ] [DESKTOP-HOMEPC] Default Locale [en_GB]
[2024-11-22T08:24:03,153][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [repository-url]
[2024-11-22T08:24:03,153][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [rest-root]
[2024-11-22T08:24:03,153][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-core]
[2024-11-22T08:24:03,154][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-redact]
[2024-11-22T08:24:03,154][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [ingest-user-agent]
[2024-11-22T08:24:03,154][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-async-search]
[2024-11-22T08:24:03,154][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-monitoring]
[2024-11-22T08:24:03,154][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [repository-s3]
[2024-11-22T08:24:03,154][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-analytics]
[2024-11-22T08:24:03,154][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-ent-search]
[2024-11-22T08:24:03,155][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-autoscaling]
[2024-11-22T08:24:03,155][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [lang-painless]
[2024-11-22T08:24:03,155][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-ml]
[2024-11-22T08:24:03,155][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [lang-mustache]
[2024-11-22T08:24:03,155][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [legacy-geo]
[2024-11-22T08:24:03,155][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-ql]
[2024-11-22T08:24:03,155][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [rank-rrf]
[2024-11-22T08:24:03,156][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [analysis-common]
[2024-11-22T08:24:03,156][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [health-shards-availability]
[2024-11-22T08:24:03,156][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [transport-netty4]
[2024-11-22T08:24:03,156][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [aggregations]
[2024-11-22T08:24:03,156][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [ingest-common]
[2024-11-22T08:24:03,156][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [frozen-indices]
[2024-11-22T08:24:03,157][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-identity-provider]
[2024-11-22T08:24:03,157][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-shutdown]
[2024-11-22T08:24:03,157][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-text-structure]
[2024-11-22T08:24:03,157][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [snapshot-repo-test-kit]
[2024-11-22T08:24:03,157][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [ml-package-loader]
[2024-11-22T08:24:03,157][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [kibana]
[2024-11-22T08:24:03,157][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [constant-keyword]
[2024-11-22T08:24:03,157][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-logstash]
[2024-11-22T08:24:03,158][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-ccr]
[2024-11-22T08:24:03,158][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-graph]
[2024-11-22T08:24:03,158][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-esql]
[2024-11-22T08:24:03,158][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [parent-join]
[2024-11-22T08:24:03,158][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [counted-keyword]
[2024-11-22T08:24:03,158][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-enrich]
[2024-11-22T08:24:03,158][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [repositories-metering-api]
[2024-11-22T08:24:03,159][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [transform]
[2024-11-22T08:24:03,159][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [repository-azure]
[2024-11-22T08:24:03,159][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [repository-gcs]
[2024-11-22T08:24:03,159][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [spatial]
[2024-11-22T08:24:03,159][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [apm]
[2024-11-22T08:24:03,159][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [mapper-extras]
[2024-11-22T08:24:03,159][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [mapper-version]
[2024-11-22T08:24:03,159][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-rollup]
[2024-11-22T08:24:03,159][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [percolator]
[2024-11-22T08:24:03,160][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [data-streams]
[2024-11-22T08:24:03,160][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-stack]
[2024-11-22T08:24:03,160][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [rank-eval]
[2024-11-22T08:24:03,160][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [reindex]
[2024-11-22T08:24:03,160][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-security]
[2024-11-22T08:24:03,160][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [blob-cache]
[2024-11-22T08:24:03,160][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [searchable-snapshots]
[2024-11-22T08:24:03,160][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-slm]
[2024-11-22T08:24:03,161][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [snapshot-based-recoveries]
[2024-11-22T08:24:03,161][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-watcher]
[2024-11-22T08:24:03,161][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [old-lucene-versions]
[2024-11-22T08:24:03,161][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-ilm]
[2024-11-22T08:24:03,161][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-inference]
[2024-11-22T08:24:03,161][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-voting-only-node]
[2024-11-22T08:24:03,161][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-deprecation]
[2024-11-22T08:24:03,161][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-fleet]
[2024-11-22T08:24:03,162][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-aggregate-metric]
[2024-11-22T08:24:03,162][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-downsample]
[2024-11-22T08:24:03,162][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-profiling]
[2024-11-22T08:24:03,162][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [ingest-geoip]
[2024-11-22T08:24:03,162][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-write-load-forecaster]
[2024-11-22T08:24:03,162][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [search-business-rules]
[2024-11-22T08:24:03,162][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [ingest-attachment]
[2024-11-22T08:24:03,162][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [wildcard]
[2024-11-22T08:24:03,163][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-apm-data]
[2024-11-22T08:24:03,163][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [unsigned-long]
[2024-11-22T08:24:03,163][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-sql]
[2024-11-22T08:24:03,163][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [runtime-fields-common]
[2024-11-22T08:24:03,163][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-async]
[2024-11-22T08:24:03,163][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [vector-tile]
[2024-11-22T08:24:03,163][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [lang-expression]
[2024-11-22T08:24:03,163][INFO ][o.e.p.PluginsService ] [DESKTOP-HOMEPC] loaded module [x-pack-eql]
[2024-11-22T08:24:04,053][INFO ][o.e.e.NodeEnvironment ] [DESKTOP-HOMEPC] using [1] data paths, mounts [[(C:)]], net usable_space [92.5gb], net total_space [221.7gb], types [NTFS]
[2024-11-22T08:24:04,054][INFO ][o.e.e.NodeEnvironment ] [DESKTOP-HOMEPC] heap size [1gb], compressed ordinary object pointers [true]
[2024-11-22T08:24:04,617][INFO ][o.e.n.Node ] [DESKTOP-HOMEPC] node name [DESKTOP-HOMEPC], node ID [CBOE9fchTmi6MTBtDDHdDA], cluster name [elasticsearch], roles [data_frozen, ml, data_hot, transform, data_content, data_warm, master, remote_cluster_client, data, data_cold, ingest]
[2024-11-22T08:24:08,896][INFO ][o.e.f.FeatureService ] [DESKTOP-HOMEPC] Registered local node features [data_stream.rollover.lazy, desired_node.version_deprecated, features_supported, health.dsl.info, health.extended_repository_indicator, usage.data_tiers.precalculate_stats]
[2024-11-22T08:24:09,901][INFO ][o.e.t.a.APM ] [DESKTOP-HOMEPC] Sending apm metrics is disabled
[2024-11-22T08:24:09,902][INFO ][o.e.t.a.APM ] [DESKTOP-HOMEPC] Sending apm tracing is disabled
[2024-11-22T08:24:09,936][INFO ][o.e.x.s.Security ] [DESKTOP-HOMEPC] Security is disabled
[2024-11-22T08:24:10,297][INFO ][o.e.x.w.Watcher ] [DESKTOP-HOMEPC] Watcher initialized components at 2024-11-22T08:24:10.297Z
[2024-11-22T08:24:10,376][INFO ][o.e.x.p.ProfilingPlugin ] [DESKTOP-HOMEPC] Profiling is enabled
[2024-11-22T08:24:10,395][INFO ][o.e.x.p.ProfilingPlugin ] [DESKTOP-HOMEPC] profiling index templates will not be installed or reinstalled
[2024-11-22T08:24:10,400][INFO ][o.e.x.a.APMPlugin ] [DESKTOP-HOMEPC] APM ingest plugin is disabled
[2024-11-22T08:24:10,920][INFO ][o.e.t.n.NettyAllocator ] [DESKTOP-HOMEPC] 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=1gb}]
[2024-11-22T08:24:10,945][INFO ][o.e.i.r.RecoverySettings ] [DESKTOP-HOMEPC] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2024-11-22T08:24:10,988][INFO ][o.e.d.DiscoveryModule ] [DESKTOP-HOMEPC] using discovery type [multi-node] and seed hosts providers [settings]
[2024-11-22T08:24:13,050][INFO ][o.e.n.Node ] [DESKTOP-HOMEPC] initialized
[2024-11-22T08:24:13,051][INFO ][o.e.n.Node ] [DESKTOP-HOMEPC] starting …
[2024-11-22T08:24:13,092][INFO ][o.e.x.s.c.f.PersistentCache] [DESKTOP-HOMEPC] persistent cache index loaded
[2024-11-22T08:24:13,093][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [DESKTOP-HOMEPC] deprecation component started
[2024-11-22T08:24:13,243][INFO ][o.e.t.TransportService ] [DESKTOP-HOMEPC] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2024-11-22T08:24:13,722][WARN ][o.e.b.BootstrapChecks ] [DESKTOP-HOMEPC] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured; for more information see [Discovery configuration check | Elasticsearch Guide [8.13] | Elastic]
[2024-11-22T08:24:13,723][INFO ][o.e.c.c.ClusterBootstrapService] [DESKTOP-HOMEPC] this node is locked into cluster UUID [PU-gWsyJTseqoohhrGIzZw] and will not attempt further cluster bootstrapping
[2024-11-22T08:24:13,731][INFO ][o.e.c.c.ClusterBootstrapService] [DESKTOP-HOMEPC] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2024-11-22T08:24:13,869][INFO ][o.e.c.s.MasterService ] [DESKTOP-HOMEPC] elected-as-master ([1] nodes joined in term 4)[FINISH_ELECTION, {DESKTOP-HOMEPC}{CBOE9fchTmi6MTBtDDHdDA}{wfUx6z-gSgOQ6aJm1YD0Dg}{DESKTOP-HOMEPC}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.13.4}{7000099-8503000} completing election], term: 4, version: 249, delta: master node changed {previous , current [{DESKTOP-HOMEPC}{CBOE9fchTmi6MTBtDDHdDA}{wfUx6z-gSgOQ6aJm1YD0Dg}{DESKTOP-HOMEPC}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.13.4}{7000099-8503000}]}
[2024-11-22T08:24:13,992][INFO ][o.e.c.s.ClusterApplierService] [DESKTOP-HOMEPC] master node changed {previous , current [{DESKTOP-HOMEPC}{CBOE9fchTmi6MTBtDDHdDA}{wfUx6z-gSgOQ6aJm1YD0Dg}{DESKTOP-HOMEPC}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.13.4}{7000099-8503000}]}, term: 4, version: 249, reason: Publication{term=4, version=249}
[2024-11-22T08:24:14,026][INFO ][o.e.c.f.AbstractFileWatchingService] [DESKTOP-HOMEPC] starting file watcher …
[2024-11-22T08:24:14,037][INFO ][o.e.c.f.AbstractFileWatchingService] [DESKTOP-HOMEPC] file settings service up and running [tid=69]
[2024-11-22T08:24:14,041][INFO ][o.e.c.c.NodeJoinExecutor ] [DESKTOP-HOMEPC] node-join: [{DESKTOP-HOMEPC}{CBOE9fchTmi6MTBtDDHdDA}{wfUx6z-gSgOQ6aJm1YD0Dg}{DESKTOP-HOMEPC}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.13.4}{7000099-8503000}] with reason [completing election]
[2024-11-22T08:24:14,045][INFO ][o.e.h.AbstractHttpServerTransport] [DESKTOP-HOMEPC] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2024-11-22T08:24:14,057][INFO ][o.e.n.Node ] [DESKTOP-HOMEPC] started {DESKTOP-HOMEPC}{CBOE9fchTmi6MTBtDDHdDA}{wfUx6z-gSgOQ6aJm1YD0Dg}{DESKTOP-HOMEPC}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.13.4}{7000099-8503000}{xpack.installed=true, transform.config_version=10.0.0, ml.config_version=12.0.0}
[2024-11-22T08:24:14,372][INFO ][o.e.l.ClusterStateLicenseService] [DESKTOP-HOMEPC] license [f76c0a2a-d11f-44f3-b81a-951e66ea9b56] mode [basic] - valid
[2024-11-22T08:24:14,374][INFO ][o.e.g.GatewayService ] [DESKTOP-HOMEPC] recovered [37] indices into cluster_state
[2024-11-22T08:24:14,607][INFO ][o.e.h.n.s.HealthNodeTaskExecutor] [DESKTOP-HOMEPC] Node [{DESKTOP-HOMEPC}{CBOE9fchTmi6MTBtDDHdDA}] is selected as the current health node.
[2024-11-22T08:24:17,629][INFO ][o.e.c.r.a.AllocationService] [DESKTOP-HOMEPC] current.health=“GREEN” message=“Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[operate-event-8.3.0_][0], [operate-variable-8.3.0_][0], [operate-incident-8.3.1_][0]]]).” previous.health=“RED” reason=“shards started [[operate-event-8.3.0_][0], [operate-variable-8.3.0_][0], [operate-incident-8.3.1_][0]]”

I did also notice another error in the Camunda.log file, see extract below:
2024-11-22 08:24:59.903 [main] ERROR
io.camunda.application - Failed to start application with message: Failed to start bean ‘webServerStartStop’
org.springframework.context.ApplicationContextException: Failed to start bean ‘webServerStartStop’
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:288) ~[spring-context-6.1.13.jar:6.1.13]
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:472) ~[spring-context-6.1.13.jar:6.1.13]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:257) ~[spring-context-6.1.13.jar:6.1.13]
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:202) ~[spring-context-6.1.13.jar:6.1.13]
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:990) ~[spring-context-6.1.13.jar:6.1.13]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:628) ~[spring-context-6.1.13.jar:6.1.13]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) [spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) [spring-boot-3.3.4.jar:3.3.4]
at io.camunda.application.StandaloneCamunda.main(StandaloneCamunda.java:60) [camunda-zeebe-8.6.2.jar:8.6.2]
Caused by: org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
at org.springframework.boot.web.server.PortInUseException.lambda$throwIfPortBindingException$0(PortInUseException.java:70) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.server.PortInUseException.lambda$ifPortBindingException$1(PortInUseException.java:85) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.server.PortInUseException.ifCausedBy(PortInUseException.java:103) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.server.PortInUseException.ifPortBindingException(PortInUseException.java:82) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.server.PortInUseException.throwIfPortBindingException(PortInUseException.java:69) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.start(TomcatWebServer.java:250) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:44) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:285) ~[spring-context-6.1.13.jar:6.1.13]
… 11 more
Caused by: java.lang.IllegalArgumentException: standardService.connector.startFailed
at org.apache.catalina.core.StandardService.addConnector(StandardService.java:222) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.addPreviouslyRemovedConnectors(TomcatWebServer.java:310) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.start(TomcatWebServer.java:236) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:44) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:285) ~[spring-context-6.1.13.jar:6.1.13]
… 11 more
Caused by: org.apache.catalina.LifecycleException: Protocol handler start failed
at org.apache.catalina.connector.Connector.startInternal(Connector.java:1061) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.apache.catalina.core.StandardService.addConnector(StandardService.java:219) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.addPreviouslyRemovedConnectors(TomcatWebServer.java:310) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.start(TomcatWebServer.java:236) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:44) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:285) ~[spring-context-6.1.13.jar:6.1.13]
… 11 more
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at java.base/sun.nio.ch.Net.bind(Net.java:565) ~[?:?]
at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:344) ~[?:?]
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:301) ~[?:?]
at org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:239) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:194) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1304) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:1390) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:644) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.apache.catalina.connector.Connector.startInternal(Connector.java:1058) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.apache.catalina.core.StandardService.addConnector(StandardService.java:219) ~[tomcat-embed-core-10.1.30.jar:10.1.30]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.addPreviouslyRemovedConnectors(TomcatWebServer.java:310) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.start(TomcatWebServer.java:236) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:44) ~[spring-boot-3.3.4.jar:3.3.4]
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:285) ~[spring-context-6.1.13.jar:6.1.13]
… 11 more

Tried 8.6.5 version and got exactly the same result:
C:\Camunda865>c8run.exe start
Command: start
Java version is 23.0.1
Starting Elasticsearch 8.13.4…
(Hint: you can find the log output in the ‘elasticsearch.log’ file in the ‘log’ folder of your distribution.)
Process id 13716
Waiting for Elasticsearch to start. 12 retries left
Waiting for Elasticsearch to start. 11 retries left
Waiting for Elasticsearch to start. 10 retries left
Elasticsearch has successfully been started.
Waiting for Camunda to start. 24 retries left

I found the same errors in the connectors.log and the camunda.log as per the details on this ticket.

This is the issue. C8Run uses port 8080, this was used by some other application apart from C8Run. Please make sure port is not used before starting C8Run.

1 Like

Big thanks for your help.

I used gthe windows commands below to identify the process that was listening on port 8080 and then uninstalled it.

– Use Netstat command to find the process id that is listening on port 8080
netstat -aon | findstr 8080
– Use Tasklist command to find details of the process that is listening on port 8080
tasklist | findstr 4460

In my case, it was the following process that was consuming port 8080 and blocking Camunda from starting:

Minitool Shadow Maker

1 Like

Thank you. Good to hear.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.