View Complete Thread
  • Re: Getting error with ARR net::ERR_CONNECTION_RESET 200 (OK)

    Jul 08, 2019 01:20 PM|kalpesh boghara|LINK

    After spent more time, Get little bit clear view  for why getting error.
    Current get only reason of that error.

    If I am remove Outbound rules than never get error not all outbound rules just html contain changes rules only.
    But don't why I am getting this error due to Outbound rules.

         <outboundRules>
                    <clear />
                    <rule name="Set Custom Header" preCondition="" enabled="true" stopProcessing="true">
                        <match serverVariable="RESPONSE_CacheKey" pattern=".*" />
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="true" />
                        <action type="Rewrite" value="test" replace="true" />
                    </rule>
                    <rule name="Test_Gzip_ourbound" preCondition="Test_Gzip" enabled="true">
                        <match serverVariable="HTTP_ACCEPT_ENCODING" pattern="^(.*)" />
                        <conditions logicalGrouping="MatchAll" trackAllCaptures="true" />
                        <action type="Rewrite" value="{HTTP_X_ORIGINAL_ACCEPT_ENCODING}" />
                    </rule>
                    <rule name="Remove cacha key from all" preCondition="IsHtml" enabled="true">
                       <match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Img, Input, Link, Script, CustomTags" customTags="option" pattern="(.*)localhost:90(.*)cachekey=([^=&amp;]+)&amp;amp;?(.*)$" />
                        <action type="Rewrite" value="{R:1}localhost:91{R:2}{R:4}" />
                    </rule>
                    <rule name="Remove cacha key from remove filter button" preCondition="IsHtml">
                        <match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Input, Link, Script, CustomTags" customTags="option" pattern="(.*)localhost:90(.*)\?cachekey=(.*)" />
                        <action type="Rewrite" value="{R:1}localhost:91{R:2}" />
                    </rule>
                    <rule name="Rare case">
                        <match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Img, Input, Link, Script, CustomTags" customTags="option" pattern="(.*)localhost:90(.*)" />
                        <action type="Rewrite" value="{R:1}localhost:91{R:2}" />
                    </rule>
                    <preConditions>
                        <preCondition name="IsHtml">
                            <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
                        </preCondition>
                        <preCondition name="Test_Gzip">
                            <add input="{HTTP_X_ORIGINAL_ACCEPT_ENCODING}" pattern=".*" />
                        </preCondition>
                        <preCondition name="If test query = 1">
                            <add input="{QUERY_STRING}" pattern="test=1" />
                        </preCondition>
                    </preConditions>
                    <customTags>
                        <tags name="option">
                            <tag name="option" attribute="value" />
                        </tags>
                    </customTags>				
                </outboundRules>

    If remove under line codes than working fine.

    So if any help than it will good for me.

    Thanks :)