Arr fails to rewrite url.RSS

1 reply

Last post Jan 07, 2021 08:24 AM by samwu

  • Arr fails to rewrite url.

    Jan 06, 2021 09:55 PM|msarrgroup|LINK

    Using arr url rewrite for a proxy server behind a netscaler load balancer.   Currently using ssl-bridge so cert is on proxy server.  Everything works.  Switched to ssl offloading and 1 of the 12 url rewrite sites failed with 500.0 64 error.

    MODULE_SET_RESPONSE_ERROR_STATUS

    Warning
     ModuleName="IIS Web Core", Notification="BEGIN_REQUEST", HttpStatus="500", HttpReason="Internal Server Error", HttpSubStatus="0", ErrorCode="The I/O operation has been aborted because of either a thread exit or an application request.
     (0x800703e3)", ConfigExceptionInfo="" 

      Response was:

    <h3>There is a problem with the resource you are looking for, and it cannot be displayed.</h3>

    Nothing in event log.  Cannot determine why this 1 site failed yet all the others continued to work fine.  Besides this is just url rewrite so the ssl switch should have no affect on it.

    Any help or suggestions would be appreciated.

    Included part of the failed trace file with identifying info modified.

    1. GENERAL_REQUEST_START SiteId="1", AppPoolId="Proxy7", ConnId="1610646407", RawConnId="0", RequestURL="https://ProxySrv.hosp.wisc.edu:443/Proxy7/internal/Mobile/Unauthenticated/Epic.Mobile.Core.Login", RequestVerb="POST" 02:13:58.995 
    2. PRE_BEGIN_REQUEST_START ModuleName="FailedRequestsTracingModule" 02:13:58.995 
    3. PRE_BEGIN_REQUEST_END ModuleName="FailedRequestsTracingModule", NotificationStatus="NOTIFICATION_CONTINUE" 02:13:58.995 
    4. PRE_BEGIN_REQUEST_START ModuleName="IsapiFilterModule" 02:13:58.995 
    5. FILTER_PREPROC_HEADERS_START  02:13:58.995 
    6. FILTER_START FilterName="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" 02:13:58.995 
    7. GENERAL_SET_REQUEST_HEADER HeaderName="AspFilterSessionId", HeaderValue="", Replace="true" 02:13:58.995 
    8. FILTER_SET_REQ_HEADER HeaderName="AspFilterSessionId:", HeaderValue="" 02:13:58.995 
    9. FILTER_END NotificationStatus="SF_STATUS_REQ_NEXT_NOTIFICATION" 02:13:58.995 
    10. FILTER_PREPROC_HEADERS_END  02:13:58.995 
    11. PRE_BEGIN_REQUEST_END ModuleName="IsapiFilterModule", NotificationStatus="NOTIFICATION_CONTINUE" 02:13:58.995 
    12. PRE_BEGIN_REQUEST_START ModuleName="RewriteModule" 02:13:58.995 
    13. PRE_BEGIN_REQUEST_END ModuleName="RewriteModule", NotificationStatus="NOTIFICATION_CONTINUE" 02:13:58.995 
    14. PRE_BEGIN_REQUEST_START ModuleName="DynamicIpRestrictionModule" 02:13:58.995 
    15. PRE_BEGIN_REQUEST_END ModuleName="DynamicIpRestrictionModule", NotificationStatus="NOTIFICATION_CONTINUE" 02:13:58.995 
    16. GENERAL_ENDPOINT_INFORMATION RemoteAddress="10.151.245.1", RemotePort="32711", LocalAddress="10.151.245.65", LocalPort="443" 02:13:58.995 
    17. GENERAL_REQUEST_HEADERS Headers="Connection: keep-alive
    Content-Length: 715
    Content-Type: application/json; charset=utf-8
    Accept: application/json
    Accept-Encoding: gzip, deflate, br
    Accept-Language: en-us
    Host: ProxySrv.hosp.wisc.edu
    User-Agent: Haiku/9.5.0.2 CFNetwork/1206 Darwin/20.1.0
    Interconnect_ClientTime: Wed, 09 Dec 2020 02:13:58 GMT
    X-Forwarded-For: 68.117.135.22
    " 02:13:58.995 
    18. GENERAL_REQUEST_ENTITY Buffer="{"Password":"xxxxxxt9DD/4Q==","ClientTime":"2020-12-09T02:13:58Z","LoginID":"fake012","ApplicationInfo":{"PrereleaseBuild":false,"DebugBuild":false,"URLScheme":"epichaiku","Identifier":"90","Version":"9.5.0.2","Name":"Haiku","UniqueName":"com.epic.haiku"},"RefreshToken":null,"LocaleInfo":{"DecimalSeparator":"."},"SystemInfo":{"Name":"iOS","Version":"14.2","PlatformID":1},"DeviceInfo":{"DeviceManufacturer":"Apple","Scanner":null,"DeviceModel":"iPhone10,4","Type":"iPhone10,4","Identifier":"72A145F3C7A364B616DF6FB8C2A6F9EA6D562089","ScannerFirmware":null},"ClientTimeZone":{"Name":"America/Chicago","Format":"OLSON","SupportsDST":true},"TokenType":0,"ClientSecret":"0E795067-E551-450C-B7C4-3DC6BA59D7C7"}" 02:13:58.995 
    19. URL_CACHE_ACCESS_START RequestURL="/Proxy7/internal/Mobile/Unauthenticated/Epic.Mobile.Core.Login" 02:13:58.995 
    20. URL_CACHE_ACCESS_END PhysicalPath="", URLInfoFromCache="false", URLInfoAddedToCache="true", ErrorCode="The operation completed successfully.
     (0x0)" 02:13:58.995 
    21. GENERAL_GET_URL_METADATA PhysicalPath="", AccessPerms="553" 02:13:58.995 
    22. HANDLER_CHANGED OldHandlerName="", NewHandlerName="StaticFile", NewHandlerModules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule", NewHandlerScriptProcessor="", NewHandlerType="" 02:13:58.995 
    23. NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotification="false" 02:13:58.995 
    24. NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="MAP_PATH", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 02:13:58.995 
    25. MODULE_SET_RESPONSE_ERROR_STATUS

    Warning
     ModuleName="IIS Web Core", Notification="BEGIN_REQUEST", HttpStatus="500", HttpReason="Internal Server Error", HttpSubStatus="0", ErrorCode="The I/O operation has been aborted because of either a thread exit or an application request.
     (0x800703e3)", ConfigExceptionInfo="" 02:13:58.995 
    26. NOTIFY_MODULE_START ModuleName="AspNetFilterModule", Notification="LOG_REQUEST", fIsPostNotification="false" 02:13:58.995 
    27. NOTIFY_MODULE_END ModuleName="AspNetFilterModule", Notification="LOG_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 02:13:58.995 

  • Re: Arr fails to rewrite url.

    Jan 07, 2021 08:24 AM|samwu|LINK

    Hi msarrgroup,

    There may be a problem on the server running IIS. You must set the correct .NET version in the IIS application pool, and also check whether you need to run the application pool in 32-bit mode. In addition, you also need to set the appropriate permissions for the application pool identity on the application pool. If your application is running in SSL mode, please make sure it has been configured in web.config.

    Best regards,

    Sam

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.