Error message in elasticsearch

When i go to kibana from the webaddress http://xxxx:5601 i get this error message
{"statusCode":503,"error":"Service Unavailable","message":"License information could not be obtained from Elasticsearch. Please check the logs for further details."}

When i check the logs i can see the following

[root@ibcinsmartsd12v elasticsearch]# tail -f elasticsearch.log
[2025-07-09T12:12:10,897][WARN ][o.e.m.j.JvmGcMonitorService] [ibcinsmartsd12v] [gc][young][1488][23] duration [5.9s], collections [1]/[9s], total [5.9s]/[14.5s], memory [321.7mb]->[146.7mb]/[3.7gb], all_pools {[CodeHeap 'non-nmethods'] [2.5mb]->[2.5mb]/[5.5mb]}{[Metaspace] [152.7mb]->[152.7mb]/[0b]}{[CodeHeap 'profiled nmethods'] [32mb]->[32mb]/[117.2mb]}{[Compressed Class Space] [21.3mb]->[21.3mb]/[1gb]}{[young] [176mb]->[0b]/[0b]}{[old] [134mb]->[134mb]/[3.7gb]}{[survivor] [11.7mb]->[12.7mb]/[0b]}{[CodeHeap 'non-profiled nmethods'] [11.2mb]->[11.2mb]/[117.2mb]}
[2025-07-09T12:12:10,901][WARN ][o.e.m.j.JvmGcMonitorService] [ibcinsmartsd12v] [gc][1488] overhead, spent [5.9s] collecting in the last [9s]
[2025-07-09T12:13:13,574][WARN ][o.e.t.ThreadPool         ] [ibcinsmartsd12v] execution of [ReschedulingRunnable{runnable=org.elasticsearch.monitor.jvm.JvmGcMonitorService$1@33c2697f, interval=1s}] took [6390ms] which is above the warn threshold of [5000ms]
[2025-07-09T12:13:24,514][WARN ][o.e.t.ThreadPool         ] [ibcinsmartsd12v] execution of [ReschedulingRunnable{runnable=org.elasticsearch.monitor.jvm.JvmGcMonitorService$1@33c2697f, interval=1s}] took [5021ms] which is above the warn threshold of [5000ms]
[2025-07-09T12:13:27,940][WARN ][o.e.t.TransportService   ] [ibcinsmartsd12v] Received response for a request that has timed out, sent [46.9s/46997ms] ago, timed out [31.1s/31194ms] ago, action [indices:monitor/stats[n]], node [{ibcinsmartsd12v}{VwTRm3C6SO6ToPSB9WpVcA}{R28fQshJSS6EDbVVHBbBnw}{ibcinsmartsd12v}{127.0.0.1}{127.0.0.1:9300}{cdfhilmrstw}{8.17.3}{7000099-8521000}{ml.allocated_processors_double=4.0, ml.max_jvm_size=4072669184, ml.config_version=12.0.0, xpack.installed=true, transform.config_version=10.0.0, ml.machine_memory=8145580032, ml.allocated_processors=4}], id [5215]
[2025-07-09T12:13:27,002][WARN ][o.e.c.InternalClusterInfoService] [ibcinsmartsd12v] failed to retrieve shard stats from node [VwTRm3C6SO6ToPSB9WpVcA]
org.elasticsearch.transport.ReceiveTimeoutTransportException: [ibcinsmartsd12v][127.0.0.1:9300][indices:monitor/stats[n]] request_id [5215] timed out after [15803ms]
[2025-07-09T12:13:35,183][WARN ][o.e.t.ThreadPool         ] [ibcinsmartsd12v] execution of [ReschedulingRunnable{runnable=org.elasticsearch.monitor.jvm.JvmGcMonitorService$1@33c2697f, interval=1s}] took [6120ms] which is above the warn threshold of [5000ms]
[2025-07-09T12:13:42,426][WARN ][o.e.t.ThreadPool         ] [ibcinsmartsd12v] execution of [ReschedulingRunnable{runnable=org.elasticsearch.monitor.jvm.JvmGcMonitorService$1@33c2697f, interval=1s}] took [6140ms] which is above the warn threshold of [5000ms]
[2025-07-09T12:14:00,878][WARN ][o.e.t.ThreadPool         ] [ibcinsmartsd12v] execution of [ReschedulingRunnable{runnable=org.elasticsearch.monitor.jvm.JvmGcMonitorService$1@33c2697f, interval=1s}] took [5267ms] which is above the warn threshold of [5000ms]

what does /_cluster/health tell you ? Also /_cat/nodes?v. Please share the outputs.

Please also grep for ERROR in the elasticsearch.log file.