lbryio / lbry-desktop

A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
https://lbry.tech
MIT License
3.56k stars 413 forks source link

Weird CORS issue with Lighthouse search #6273

Closed infinite-persistence closed 3 years ago

infinite-persistence commented 3 years ago

I'm guessing some spam-checking mechanism is kicking in, but I encountered this while really searching for something. The steps above is just the fastest way to reproduce the same error.

tzarebczan commented 3 years ago

this is a throttle from LH to prevent spam. The right solution would be https://github.com/lbryio/lbry-desktop/issues/6314

In this case, we can show a message that says "please try your search again in 1 minute"

infinite-persistence commented 3 years ago

A PR is coming up to do exactly as 6314.

However, I'm still frustrated at being penalized just for making typos. Example: I was searching for the binance dude, "CZ". Since 2 characters are not allowed, plus I can't recall his exact name, I did some trial-and-error but was penalized by the third attempt.

image

tzarebczan commented 3 years ago

I think once we get that Change in, we can relax the spam rules. We'd have to see about the 2 word search too...

infinite-persistence commented 3 years ago

Close

Not seeing the lockup anymore, since we are only sending queries 1s after typing idle