Phoenix application is continuously refreshing after adding domain name

I deployed phoenix liveview app after that I add a domain name certificate. When I opened the application on the new domain, the website keeps on refreshing. What is the reason for this problem?

This is likely an Phoenix configuration issue.

Take a look at this old case: