Quota policy violation issue

We are on private Edge cloud. 4.17

I have a quota policy configured as below:

Quota type="calendar"
Distributed=true
Synchronous=true
Identifier ref="username"
StartTime=Datetime

ldap_failed_interval = 15
ldap_failed_timeunit=minute
ldap_failed_logins=5
Essentially 5 failed login attempts should stop user for 15 minutes. In Dev, we have 2 RPMs and distributed and synchronous set to True. This configuration is not working. I should get 500 Quota error after 5 attempts but it never works. What could be the problem?
0 3 184
3 REPLIES 3

Not applicable

Quota policy of 'Calendar' type should work. Following policy code is working fine in my proxy. Note that this policy will allow 5 requests in 15 min interval. 6th request is getting rejected.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Quota async="false" continueOnError="false" enabled="true" name="Q-VerifyQuotaCalendar" type="calendar">

<DisplayName>Q-VerifyQuotaCalendar</DisplayName>

<Properties/>

<Allow count="5" countRef="request.header.allowed_quota"/>

<Interval ref="request.header.quota_count">15</Interval>

<Distributed>true</Distributed>

<Synchronous>true</Synchronous>

<TimeUnit ref="request.header.quota_timeout">minute</TimeUnit>

<StartTime>2017-3-17 12:00:00</StartTime>

<Identifier ref="client_id"/>

</Quota>

Thanks @rdoda I have the same configuration but it's not working for some reason. Are you on 4.17.x? How many RMPs do you have? Thanks.

Current implementation is on Free cloud account. However, this functionality is used extensively and should work. I would suggest to run your proxy bundle in free acount. If that doesn't work, attach your proxy bundle and I can look at it.