Quota reached, can't see why


#1

Hi.

I have problem to upload messages, and I get a message that the quota is reached.
But I can’t see why on the Quotas page.

Any advice ?

Best Regards
Eivind Vigsnes


#2

Hello Eivind,

We have been checking this issue and we have several elements.

About the concrete error you are getting “quota reached” when you are attempting to
upload a message, can you tell us what’s the size of that message? It is an error from MyQttHub
platform or something your app is reporting? can we see a complete log or screenshot?

Now, and assuming we still have some details that are missing, we have been checking
how you consume messages on the same same you reported this problem.

The following is a excerpt from log reporting (not all included, which is huge in amount
of data indication):

MYQTT: 16-08-2020 13:26:20 INFO  e.a.r.m.l.MyQttConn - PUBLISH : E80937BC48067683F17E47AC23203E99 : (qos0) [Hexxx\xxxLab], size=19, retain=false, dup=false, dupDetected=false : domainName=hub-xxx_xxx : userName=xxx_xxx : clientId=xxx@xxxx.xxxx : role=server : RemoteAddr=xxx
MYQTT: 16-08-2020 13:26:20 INFO  [8] e.a.r.m.l.MyQttContext - PUBLISH-RELAY : E80937BC48067683F17E47AC23203E99 : passing-to-actor : domainName=hub-xxx_xxx : Helle\Inne_Lab : payload bytes=5 : actor=Actor[akka://MyQtt/user/ConnState-f91d816e-9e29-49e7-809b-99ea9d272404#2008771530]
MYQTT: 16-08-2020 14:29:52 INFO  [3] e.a.r.m.l.MyQttConn - PUBLISH : BFFBE005F3847A1AA48EC7029FBFFC0C : (qos0) [/ixxt/prxxe/ESP32/], size=36, retain=false, dup=false, dupDetected=false : domainName=hub-xxx_xxx : userName=xxx_xxx : clientId=xxx@xxxx.xxxx : role=server : RemoteAddr=xx.xx.xx.xx
MYQTT: 16-08-2020 14:41:41 INFO  [9] e.a.r.m.l.MyQttConn - PUBLISH : CD80B4A7E5903949D3689F749078F8A7 : (qos0) [/icxxt/prexxe/ESP32/], size=36, retain=false, dup=false, dupDetected=false : domainName=hub-xxx_xxx : userName=xxx_xxx : clientId=xxx@xxxx.xxxx : role=server : RemoteAddr=xx.xx.xx.xx
MYQTT: 16-08-2020 14:43:04 INFO  [7] e.a.r.m.l.MyQttConn - PUBLISH : D034D5E7FF8DD6CCAF0867E55AEF4966 : (qos0) [/icxx/prexx/ESP32/], size=36, retain=false, dup=false, dupDetected=false : domainName=hub-xxx_xxx : userName=xxx_xxx : clientId=xxx@xxxx.xxxx : role=server : RemoteAddr=xx.xx.xx.xx
MYQTT: 16-08-2020 14:49:53 INFO  [2] e.a.r.m.l.MyQttConn - PUBLISH : 594539F43D9880D0A213B955DF06DD81 : (qos0) [/icxx/prexxe/ESP32/], size=36, retain=false, dup=false, dupDetected=false : domainName=hub-xxx_xxx : userName=xxx_xxx : clientId=xxx@xxxx.xxxx : role=server : RemoteAddr=xx.xx.xx.xx
MYQTT: 16-08-2020 14:49:54 INFO  [5] e.a.r.m.l.MyQttConn - PUBLISH : F5970B4F56D276680DEB9F1DBF7FEFDB : (qos0) [esp32/Ixxe], size=15, retain=false, dup=false, dupDetected=false : domainName=hub-xxx_xxx : userName=xxx_xxx : clientId=xxx@xxxx.xxxx : role=server : RemoteAddr=xx.xx.xx.xx

You can see messages are sent with a small size (up to 36), so what will consume 1 quota message.
With this approximate indication, we have the following consumption by day:

01-08-2020 : 0
02-08-2020 : 0
03-08-2020 : 0
04-08-2020 : 0
05-08-2020 : 0
06-08-2020 : 0
07-08-2020 : 40
08-08-2020 : 0
09-08-2020 : 0
10-08-2020 : 0
11-08-2020 : 4165
12-08-2020 : 19537
13-08-2020 : 0
14-08-2020 : 0
15-08-2020 : 0
16-08-2020 : 60 <-- day reported
17-08-2020 : 0
18-08-2020 : 0
19-08-2020 : 0
20-08-2020 : 0
21-08-2020 : 0

This matches with your panel consuption. The day you reported, you did have that time 38 messages
sent. Finally, it was 60 for that day.

If you take all values accumulated, we have 40, 4165, 19537:

40 + 4165 + 19537 + 38
23780

Looking at the day (12-08-2020), we see a good amount of PUBLISH messages, all of them published
to these blurred topics so you can get an idea:

Hexxx\Ixxx_xxb
Hxxx\Uxx_xxb

Please check these indications and let us know about your error to see if we can help you.
Best Regards,


#3

Hello

I am also experiencing the same problem and cannot understand why or where I am going wrong, is there anywhere I can check on message sizes as described above.

Reagrds Ian


#4

Hello Ian,

We will add a quota consuption inspector so you can better track where are these quota units consumed.

Untill then, please, check the following document to know about messages quota is accounted (including quota consuming by panels):

Best Regards,


#5

Hello Christian

I have read the item on how the messages are counted, I upgraded my account and the message is still showing which according to Fransisco in support the message should not be showing as I am within Quota limits and is passing the problem to programming…

Hope this helps others in a similar situation, as far as I can tell if the Quota panels are all Blue then there is no quota problems even if the Quota reached message is showing, if the quota panels turn red then the allotted quota has been reached.

Regards

Ian