Spurious "would violate your maximum daily spending limit"
I receive a: {"error":{"detail":"There was a problem with your request","status":400,"title":"Bad Request","code":102,"errors":[{"source":{"pointer":""},"detail":"Executing this measurement request would violate your maximum daily spending limit of 1000000.0 credits. Please stop some of your currently running measurements and try again."} from the API. The request is: {'is_oneoff': True, 'definitions': [{'description': 'DNS resolution of use-application-dns.net./A from AS #3215', 'af': 4, 'type': 'dns', 'query_argument': 'use-application-dns.net.', 'query_class': 'IN', 'query_type': 'A', 'set_rd_bit': True, 'protocol': 'UDP', 'use_probe_resolver': True}], 'probes': [{'requested': 100, 'type': 'asn', 'value': '3215', 'tags': {'include': ['system-ipv4-works', 'system-resolves-a-correctly', 'system-resolves Which is very small. I run this sort of requests frequently. My daily expenditure is small (13,680 credits). Why is it rejected?
On Sun, Apr 04, 2021 at 10:54:39AM +0200, Stephane Bortzmeyer <bortzmeyer@nic.fr> wrote a message of 23 lines which said:
Request","code":102,"errors":[{"source":{"pointer":""},"detail":"Executing this measurement request would violate your maximum daily spending limit of 1000000.0 credits. Please stop some of your currently running measurements and try again."}
No news? The problem still occurs. Is it only for me?
Stephane, IIRC Atlas takes into account also rate how quickly you spend your credits and on base of that it tries to predict if you will hit your daily limit and tries to stop measurements which are above such trajectory. I think I had such case myself in the past. Not sure if it's still valid assumption. You can also write to altas@ripe.net<mailto:altas@ripe.net> (RIPE NCC Support for Atlas). You will get ticket and for sure somebody will contact you to explain the situation. Regards, Grzegorz From: Stephane Bortzmeyer <bortzmeyer@nic.fr> Organisation: NIC France Date: Wednesday 2021-04-07 at 11:45 To: "ripe-atlas@ripe.net" <ripe-atlas@ripe.net> Subject: Re: [atlas] Spurious "would violate your maximum daily spending limit" On Sun, Apr 04, 2021 at 10:54:39AM +0200, Stephane Bortzmeyer <bortzmeyer@nic.fr<mailto:bortzmeyer@nic.fr>> wrote a message of 23 lines which said: Request","code":102,"errors":[{"source":{"pointer":""},"detail":"Executing this measurement request would violate your maximum daily spending limit of 1000000.0 credits. Please stop some of your currently running measurements and try again."} No news? The problem still occurs. Is it only for me?
On Wed, Apr 07, 2021 at 10:11:03AM +0000, Ponikierski, Grzegorz <gponikie@akamai.com> wrote a message of 115 lines which said:
Atlas takes into account also rate how quickly you spend your credits and on base of that it tries to predict if you will hit your daily limit and tries to stop measurements which are above such trajectory.
I know but I changed nothing, I still have the same periodic measurements and, for many years, it was not a problem.
I see, then what I said doesn't apply to your case. atlas@ripe.net<mailto:atlas@ripe.net> will be the best way. If you provide your measurements IDs and account ID then they will be able to check what's wrong. Regards, Grzegorz From: Stephane Bortzmeyer <bortzmeyer@nic.fr> Organisation: NIC France Date: Wednesday 2021-04-07 at 12:18 To: "Ponikierski, Grzegorz" <gponikie@akamai.com> Cc: Stephane Bortzmeyer <bortzmeyer@nic.fr>, "ripe-atlas@ripe.net" <ripe-atlas@ripe.net> Subject: Re: [atlas] Spurious "would violate your maximum daily spending limit" On Wed, Apr 07, 2021 at 10:11:03AM +0000, Ponikierski, Grzegorz <gponikie@akamai.com<mailto:gponikie@akamai.com>> wrote a message of 115 lines which said: Atlas takes into account also rate how quickly you spend your credits and on base of that it tries to predict if you will hit your daily limit and tries to stop measurements which are above such trajectory. I know but I changed nothing, I still have the same periodic measurements and, for many years, it was not a problem.
Hi Stephane, We calculate the daily spending using 24hr sliding window. Looks like you spent bit more than usual the last hours. So the right approaches would be to reduce the spending and wait for few hours or request us to increase the limit. This algorithm is implemented ages ago and wasn't fiddled with since then :) I will PM you with your figures. wbr /vty On 4/7/21 11:44 AM, Stephane Bortzmeyer wrote:
On Sun, Apr 04, 2021 at 10:54:39AM +0200, Stephane Bortzmeyer <bortzmeyer@nic.fr> wrote a message of 23 lines which said:
Request","code":102,"errors":[{"source":{"pointer":""},"detail":"Executing this measurement request would violate your maximum daily spending limit of 1000000.0 credits. Please stop some of your currently running measurements and try again."} No news? The problem still occurs. Is it only for me?
participants (3)
-
Ponikierski, Grzegorz
-
Stephane Bortzmeyer
-
Viktor Naumov