Forum Discussion

Prasad_Patil_13's avatar
Prasad_Patil_13
Icon for Nimbostratus rankNimbostratus
Feb 26, 2014
Solved

Unable to access F5 REST

I am using Firefox's RESTClient to access F5 REST.

 

URL: https://10.99.133.250/mgmt/tm/ltm

 

And also included basic authorization in the request header.

 

But when I submit the request, I get following error:

 

     {
      "code": 404,
      "message": "http://localhost:8100/mgmt/tm/ltm",
      "restOperationId": 2704231,
      "errorStack": [
        "com.f5.rest.common.RestWorkerUriNotFoundException: http://localhost:8100/mgmt/tm/ltm",
        "at com.f5.rest.common.RestServer.trySendInProcess(RestServer.java:126)",
        "at com.f5.rest.common.RestRequestReceiver.dispatchToService(RestRequestReceiver.java:93)",
        "at com.f5.rest.common.RestRequestReceiver.processNext(RestRequestReceiver.java:57)",
        "at com.f5.rest.common.RestHelper$2.run(RestHelper.java:1480)",
        "at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)",
        "at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)",
        "at java.lang.Thread.run(Unknown Source)\n"
      ]
    }

Please help me to solve this.

 

  • From TMOS..

     

    (tmos) show sys service icrd

     

    icrd down 3 seconds, normally up

     

    (tmos) start sys service icrd

     

    (tmos) show sys service icrd

     

    icrd run (pid 6102) 1 minutes

     

    If needed

     

    (tmos) stop sys service icrd

     

5 Replies

  • Seth_81884's avatar
    Seth_81884
    Historic F5 Account

    From TMOS..

     

    (tmos) show sys service icrd

     

    icrd down 3 seconds, normally up

     

    (tmos) start sys service icrd

     

    (tmos) show sys service icrd

     

    icrd run (pid 6102) 1 minutes

     

    If needed

     

    (tmos) stop sys service icrd

     

  • With latest BIGIP version (eg, v11.6 and higher), REST service should automatically be running always.

     

  • I am having the same issue, but the icrd service is running as expected.

     

     

    root@(bigip)(cfg-sync Standalone)(Active)(/Common)(tmos) show sys service icrd
    icrd         run (pid 10289) 2 minutes, 1 start ``` curl -sk -u admin:admin https://bigip/mgmt/tm
    
    {"code":404 "message":"http://localhost:8100/mgmt/tm" "restOperationId":184853 "errorStack":["com.f5.rest.common.RestWorkerUriNotFoundException: http://localhost:8100/mgmt/tm" "at com.f5.rest.common.RestServer.trySendInProcess(RestServer.java:231)" "at com.f5.rest.common.RestRequestReceiver.dispatchToService(RestRequestReceiver.java:93)" "at com.f5.rest.common.RestRequestReceiver.processNext(RestRequestReceiver.java:57)" "at com.f5.rest.common.RestHelper$2.run(RestHelper.java:1910)" "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"]} ```