Forum Discussion
Load Balancing IIS Servers
Hi,
I have two IIS Servers that I use to publish multiple sites. I load balance those two IIS Servers through a Big-IP.
I recently add a new application on the IIS Servers and for some reason when I try to access this new app I get the error "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed." If I try to access this app directly to the server "http://ServerName/Newapp" the site shows correctly.
What can be causing this issue
Regards,
6 Replies
- Injeyan_Kostas
Cumulonimbus
Might be SNI
You can you use either different Server SSL profiles or a generic irule like
when HTTP_REQUEST { set serverSideSSLSNIName [ string tolower [HTTP::host] ] } when SERVERSSL_CLIENTHELLO_SEND { #https://support.f5.com/csp/article/K41600007 if { [ info exists serverSideSSLSNIName ] } { if { [catch { SSL::extensions insert [binary format SSScSa* 0 [expr { [set sni_length [string length $serverSideSSLSNIName]] + 5 }] [expr { $sni_length + 3 }] 0 $sni_length $serverSideSSLSNIName] } ] } { log local0. "ERROR: Attempting to assign server SSL - SNI : $serverSideSSLSNIName failed" } } }
- Aabuitrago
Altostratus
Thanks for your prompt response.
In this case its a simple plain text virtual server.
- Injeyan_Kostas
Cumulonimbus
could you get a pcap?
also might your server accept only http://ServerName as hostname
do you have a proper binding on IIS for http://vipname ?if not you might just need to rewrite host header
test using "curl -vk http://vip:port/....."
it will show many details to help troubleshoot the problemif you put irules in the vserver config, also check /var/log/ltm
- Aabuitrago
Altostratus
Hi,
Thanks everyone for your suggestions. We discovered that the IIS Server was trying to resolve the name for the IP address of the source of the connection (the SelfIP of the F5). On the log of the IIS Servers we found this error No_such_host_is_known 8082 - 10.1.2.193. As soon as we created an entrance on the DNS for the selfIP of the F5, the application started to work.
Does anyone know if this behavior is normal as part of a particular configuration at the IIS?
Regards,
it's not iis specific, but app specific.
i had encountered some java based http servers had that behavior.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com