Blazor wasm not working on cloudflare Pages

I’m keep getting error: “This site can’t be reached” after refreshing the published page.
The first load (or after cleaning the site caches) it successfully load first time, but all rest loads bring me that error.

I have followed your instructions from this page:

I have added a custom domain, own DNS and added the CNAME successfully. Both custom domain and the url which created by cloudflare Pages giving the same results.

I took clean out of the box template from visual studio of Blazor webassembly with Progressive Web Application.

The app run well on first load, then on page refresh i get this error. If i clean site caches then again same. First load is working but all other loads/refreshing brings me that error.

Any idea why this error is happening??

I suspect it might connect to redirect issues or something with the caches.

I appreciate your help :slight_smile: