Timeout error while sending 900+ L3 outbound rules in one API call.

sid786
New here

Timeout error while sending 900+ L3 outbound rules in one API call.

Hi Team,

I am getting timeout error when sending 950 L3 firewall rules in single API call. 

If I reduce the rulebase below 600 then it works without any issue.

Is there any limit while configuring firewall rules ? We are using 18.2 version on MX. with rule limit of 2000

https://api.meraki.com/api/v1/networks/NW-ID/appliance/firewall/l3FirewallRules

Regards,

Sid

4 Replies 4
RaphaelL
Kind of a big deal
Kind of a big deal

Hi , are you receiving a HTTP 502 after 60s ?

You should open a case about this and I have never seen a rulebase that long , not sure if it is common on a MX.

sid786
New here

 its a <title>504 Gateway Time-out</title> after 60 s. If its less than 60 sec then its works.
RaphaelL
Kind of a big deal
Kind of a big deal

 You are exceeding the limit of 60s and getting a 5XX. Contact Support , not sure if they can do much tho

PhilipDAth
Kind of a big deal
Kind of a big deal

I have ran into the same issue with other APIs.  It is a real pain.

I don't know if you can change L3 firewall rules in an Action Batch - but I would give that a try.
https://developer.cisco.com/meraki/api-v1/action-batches-overview/ 

Get notified when there are additional replies to this discussion.