Forum Discussion

schammah_320475's avatar
schammah_320475
Icon for Nimbostratus rankNimbostratus
May 11, 2017

Failed to use Rest API - 404's

Can't send GET Calls to REST of F5

 

trying to start using iControl Rest fails, i get 404's for some reason my version of the F5 Sys::Version Main Package Product BIG-IP Version 11.4.1

 

here's a sample get request and the result:

 

curl -k -u user:password -X GET | python -m json.tool

 

{ "code": 404, "errorStack": [ ": ;, "at ;, "at ;, "at ;, "at $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" ], "message": ";, "restOperationId": 59768023

 

Can someone assist with what i'm doing wrong maybe?

3 Replies

  • Can you try:

     

    curl -k -u user:password -X GET | python -m json.tool

     

  • 1) The URI (e.g., https://<HOST>/mgmt/tm/sys/version) is missing in the original post. Unable to troubleshoot without the URI.

    2) iControl REST was offered as "Early Access" in 11.4, hence it is not surprising to see failures in some cases. 11.5 is the GA (General Access) but it reached its End of Technical Support (see K5903: BIG-IP software support policy). My advise is to upgrade to the latest (supported) version.