XMLHttpRequest blocked while using ingress

I have a aks cluster in that UI and backend services are there.it is working fine when there is no ssl for UI service.but when I enable ssl through ingress.i am getting XMLHttpRequest error and request to backend is getting blocked

Can anybody help me in this