r/Blazor • • 19d ago

Blazor on shared hosting

FYI - I have a Blazor web site on shared hosting. Recently it began returning 403 errors when loading several of the framework files on the home page. It was hard to troubleshoot since I thought it could be my error. Finally contacted the hoster thinking they may have added more filtering trying to trap PHP exploits. I don't know if that was the case but they disabled HTTP/2 and adjusted something about dynamic IP rules and the problem disapeared.

2 Upvotes

1 comment sorted by

2

u/sloppykrackers 12d ago

You were unobtrusively rate limited. http/1.1 forces the browser to limit itself to 6 concurrent connections per domain. probably the _framework calls in the beginning of app start.

Use a CDN for static assets, away from the shared host.