Forum Discussion

Ramesh_Babu's avatar
Ramesh_Babu
Icon for Nimbostratus rankNimbostratus
Nov 28, 2019

URL partially able to open in the Chrome & IE, but able to open in Firefox

Hi All,

 

When we access by VIP IP at the time URL page is loading partially in the Chrome & IE, but able to open in the Firefox.

 

Instead of VIP, accessing by the real server ip address at the time i am able to open URL in the all browsers. Please let me know how to solve. As per my client request URL should be accessible by Chrome.

7 Replies

  • Can you please share your virtual configuration.

    Also when you try accessing with your VIP, you say you could see partial requests completing and page is loading fine. There is a chance that some requests are either blocked by the server for xyz reasons.

     

    One way to troubleshoot is through the developer tools, easy way. Capture the network trace via both the VIP & server and then compare. See what is happening, Possibly a 404 or 403 ? anything it could be. Share the screenshot to us by masking your confidential fields.

  • Hi,

     

    Thanks for your info.

    Webpage contains, Logo, username & password will display center of the page.

    While accessing from Firefox web-browser, its loading fully without issue, but while accessing from Google Chrome & IE the logo is not display, also username & password is display in the top of the page, (as per the design its should be come center of the page).

     

    Here is the config for reference, 1st is irule working fine (all browser), 2nd irule only having issue.

     

    VIP: 172.X.X.4 443

     

    when HTTP_REQUEST {

    if { [HTTP::uri] equals "/" } {

       node 10.x.x.6 80

       HTTP::redirect "/Inso/Asp"                          

       }

    elseif { [HTTP::uri] equals "/StrateLibrary" } {             

    HTTP::redirect "/StrateLibrary/auth/ui/loginPage"

    node 10.x.x.6 8080

       }

    }

     

     

    • jaikumar_f5's avatar
      jaikumar_f5
      Icon for MVP rankMVP

      I dont think this is a browser issue. Your irule logic seems to be having issue. Please try the below and update us, remember to put the default pool in the virtual

      when HTTP_REQUEST {
      if { [HTTP::uri] equals "/" } {
      	HTTP::redirect "/Inso/Asp"
      	return
      	}
      elseif { [HTTP::uri] starts_with "/Inso/Asp/" } {
      	node 10.x.x.6 80
      	}	
      elseif { [HTTP::uri] equals "/StrateLibrary" } {
      	HTTP::redirect "/StrateLibrary/auth/ui/loginPage"
      	return
          }
      elseif { [HTTP::uri] starts_with "/StrateLibrary/auth/ui/loginPage/" } {
      	node 10.x.x.6 8080
      	}
      }
  • Thanks for your help.

     

    1st time not opening properly, i needs to try 2 r 3 times then i am getting the right page. Any clue how to overcome this?

  • Could be issue of pool members? Try to access backend server directly n see the difference.

  • Actually I have a feeling that your requests are landing to a member which cannot serve it. I see you have 2 different ports and your logic is requesting to fulfill from one particular pool member alone.

    If your default pool is consisting both the above mentioned pool members and if you know for sure that one member cannot server certain requests, you have to identify them. And write some logic to it. So that it lands on the right pool member & it can server it properly without dropping.

    One way to easily find is by putting a logging to see which pool member had it served for every requests.

    Add a new IRule and map it to the virtual & see the results. Or modify in the existing one itself.

    when CLIENT_ACCEPTED {
    set client [IP::client_addr]
    log local0. "Client: $client has established a connection"      
    }
     
    when HTTP_REQUEST {
    set client_info [IP::client_addr]:[TCP::client_port]
    set url [HTTP::header Host][HTTP::uri]
    log local0. "Client Source IP: $client_info is requesting URL: $url " 
    }
     
    when SERVER_CONNECTED {
    set pool_name [LB::server pool]
    log local0. "Client Source IP: [IP::client_addr]:[TCP::client_port] <--> POOL : $pool_name <--> ACTUALNODE <--> [IP::server_addr]:[TCP::server_port]" 
    }

    Hope it helps.