I have been observing a lot of GSBv2 lookups failing today with 403
errors. I have a updated local cache and am using a single API key.
The percentage of lookups that failed today with 403 errors is ~10%
Any ideas why this may be happening ?
-Deepak
When I was checking hash prefixes against google's full hashes, google was returning a 204 (no content). If I asked the same request too many times, I started getting 403's.
Make sure your code is storing some local stub after receiving a 204 to ensure you do not spam google's servers. Keep track of all outbound connections to google.
Sent from my iPhone
> --
> You received this message because you are subscribed to the Google Groups "Google Safe Browsing API" group.
> To post to this group, send email to google-safe-...@googlegroups.com.
> To unsubscribe from this group, send email to google-safe-browsi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-safe-browsing-api?hl=en.
>
Do you remember how much time you cached this information ? Also, is
there any reference to this in the GSBv2 API Doc because I couldn't
find any information on this.
-Deepak
On Dec 8, 6:20 pm, Patrick Kelley <peanutbutterkrac...@gmail.com>
wrote:
> I had this problem as well.
>
> When I was checking hash prefixes against google's full hashes, google was returning a 204 (no content). If I asked the same request too many times, I started getting 403's.
>
> Make sure your code is storing some local stub after receiving a 204 to ensure you do not spam google's servers. Keep track of all outbound connections to google.
>
> Sent from my iPhone
>
How many URLs are you scanning per hour?
Sent from my iPhone
I have informed you about our API-key and users count in april.
There was no answer, so I don't know if our API-key is provisioned for
additioanl users or not.
Some days ago we start getting 403 errors.
What should I do know?
On 9 дек, 22:58, Garrett Casto <gca...@google.com> wrote:
> You should only be getting 403's if you are sending more than ~10qps. Are
> you sending more requests than that? We ask that you inform us if you are
> going to send us more than 10,000 qps for this reason, so we exempt you if
> necessary.
>
> As for caching, I think that the reason we don't have this covered in the
> normal documentation is that different clients have done different things,
> and we haven't decided what we think should be the standard. The easiest
> thing to do is what Chrome does, which is cache until the next update. If
> you are getting throttled just because of multiple requests, this will
> probably fix the issue.
>
> Garrett
>
> On Thu, Dec 8, 2011 at 8:29 PM, Patrick Kelley <
>
>
>
>
>
>
>
> peanutbutterkrac...@gmail.com> wrote:
> > I picked an arbitrary timeout of 5 minutes. I don't believe this scenario
> > is covered in the API documentation.
>
> > How many URLs are you scanning per hour?
>
> > Sent from my iPhone
>