Forum Discussion

Mohammad_B_Shai's avatar
Mohammad_B_Shai
Icon for Nimbostratus rankNimbostratus
Oct 11, 2018

HTTP time out setting should be equal to or more than 3600 sec

Hi Everyone ,

 

We have a VIP for our customer and they are expecting the follwing to be done the url/VIP .

 

They need the following settings to be done .

 

1) Auto-disconnect after 50400 sec 2) HTTP time out setting should be equal to or more than 3600 sec

 

Could please help me in getting this done .

 

Thanks & Regards, Mohammad B Shaik.

 

5 Replies

  • What do you mean by auto-disconnect? Do you mean timeout a TCP session or maybe remove persistence record or something else? HTTP timeout is done on the client. Maybe you have authentication towards the application and you need that to timeout after a certain time?

     

  • Pete,

     

    They need the connection to the VIP should auto disconnect after 50400 sec and they also HTTP time out setting should be equal to or more than 3600 sec. Please your help is appreciated.

     

    Thanks, Mohammad.

     

  • The default TCP idle timeout is 300 secs, you can set that to whatever you want it to be. You can also use an iRule with

    IP::stats age
    to send a TCP reset after a period of time. But then the client will just re-send the same HTTP request on a new TCP session. HTTP doesn't have a timeout per se - it is a request/response model so the timeout is on the client. Timeouts are often set on cookies or login sessions, is that what you mean? I think you need to go back and work out in more detail what exactly it is that you want.

  • Pete,

     

    Can you please give the navigation or some link for that, how we can do it .

     

    Thanks , Mohammad.

     

  • OK, for the TCP timeout look at the TCP profile that you have assigned to the virtual server and look at Local Traffic>Profiles>Protocol>.

    The relevant iRule would look something like this:

    when HTTP_REQUEST {
        if { [IP::stats age] > 50400 } {
            reset
        }
    }
    

    As I said before, I would be inclined to find out exactly what the customer wants first, I doubt it is this.