Google API: Daily Limit Exceeded

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Google API: Daily Limit Exceeded

Pete Biggs

Evo 3.24.6 on Fedora 26

I've started getting Daily Limit Exceeded messages again for my Google
Calendars. It refers to project #590402290962. Has something changed
recently with the API or project?

P.

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Google API: Daily Limit Exceeded

John Edward Serink
Same here.
-- 
John Edward Serink Product Applications Engineer, Advanced Positioning Trimble Navigation Singapore PTE Ltd. 80 Marine Parade Road, Co. Reg. No. 199204958W #22-06 Parkway Parade Singapore 449269 Tel 65-6348-2212 Fax 65-6348-2232 DID 65-6348-2178 HP  65-9129-4250 Skype: johnserink

On Thu, 2017-10-26 at 08:12 +0100, Pete Biggs wrote:
Evo 3.24.6 on Fedora 26

I've started getting Daily Limit Exceeded messages again for my Google
Calendars. It refers to project #590402290962. Has something changed
recently with the API or project?

P.

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Google API: Daily Limit Exceeded

Milan Crha
In reply to this post by Pete Biggs
On Thu, 2017-10-26 at 08:12 +0100, Pete Biggs wrote:
> I've started getting Daily Limit Exceeded messages again for my
> Google Calendars.

        Hi,
is it for Calendars, or for Tasks? They treat them separately.

> It refers to project #590402290962.

That's for Evolution itself, thus you've them configured directly in
Evolution, not from GOA, right?

> Has something changed recently with the API or project?

Nothing on the key itself. The key has a 50.000 requests error limit
for Tasks, which is hit often "these days" (CalDAV has 1.000.000, while
the GOA key has 5M for CalDAV, and the same 50K for Tasks). I see the
error for Tasks and I made some changes recently to minimize the impact
of the time format change and old libgdata usage with [1]. It's part of
3.27.1 and to-be-released-on-Monday 3.26.2. The 3.24.x had not been
touched. I believe the [1] has the major impact (if I recall correctly,
the Google changed format of the time specified in queries, where the
correct change is to update libgdata to use it, but it doesn't always
happen, thus I made the [2] (which is part of 3.26.0) followed by [1]).

Still, the [1] and [2] are just workarounds to cover cases where
unpatched libgdata is used (or when Google decides to change the time
format in queries again).
        Bye,
        Milan

[1] https://git.gnome.org/browse/evolution-data-server/commit/?id=fb15aca9e2ad16e1fa58d
[2] https://bugzilla.gnome.org/show_bug.cgi?id=785952
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Google API: Daily Limit Exceeded

Pete Biggs
On Thu, 2017-10-26 at 10:52 +0200, Milan Crha wrote:
> On Thu, 2017-10-26 at 08:12 +0100, Pete Biggs wrote:
> > I've started getting Daily Limit Exceeded messages again for my
> > Google Calendars.
>
> Hi,
> is it for Calendars, or for Tasks? They treat them separately.

It is for Calendars - I don't use Google for tasks.

>
> > It refers to project #590402290962.
>
> That's for Evolution itself, thus you've them configured directly in
> Evolution, not from GOA, right?

Correct.  I had problems with GoA at some point and when Evo
implemented the correct authentication I switched to that.  (No, I
can't remember what the issue with GoA was now.)

Is there a correct or best way to be doing it?

>
> > Has something changed recently with the API or project?
>
> Nothing on the key itself. The key has a 50.000 requests error limit
> for Tasks, which is hit often "these days" (CalDAV has 1.000.000, while
> the GOA key has 5M for CalDAV, and the same 50K for Tasks).

I don't know anything about the API and developer side of Google - what
determines the request limit? Do you have to make a case to get it
increased or is it a matter of money or is it Google's perception of
how important/big the project is?

And you said "requests error limit", whereas the error message just
says "exceeded daily limit". So is the limit on the number of errors or
on the overall number of requests?


>  I see the
> error for Tasks and I made some changes recently to minimize the impact
> of the time format change and old libgdata usage with [1]. It's part of
> 3.27.1 and to-be-released-on-Monday 3.26.2. The 3.24.x had not been
> touched.

If its an error limit thing, and since there will be a fair number of
people still on 3.24, will 3.26 still be affected by the Google limit
because the users of 3.24 will be breaking things? Is there any
possibility of back-porting patches into 3.24?

P.

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Google API: Daily Limit Exceeded

Milan Crha
        Hi,

On Thu, 2017-10-26 at 10:34 +0100, Pete Biggs wrote:
> It is for Calendars - I don't use Google for tasks.

Weird, I didn't see it with calendars, only with tasks. Maybe I've been
just lucky (I also have in-evo configured Google calendars (and
tasks)).

> Is there a correct or best way to be doing it?

Nope, it's not about it. Anyone can use whatever fits him/her the best.
The time when it had been suggested to not use GOA was mostly due to
its key having these issues with daily limits.

> I don't know anything about the API and developer side of Google -
> what determines the request limit? Do you have to make a case to get
> it increased or is it a matter of money or is it Google's perception
> of how important/big the project is?

The key has assigned some limit by default. If one needs more, then
he/she asks Google folks. I didn't ask myself yet.

> And you said "requests error limit", whereas the error message just
> says "exceeded daily limit". So is the limit on the number of errors
> or on the overall number of requests?

Right, ambiguous wording, I'm sorry. The quota is basically about: how
many error requests the application using the keys can make, before it
reaches its daily limit. Once reached, everyone trying to use those
keys gets the error.

> If its an error limit thing, and since there will be a fair number of
> people still on 3.24, will 3.26 still be affected by the Google limit
> because the users of 3.24 will be breaking things?

It's all about keys being used. Some time ago, GOA begun to use new
keys, because eds had a bad issue and there was no power to let
everyone update to patched versions. I'd rather not ask for new keys
again (for evo, not for GOA).

> Is there any possibility of back-porting patches into 3.24?

Yes, there is. For the tasks, where I'm aware where the issue was. For
calendars... hmm, maybe this one:
https://git.gnome.org/browse/evolution-data-server/commit/?id=c4c5c0ae8bc9e
but it's related to 3.26 only (will be part of 3.26.2). Unfortunately
the errors do not show which client versions are used, only what error
code had been returned by the server. It helps a bit, just not always.

        Bye,
        Milan

_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Google API: Daily Limit Exceeded

Pete Biggs

> On Thu, 2017-10-26 at 10:34 +0100, Pete Biggs wrote:
> > It is for Calendars - I don't use Google for tasks.
>
> Weird, I didn't see it with calendars, only with tasks. Maybe I've been
> just lucky (I also have in-evo configured Google calendars (and
> tasks)).

And I didn't get any errors this morning ...

>
>
> > And you said "requests error limit", whereas the error message just
> > says "exceeded daily limit". So is the limit on the number of errors
> > or on the overall number of requests?
>
> Right, ambiguous wording, I'm sorry. The quota is basically about: how
> many error requests the application using the keys can make, before it
> reaches its daily limit. Once reached, everyone trying to use those
> keys gets the error.

No problem - when this was last discussed I had sort of assumed that it
was an overall rate-limiting thing, it's just when you mentioned an
error limit I realised that wasn't the case. TBH, I had never really
thought very deeply about it all! (But it's good to learn about these
things.)

>
>
> > Is there any possibility of back-porting patches into 3.24?
>
> Yes, there is. For the tasks, where I'm aware where the issue was. For
> calendars... hmm, maybe this one:
> https://git.gnome.org/browse/evolution-data-server/commit/?id=c4c5c0ae8bc9e
> but it's related to 3.26 only (will be part of 3.26.2). Unfortunately
> the errors do not show which client versions are used, only what error
> code had been returned by the server. It helps a bit, just not always.
>
I suppose then that it could be the errors in the 3.26 version
affecting the users of 3.24? Is the userbase of 3.26 high enough yet
for it to be an issue? I suppose it will be in a couple of weeks when
Fedora 27 is released.

P.


_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list
Reply | Threaded
Open this post in threaded view
|

Re: Google API: Daily Limit Exceeded

Milan Crha
On Fri, 2017-10-27 at 08:43 +0100, Pete Biggs wrote:
> I suppose then that it could be the errors in the 3.26 version
> affecting the users of 3.24? Is the userbase of 3.26 high enough yet
> for it to be an issue?

        Hi,
that's the question. I made some semi-drastic changes in CalDAV/CardDAV
for 3.26 (they both share common code and are capable of offline
usage), but I also made some things wrong. Thus it's likely it's 3.26
misbehaving at the moment. The 3.26.2 goes out the next week. People
will update to it soon, hopefully, and they'll also restart background
processes, because the CalDAV/CardDAV code lives in the factory-
subprocess processes.
        Bye,
        Milan
_______________________________________________
evolution-list mailing list
[hidden email]
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list