question

KenMann-7426 avatar image
0 Votes"
KenMann-7426 asked BruceZhang-MSFT commented

IIS Internal Server Error - Failed Request Logs AUTHENTICATE_REQUEST

Intermittently getting an error 500 on API calls, a couple times a day. I enabled Failed Request Tracing and get the severity level warning entry below. If anyone could provide insight as to where to look, I'd be grateful. The call that fails (from what I'm told) works successfully when tried again. But I have not been able to replicate the issue myself.


MODULE_SET_RESPONSE_ERROR_STATUS

ModuleName
__DynamicModule_Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_a7266c5b-d5fe-462a-ac35-965e391233f2

Notification
AUTHENTICATE_REQUEST

HttpStatus
500

HttpReason
Internal Server Error

HttpSubStatus
0

ErrorCode
The operation completed successfully.
(0x0)








windows-server-iis
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @KenMann-7426 ,

Did you enable any authentication on IIS? Please try to edit anonymous authentication credentials. Change it to application pool identity or adminstrator.
116974-2021-07-22-144657.jpg


0 Votes 0 ·

I am using Anonymous Authentication, and it is set up to use the Application Pool Identity.

Are there any additional logging I can enable to help debug this?

0 Votes 0 ·

1 Answer

KenMann-7426 avatar image
0 Votes"
KenMann-7426 answered BruceZhang-MSFT commented

I am using Anonymous Authentication, and it is set up to use the Application Pool Identity.

Are there any additional logging I can enable to help debug this?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @KenMann-7426 ,

Yes, you can get additional logging in windows event viewer. Event viewer will record HResult code. It can provide more detailed information than http status code. About HResult, you can search on this docs.


0 Votes 0 ·