Problems with icinga2 kickstart wizard

Hi,
I ran into the following error while trying to setup icinga2 director kickstart wizard


when i checked the log, it says:
[2024-03-06 23:07:12 +0000] information/ApiListener: New client connection from [::ffff:10.8.1.220]:56846 (no client certificate)
[2024-03-06 23:07:12 +0000] notice/ApiListener: New HTTP client
[2024-03-06 23:07:12 +0000] information/HttpServerConnection: Request GET /v1/ (from [::ffff:10.8.1.220]:56846), user: root, agent: , status: OK) took 0ms.
[2024-03-06 23:07:13 +0000] debug/HttpUtility: Request body: ‘{“filter”:“obj.package!="director"”,“attrs”:[“endpoints”]}’
[2024-03-06 23:07:13 +0000] information/HttpServerConnection: Request GET /v1/objects/zones (from [::ffff:10.8.1.220]:56846), user: root, agent: , status: OK) took 1ms.
[2024-03-06 23:07:13 +0000] debug/HttpUtility: Request body: ‘{“filter”:“obj.package!="director"”,“attrs”:[“host”,“port”,“log_duration”,“package”,“templates”,“active”]}’
[2024-03-06 23:07:13 +0000] information/HttpServerConnection: Request GET /v1/objects/endpoints (from [::ffff:10.8.1.220]:56846), user: root, agent: , status: OK) took 0ms.
[2024-03-06 23:07:13 +0000] information/HttpServerConnection: HTTP client disconnected (from [::ffff:10.8.1.220]:56846)

Icinga version: 2.14.2
I have api enabled,setup icinga2 node wizard,created database and everything.
What am i doing wrong, how do i fix it ?
BTW i am using icinga2 and icingaweb2 official docker images.

the endpoint name is the name of the endpoint and can differ from the machine name.
xlr500.domain.com vs icinga-master.

the Icinga Host is the host for the director to connect to.
this can be the fqdn if resolvable or the ip address

even when give the host ip , i get the same errror message

what does systemctl status icinga2 say on the host?
is the api feature enabled?
is the api user correct?

service is running,api is enabled,the api user and password all are correct