Giter Site home page Giter Site logo

Comments (6)

teolemon avatar teolemon commented on August 30, 2024

Hypothesis: Hidden in dev mode, we have the offline mode, which could be doing such queries, but we have never advertised it
@g123k

from smooth-app.

monsieurtanuki avatar monsieurtanuki commented on August 30, 2024

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:

  • each time you go to this page, it's triggered
  • each time those are four search.pl queries in parallel

image

<!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:[email protected]">[email protected]</a>.</p>
</body></html>

from smooth-app.

g123k avatar g123k commented on August 30, 2024

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

from smooth-app.

teolemon avatar teolemon commented on August 30, 2024

@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.

from smooth-app.

g123k avatar g123k commented on August 30, 2024

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.

Screenshot 2024-06-17 at 15 40 16

from smooth-app.

raphael0202 avatar raphael0202 commented on August 30, 2024

@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

from smooth-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.