Streamlit app stuck at "Please Wait..."

I have deployed a streamlit app on kubernetes but on accessing the application via ingress the app is stuck at “Please wait…”. When I use port-forward the application is running fine. I have tried solutions added in article but could not resolve the issue. On checking logs of the ingress controller I am getting “GET /_stcore/stream HTTP/1.1” 400. Can anyone please help me find what I am missing?

I am getting the same issue, I am able to run the app but when i use azure app proxy infront of the app, it goes into Please wait forever.