Unable to create Rancher cluster

Configuration:

Ubuntu 22.04
Docker version 24.0.4
rke cli version 1.6.2
helm version 3.16.1
kubernetes_version: v1.27.6-rancher1-1

I am able to create the cluster by running
rke up --config cluster.yaml
after creating the cluster i am using helm to install the rancher for that i am following the below commands

helm repo add rancher-stable https://releases.rancher.com/server-charts/stable

helm repo update

kubectl create namespace rancher

helm repo add jetstack https://charts.jetstack.io

helm repo update

kubectl create namespace cert-manager

kubectl label namespace cert-manager certmanager.k8s. io /disable-validation=true
.helm install cert-manager jetstack/cert-manager --namespace cert-manager --set crds.enabled=true

kubectl apply -f cluster-issuers.yaml

helm install rancher rancher-stable/rancher --namespace rancher --set hostname= domain .com --set ingress.tls.source=letsEncrypt --set letsEncrypt.email= mail .com --set letsEncrypt.ingress.class=nginx --set letsEncrypt.environment=production --set bootstrapPassword=password

after the rancher pods are up and running i am not able to browse Rancher UI
and i can see no Nginx/ingress errors in the logs

by running the following command

kubectl -n rancher logs -l app=rancher

i can see error as like below

2024/10/08 13:33:57 [ERROR] error syncing ‘fleet-local/local’: handler cluster-create: server url is missing, can’t generate kubeconfig for fleet import cluster, requeuing

Can some one help me in this