iisnode
iisnode copied to clipboard
iisnode (or IIS in general) sometimes routes requests to static file?
Can someone help me interpret a problem I'm sometimes seeing that results in 404 errors being logged by IIS?
I have an endpoint POST /event that works. However sometimes I'm getting errors generated in FREB that look like this:
Note how it appears to be looking for the file: "D:\home\site\wwwroot\event" instead of posting to my express endpoint.
398. | FILE_CACHE_ACCESS_START | FileName="D:\home\site\wwwroot\event", UserName="amazon-events-tccus-prod", DomainName="IIS APPPOOL" | 22:05:33.694
-- | -- | -- | --
399. | FILE_CACHE_ACCESS_END | Successful="false", FileFromCache="false", FileAddedToCache="false", FileDirmoned="true", LastModCheckErrorIgnored="true", ErrorCode="The system cannot find the file specified. (0x80070002)", LastModifiedTime="" | 22:05:33.694
400. | NOTIFY_MODULE_START | ModuleName="DWASModule", Notification="AUTHORIZE_REQUEST", fIsPostNotification="false" | 22:05:33.694
401. | NOTIFY_MODULE_END | ModuleName="DWASModule", Notification="AUTHORIZE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" | 22:05:33.694
402. | NOTIFY_MODULE_START | ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotification="false" | 22:05:33.694
403. | OUTPUT_CACHE_LOOKUP_START | | 22:05:33.694
404. | OUTPUT_CACHE_LOOKUP_END | Result="NOT_FOUND" | 22:05:33.694
405. | NOTIFY_MODULE_END | ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" | 22:05:33.694
406. | NOTIFY_MODULE_START | ModuleName="ApplicationRequestRouting", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" | 22:05:33.694
407. | NOTIFY_MODULE_END | ModuleName="ApplicationRequestRouting", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" | 22:05:33.694
408. | NOTIFY_MODULE_START | ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" | 22:05:33.694
409. | NOTIFY_MODULE_END | ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" | 22:05:33.694
410. | NOTIFY_MODULE_START | ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" | 22:05:33.694
411. | NOTIFY_MODULE_END | ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" | 22:05:33.694
412. | NOTIFY_MODULE_START | ModuleName="DWASModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" | 22:05:33.694
413. | NOTIFY_MODULE_END | ModuleName="DWASModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" | 22:05:33.694
414. | NOTIFY_MODULE_START | ModuleName="ManagedPipelineHandler", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" | 22:05:33.694
415. | NOTIFY_MODULE_END | ModuleName="ManagedPipelineHandler", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" | 22:05:33.694
416. | MODULE_SET_RESPONSE_ERROR_STATUSWarning | ModuleName="IIS Web Core", Notification="MAP_REQUEST_HANDLER", HttpStatus="404", HttpReason="Not Found", HttpSubStatus="0", ErrorCode="The system cannot find the file specified. (0x80070002)", ConfigExceptionInfo="" | 22:05:33.694
@jzwack post the issue on https://github.com/Azure/iisnode
any helpful info?