We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

IIS ARR 2.5 Reverse Proxy Exchange 2016 ActiveSyncRSS

6 replies

Last post Nov 23, 2020 03:04 AM by Brucz

  • IIS ARR 2.5 Reverse Proxy Exchange 2016 ActiveSync

    Nov 18, 2020 04:02 AM|nma01117|LINK

    Hi IIS,

    The Outlook for iOS and Android app is not allowing emails with attachments slightly over 10 MB. However, the native iOS mail app and GMAIL app is able to send emails with attachments over 10 MB.

    We have an IIS ARR 2.5 reverse proxy that handles the ActiveSync connections for on-premises Exchange 2016 servers.

    Seeing these errors below on the IIS reverse proxy when using the Outlook for iOS and Android app.

    2020-11-13 11:43:43 IP ADDRESS POST /Microsoft-Server-ActiveSync Cmd=SmartForward&User=xxxx%5Cxxx&DeviceId=f6256279b5fc49a39037c025b7f895bc&DeviceType=Outlook&X-ARR-CACHE-HIT=0&X-ARR-LOG-ID=8ee2f852-e318-4af3-a57a-313d16a76dee 443 - IP ADDRESS Outlook-iOS-Android/1.0 - **400 0 64 119169**

  • Re: IIS ARR 2.5 Reverse Proxy Exchange 2016 ActiveSync

    Nov 19, 2020 02:24 AM|Brucz|LINK

    Hi nma01117,

    There is no more detailed information can get from IIS log file. Can you show the login httperror and event viewer?

    Is there any difference between the request made by Outlook for iOS and Android and the request made by the native iOS mail app and GMAIL app?

    I think it may be caused by the allow max request size in http runtime.

    Best Regards,

    Brucz

    .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.
  • Rovastar Rovastar

    5495 Posts

    MVP

    Moderator

    Re: IIS ARR 2.5 Reverse Proxy Exchange 2016 ActiveSync

    Nov 19, 2020 03:32 AM|Rovastar|LINK

    ARR has been on version 3.0 (the latest) for over 7 years now. Please try the latest version.

    What reasons do you see (if any) in the http.sys logs?

    Or what else does failed request tracing tell you about this error. 

    Troubleshoot IIS in style
    https://www.leansentry.com/
  • Re: IIS ARR 2.5 Reverse Proxy Exchange 2016 ActiveSync

    Nov 19, 2020 04:11 AM|nma01117|LINK

    Hi Rovastar,

    I will try the latest version. Thanks for the suggestion.

    Do you know if upgrading ARR 2.5 to ARR 3.0 will maintain the same rules? Or will I have to recreate the rules? Just asking because we don't have a test environment for the ARR.

    This is the httperror log.

    2020-11-13 11:43:43 xxxxxxxxxxx 31362 xxxxxxxxxx 443 HTTP/1.1 POST /Microsoft-Server-ActiveSync?Cmd=SmartForward&User=xxxxxxx%5xxxxxxxx&DeviceId=f6256279b5fc49a39037c025b7f895bc&DeviceType=Outlook - 1 Timer_EntityBody DefaultAppPool



    This is the failed request tracing log.

    <failedRequest url="https://xxxxxxxxxxx:443/Microsoft-Server-ActiveSync?Cmd=SmartForward&amp;User=xxxx%5Cxxxx&amp;DeviceId=f6256279b5fc49a39037c025b7f895bc&amp;DeviceType=Outlook"
                   siteId="1"
                   appPoolId="DefaultAppPool"
                   processId="2028"
                   verb="POST"
                   remoteUserName=""
                   userName=""
                   tokenUserName="NT AUTHORITY\IUSR"
                   authenticationType="anonymous"
                   activityId="{80010A6E-0001-EE00-B63F-84710C7967BB}"
                   failureReason="STATUS_CODE"
                   statusCode="400"
                   triggerStatusCode="400"
                   timeTaken="546"
                   xmlns:freb="http://schemas.microsoft.com/win/2006/06/iis/freb"
                   >

  • Re: IIS ARR 2.5 Reverse Proxy Exchange 2016 ActiveSync

    Nov 19, 2020 04:17 AM|nma01117|LINK

    Hi Brucz,

    There is no difference when between the request made by the Outlook for iOS and Android and the request made by the native iOS mail app and GMAIL app.

    I've tried sending the same 10 MB+ mobile attachments over 10 MB with each app, only the Outlook for iOS and Android app is giving issues. There are no related errors in the event viewer.

    This is the httperror log.

    2020-11-13 11:43:43 xxxxxxxxxxx 31362 xxxxxxxxxx 443 HTTP/1.1 POST /Microsoft-Server-ActiveSync?Cmd=SmartForward&User=xxxxxxx%5xxxxxxxx&DeviceId=f6256279b5fc49a39037c025b7f895bc&DeviceType=Outlook - 1 Timer_EntityBody DefaultAppPool
    
    
    



    This is the max request size in http runtime on the ARR server.

    <configuration>
        <system.webServer>
            <security>
                <requestFiltering>
                    <requestLimits maxAllowedContentLength="2147483648" />
                </requestFiltering>
            </security>
        </system.webServer>
        <system.web>
            <httpRuntime maxRequestLength="35000" />
        </system.web>
    </configuration>
    

  • Re: IIS ARR 2.5 Reverse Proxy Exchange 2016 ActiveSync

    Nov 19, 2020 04:24 AM|nma01117|LINK

    duplicate message. sorry

  • Re: IIS ARR 2.5 Reverse Proxy Exchange 2016 ActiveSync

    Nov 23, 2020 03:04 AM|Brucz|LINK

    Hi nma01117,

    You can use a computer as an agent, and then the mobile device sends a request through the computer. 

    Then use tools like fidder to capture the request for analysis.

    Best regards,

    Brucz

    .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.