Howdy! I’m not entirely sure if this is a Kirby issue, but I’ve run out of other options for troubleshooting.
Starting yesterday, I’ve started experiencing sporadic 403 errors when trying to load my website. Sometimes it happens consistently, but other times it seems random (I’ll get a 403, then refresh and it loads fine. Then refresh and it’s 403 again). I’m experiencing this on multiple browsers, multiple devices, with WiFi on and off. I’ve cleared my cache and checked on incognito browsers, none of it seems to matter.
Any thoughts on what could be going on?
My hosting provider seemed to think that it was an issue with my ISP, but I have no idea why it would be blocked or how to go about resolving.
Could you post the URL to the site? If you don’t want to post it publicly, send a PM, then we can at least test if we can reproduce the issue. Doesn’t sound like something Kirby related.
Your redirection is not working reliable if there is any. This might also be caused by a misbehaving proxy or load balancer, which might explain the erratic behavior.
I’m currently getting the 403 error again for https. I think this a problem on the server side, not your ISP, and if the server is not under your control, then support should fix this. Maybe they have changed something if the site was running fine until yesterday.
Nevertheless, you should fix these console errors and load your assets via https. Make sure to also clear the /site/cache folder if you are using Kirby’s cache.
Right on. I appreciate y’all taking a look at this decidedly non-Kirby issue. I’ve fixed that asset to load via https, and added c::set('ssl', true); to my config file to make sure that the redirect happens consistently.
The site is currently loading consistently for me, but will talk more with my provider to try to uncover issues on their side.
Seems like htaccess is my main option there. I’ve seen a few different ways of handling the redirect in forums. Do you know if there’s a way that is most appropriate for Kirby?