How to troubleshoot the Robots not connecting to F5 URL while using SSL Offloading and F5 Load Balancer?
While using an F5 Load Balancer to use SSL Offloading, the robots are not able to connect to the F5 url, but instead connect correctly when using the direct Orchestrator URL.
The below error is displayed by the robot when attempting to connect:
“The requested resource does not support http method ‘GET.’”
The traffic needs to be split, using a custom Irule in F5 to differentiate between SSL traffic and communication calls. Follow the below the instructions:
- Login to the F5
- Open up Local TrafficàVirtual ServersàIrules hit the + button to create a new one.
- Name the Irule to customer specs.
- Put the following rule in definitions:
HTTP_REQUEST
#Save the requested Host Value
{ set host [string tolower [HTTP::host]] if {$host eq ""}
#If the HTTP Header Host is blank Use the VS IP Address
#If the VS IP Address is not routable to clients, Hardcode a routable IP
#to replace [IP::local_addr]
{set host [IP::local_addr]}
}when HTTP_RESPONSE {
#Rewrite the location header in redirects to https://
if { [HTTP::is_redirect] && [string tolower [HTTP::header Location]] starts_with "http://$host"} {
HTTP::header replace Location [string map -nocase "http://$host https://$host" [HTTP::header Location]]
}
}
#Save the requested Host Value
{ set host [string tolower [HTTP::host]] if {$host eq ""}
#If the HTTP Header Host is blank Use the VS IP Address
#If the VS IP Address is not routable to clients, Hardcode a routable IP
#to replace [IP::local_addr]
{set host [IP::local_addr]}
}when HTTP_RESPONSE {
#Rewrite the location header in redirects to https://
if { [HTTP::is_redirect] && [string tolower [HTTP::header Location]] starts_with "http://$host"} {
HTTP::header replace Location [string map -nocase "http://$host https://$host" [HTTP::header Location]]
}
}
- Save the IRule and test the Robot connectivity.