Open raphael0202 opened 3 months ago
Hypothesis: Hidden in dev mode, we have the offline mode, which could be doing such queries, but we have never advertised it @g123k
Just had this issue: when you go to the "welcome monsieurtanuki" page, we automatically compute the number of products you added, you modified, you photographed, you need to complete:
search.pl
queries in parallel<!DOCTYPE html><html><head><meta name="robots" content="noindex"></head><body>
<h1>TOO MANY REQUESTS</h1>
<p>You are sending too many requests to our servers.</p><p>To know more about the rate limits we enforce, please refer to the <a href="https://openfoodfacts.github.io/openfoodfacts-server/api/#rate-limits">rate-limit section in our documentation</a>.</p>
<p>If you need to download data about a large number of products, it's preferable to <a href="https://world.openfoodfacts.org/data">download a data dump</a>. If this is unexpected, contact us on Slack or write us an email at <a href="mailto:contact@openfoodfacts.org">contact@openfoodfacts.org</a>.</p>
</body></html>
We have a project to redesign this tab and I think we should do it, even without the real concept of "For me". And in this particular case, it would make sense to cache data and even give some range (e.g. : instead of 7, let's say between 5 and 10), which would be OK until the next refresh
@raphael0202 could you put the search parameters ? It would help us pinpoint which part of the app is faulty. We could also add more instrumentation Smoothie side.
FYI We can track all network requests with the Flutter DevTools. But there is nothing suspicious on the search and the profile. It might be related to poor network conditions.
@raphael0202 could you put the search parameters ? It would help us pinpoint which part of the app is faulty.
No it's a POST request, we don't have access from nginx logs to the content
I found out in the logs that Smoothie app may send a high amount of search queries in a short timeframe:
There is probably a bug underneath.