kutt icon indicating copy to clipboard operation
kutt copied to clipboard

Prevent from hitting Google Safe API limit

Open abhijithvijayan opened this issue 5 years ago • 8 comments

kutt.it redirects with 429

abhijithvijayan avatar May 13 '19 22:05 abhijithvijayan

Yeah same issue here, {"error":"Request failed with status code 429"}.

429 status code is for Too Many Requests, so it's likely that there is some rate limiting going on for whatever reason.

zacwebb avatar May 13 '19 22:05 zacwebb

cant create links with the extension. previous links work.

abhijithvijayan avatar May 13 '19 22:05 abhijithvijayan

Yes, sorry it's for Google Safe API limit, seems like some spammers tried to abuse Kutt. I'm gonna find a way to prevent them from doing so in future.

poeti8 avatar May 14 '19 15:05 poeti8

@poeti8 why not using some honeypot?

uhlhosting avatar May 15 '19 04:05 uhlhosting

Just as an idea and I haven't checked the code to see if this is implemented, but Google Safe results could be cached in redis, this way duplicated urls would avoid hitting the API for a certain time (defined in the cache).

Couto avatar Dec 24 '19 12:12 Couto

@poeti8 do you know if the attacks were all with the same URL? If not we'd have to think of something smarter

trgwii avatar Jan 03 '20 13:01 trgwii

Why not just stop hitting google at all ?

TheCapsLock avatar Feb 12 '20 09:02 TheCapsLock

Same erro fro custm domain still exists!

abusayed0206 avatar Aug 30 '22 12:08 abusayed0206