Forum Discussion

EJM_358200's avatar
EJM_358200
Icon for Nimbostratus rankNimbostratus
Feb 21, 2019

F5 iRules Akamai redirection

Hello Team,

 

Currently, i have a virtual server with iRules of redirection if my url start with /toto redirect to pool_test1.

 

However, my problem is with AKAMAI every time when i request a http request "mycompany.com" i'm redirecting to /toto without any explanation.

 

Have you a suggestion please to fix this issue ?

 

Thank you.

 

  • when HTTP_REQUEST { if { [HTTP::uri] starts_with "/test"} { HTTP::redirect "; }

    if { [HTTP::uri] starts_with "/toto" } {
     pool pool_test1
     }
    
  • One thing I've found to be an issue with Akamai and an F5 in the mix is Akamai holds connections open for a while. When you make a change to an iRule the change only happens on new connections coming in, and since Akamai is holding connections open for 20 or 30 minutes, you make change after change and don't realize it's not getting applied to the traffic that you're testing.

     

    Unless Akamai has some type of redirect in it, I'd expect that's what you're seeing. If you have access to Akamai, I believe you can clear the connections somehow after you make your changes.

     

    • EJM_358200's avatar
      EJM_358200
      Icon for Nimbostratus rankNimbostratus

      Thank you. I have requested before Akamai to do same thing that you have propose for me but no result.

       

    • pchace's avatar
      pchace
      Icon for Nimbostratus rankNimbostratus

      Hi Dave,  I know this post is old, but we are dealing with a very similar issue. Do you have anything to substantiate that it is the holding of connections on the Akamai side? We have been troubleshooting this exact issue and would like to give the Akamai engineers a place to check on their end.