Score:0

Occasional 403 error on IIS

wf flag

Using IIS 10 on Windows Server 2019. I am not a server admin, I am a developer who manages sites on the rented server.

I have a report that runs through names, and via a client side scripts, access an ajax file to check if the person's status is valid. So, when the page loads, ~100 ajax calls could be run. On some servers, this report seems to complete perfectly (with 100 names checked), but on the current server - after a few successful calls, the rest (like 90% of them) are rejects with a generic 403 error - 403 Forbidden.

When I run each of these individual links manually - they load perfectly. Maybe its some kind of a traffic block - when a high number (100) of requests to the same file (with different parameters) are sent - that some are blocked? Where would I be able to check this?

Not sure if this is related, but on the odd case it might be - I'll mention it: on Chrome, sometimes all css/js files linked in the header of the site, are rejected with the same 403 error. Which obviously messes the site. on Firefox, there is no similar issue, even the same exact pages.

Thanks

UPDATE: Uploading what seems to come up in the Trace. the substatus of 501 does not seem very telling?

enter image description here

Lex Li avatar
vn flag
Try to learn how to manage IIS and troubleshoot common issues like that. FRT is usually the start, https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/health-diagnostic-performance/troubleshoot-php-with-failed-request-tracing
kneidels avatar
wf flag
Thank you @LexLi - I have updated the question with what came up in the FRT.
Lex Li avatar
vn flag
https://learn.microsoft.com/en-US/troubleshoot/developer/webapps/iis/www-administration-management/http-status-code You can learn about 403.501 from here.
kneidels avatar
wf flag
@LexLi thank you. If you would like to submit as an answer, I will accept, along with solution options found at: https://www.itnota.com/solving-intermittent-403-501-error-iis/
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.