Comments (6)
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.
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
<!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.
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.
@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.
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](https://private-user-images.githubusercontent.com/246838/340325668-1595f67d-eb3e-49c9-b86b-37b5fa956ce5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ5NzU1ODQsIm5iZiI6MTcyNDk3NTI4NCwicGF0aCI6Ii8yNDY4MzgvMzQwMzI1NjY4LTE1OTVmNjdkLWViM2UtNDljOS1iODZiLTM3YjVmYTk1NmNlNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyOVQyMzQ4MDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03OTU3YTA3M2ZiZWRhMjRhZDE1NjZmM2JkNzlkYjFjYTU3NTc2ZWIwYzkzMDJjYmRhZjY3MDlhNDRiMjcyODQzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.wcCD0HR_QuRYy5ugBqyiXuCe9giZxJSX2KhsJ777NTg)
from smooth-app.
@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)
- (Brainstorm) Add a page listing all the features of the app, with icons, and the ability to deep-dive HOT 2
- Upgrade dependencies of the project HOT 1
- Harmonize search screens
- Analytics/Matomo: Add a parameter if the user is logged in
- Add events recently added to the mobile app in analytics.openfoodfacts.org
- bug on opening deep link for login from nutripatrol HOT 1
- [Feedback requested] Improved screen to input Basic Details HOT 4
- Add the option to add products from a receipt to a local list HOT 1
- Allow jumping into product edit from receipt addition HOT 1
- Allow to switch the Open Prices endpoint in Dev Mode HOT 2
- Migration to `shared_preferences` 2.3
- Add missing content pages
- Add a screen to subscribe to the community calendar
- Task: Update the version number for iOS to pass
- [Feedback requested] Reorg. of the code HOT 1
- Allow to add prices of products without barcode HOT 2
- FormatException: FormatException: Unexpected character (at character 1) HOT 3
- Robotoff question not showing up HOT 1
- Adding price through smooth-app 4.15, can't seem to find the shop
- When using "DEV" server for Open Prices, images are still fetched from PROD server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smooth-app.