Hi. I've read the other posts on IP number issues with ARR and havent found a solution to my issue.
I have ARR 2.5 on a win2008R2 with just the default website using the default binding (host is blank, IP address is *).
The rule is simple, it looks for a pattern and redirects to a farm having a single server in it.
<rule name="SpotfireWeb" enabled="true" stopProcessing="true">
<match url="SpotfireWeb(.*)" />
<action type="Rewrite" url="http://M Spotfire Farm/{R:0}" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
</rule>
<webFarm name="M Spotfire Farm" enabled="true">
<server address="SWPR2R1.PMHADLEY.COM" enabled="true">
<applicationRequestRouting httpsPort="80" />
</server>
<applicationRequestRouting>
<protocol timeout="1.00:00:00" />
</applicationRequestRouting>
</webFarm>
It works fine when the incoming URL uses the hostname of the ARR server.
When the incoming URL uses the IP number of the ARR server it returns an HTTP 400 response, invalid hostname.
I enabled failed logging for 400 and have included some of that below.
I have monitored the IIS logs on the downstream server and it doesnt appear to get any incoming request. I have not setup a sniffer between the 2 to confirm this.
I do not see any errors in the Event viewer.
Any ideas for solving this, or at least to further pin down the issue?
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>4</Level>
<Opcode>4</Opcode>
<Keywords>0x800</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>ARR_REQUEST_HEADERS_END</Opcode>
<Keywords>
<Keyword>RequestRouting</Keyword>
</Keywords>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{53AE50FA-81DF-47B1-8161-71F0A1C55A48}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>4</Level>
<Opcode>7</Opcode>
<Keywords>0x800</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>ARR_RESPONSE_HEADERS_START</Opcode>
<Keywords>
<Keyword>RequestRouting</Keyword>
</Keywords>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{53AE50FA-81DF-47B1-8161-71F0A1C55A48}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>4</Level>
<Opcode>8</Opcode>
<Keywords>0x800</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>ARR_RESPONSE_HEADERS_END</Opcode>
<Keywords>
<Keyword>RequestRouting</Keyword>
</Keywords>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{53AE50FA-81DF-47B1-8161-71F0A1C55A48}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>5</Level>
<Opcode>9</Opcode>
<Keywords>0x800</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>ARR_RESPONSE_ENTITY_START</Opcode>
<Keywords>
<Keyword>RequestRouting</Keyword>
</Keywords>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{53AE50FA-81DF-47B1-8161-71F0A1C55A48}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>5</Level>
<Opcode>10</Opcode>
<Keywords>0x800</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
<Data Name="Bytes">334</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>ARR_RESPONSE_ENTITY_END</Opcode>
<Keywords>
<Keyword>RequestRouting</Keyword>
</Keywords>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{53AE50FA-81DF-47B1-8161-71F0A1C55A48}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>5</Level>
<Opcode>52</Opcode>
<Keywords>0x0</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
<Data Name="Reason">2</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>GENERAL_NOT_SEND_CUSTOM_ERROR</Opcode>
<freb:Description Data="Reason">SETSTATUS_TRYSKIP</freb:Description>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>4</Level>
<Opcode>35</Opcode>
<Keywords>0x0</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>GENERAL_FLUSH_RESPONSE_START</Opcode>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>4</Level>
<Opcode>47</Opcode>
<Keywords>0x0</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
<Data Name="Headers">Content-Length: 334
Content-Type: text/html; charset=us-ascii
Server: Microsoft-IIS/7.5
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>GENERAL_RESPONSE_HEADERS</Opcode>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>5</Level>
<Opcode>49</Opcode>
<Keywords>0x0</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
<Data Name="Buffer"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Hostname</h2>
<hr><p>HTTP Error 400. The request hostname is invalid.</p>
</BODY></HTML>
</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>GENERAL_RESPONSE_ENTITY_BUFFER</Opcode>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>4</Level>
<Opcode>36</Opcode>
<Keywords>0x0</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
<Data Name="BytesSent">536</Data>
<Data Name="ErrorCode">0</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>GENERAL_FLUSH_RESPONSE_END</Opcode>
<freb:Description Data="ErrorCode">The operation completed successfully.
(0x0)</freb:Description>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
</ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
<EventID>0</EventID>
<Version>1</Version>
<Level>0</Level>
<Opcode>2</Opcode>
<Keywords>0x0</Keywords>
<TimeCreated SystemTime="2012-02-09T17:32:29.914Z"/>
<Correlation ActivityID="{00000000-0000-0000-2008-0080000000CA}"/>
<Execution ProcessID="1308" ThreadID="6480"/>
<Computer>HBIR2R1</Computer>
</System>
<EventData>
<Data Name="ContextId">{00000000-0000-0000-2008-0080000000CA}</Data>
<Data Name="BytesSent">536</Data>
<Data Name="BytesReceived">620</Data>
<Data Name="HttpStatus">400</Data>
<Data Name="HttpSubStatus">0</Data>
</EventData>
<RenderingInfo Culture="en-US">
<Opcode>GENERAL_REQUEST_END</Opcode>
</RenderingInfo>
<ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
<EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
</ExtendedTracingInfo>
</Event>
</failedRequest>