cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2950
Views
0
Helpful
2
Replies

Rest-API rate limit

Gupta_Deva
Level 1
Level 1

 

How to disable the rate-limit alltogether - or at lest configure a higher value than 120 api-calls / minute ?

According to the cocumentation:

 

The Firepower Management Center REST API implements rate limiting to reduce network load.

The API will accept no more than 120 messages per minute from an individual IP address. It will only allow 10 simultaneous connections per IP address. These are not configurable parameters.

If a client exceeds these limits, the API will give an HTTP 429 error

 

We don't buy, that this is not configurable - and we really need to be able to configure some higher values !

Maybe we might set a parameter or variable in one of the files

/etc/sf/mojo_server.conf

/var/sf/bin/mojo_server_wrapper.pl

/var/perl5/site_perl/5.10.1/Mojo/Server/Daemon.pm

 

or maybe an API-guru here could provide an illiminative answer ?

 

2 Replies 2

Patrick.Helms
Level 1
Level 1

Have you ever found a solution to this issue? We are finding it takes a very long time to query an ACL with 100 rules (and their objects) with this limit. 

There is an Enhancement defect filed for the rate limiting.

 

CSCvf16740  -  ENH: Rest API Request limit should be set to a configurable option.

 

As a workaround use the expanded query param to query details in a single call. This will reduce the number of API calls required, and the probability of customer hitting the rate limit will go down.

Review Cisco Networking products for a $25 gift card