Forum Discussion

Prakash_Krishna's avatar
Prakash_Krishna
Icon for Nimbostratus rankNimbostratus
May 13, 2014

Getting timeout exception when I try to acess the RestAPI but F5 LTM GUI behaves fine

Dear All,

 

When I try to connect with my F5 LTM device using Rest API call, I am getting the timeout ecxeption as below. But with F5 https GUI I am able to proceed and functioning properly. Is there any limitations in number f RestAPI connection. Am I exceeded? Is there any Pooling mechanism?

 

Can anyone help me to get ride of this.

 

For examle: https:///mgmt/tm/sys/application/service

 

Exception: {"code":400,"message":"Expiration was Tue May 13 11:04:00 PDT 2014","restOperationId":1933300,"errorStack":["java.util.concurrent.TimeoutException: Expiration was Tue May 13 11:04:00 PDT 2014","at com.f5.rest.common.RestHelper$1.run(RestHelper.java:1825)","at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)","at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)","at java.util.concurrent.FutureTask.run(FutureTask.java:166)","at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)","at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)","at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)","at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)","at java.lang.Thread.run(Thread.java:722)\n"]}

 

5 Replies

  • The GUI and restAPI server-side pieces are separate. Can you let us know which version of BIG-IP you are running? Did you send credentials like this?

    curl -sk -u admin:admin https://dev.rest.box/mgmt/tm/net/self/
    

    If you're using 11.4, you'll need to enable the restAPI manually since it was early access. In 11.5, it should be there natively.

    Have you seen these? https://devcentral.f5.com/articles/icontrol-rest-101-getting-started https://devcentral.f5.com/d/icontrol-rest-user-guide-version-1150?download=true

  • Hi,

     

    Am using 11.5, but i have been connection with RestAPI interface hardly more than 200 times and suddenly i am getting the timeout error. After i reboot my box, I could able to connect through RestAPI to my F5 device.

     

    Regards, Prakash.K

     

  • Manjunath_Bhat_'s avatar
    Manjunath_Bhat_
    Historic F5 Account

    Do you see TimeoutException with expiration repeatedly ? It looks like REST Interface is timing out because internal module(iControl REST daemon or MCPd) hasn't responded to the original request. It might have happened because of provision changes/configuration load failure

     

  • Hi Manju,

     

    do you have solution for this. I heard from Stephen that there are hot fix available as there is known bug for it. Do i need to port the fix will resolve my issue?

     

    If so can you point me to to download the patch?

     

    Regards, Prakash.K