Comments (8)
Why are you showing a picture of the browser console rather than the UI which I believe would have clearly shown "rate limit exceeded" or similar as the error?
I can't comment on the specifics of whether the limit was correct without knowing the user you were trying to comment as.
from openstreetmap-website.
I found your account and the problem is that there is an unresolved report against it, but we are overcounting the number of reports which is making the restriction harder than intended.
from openstreetmap-website.
Hopefully b5995c5 should fix the over-enthusiastic rate limit.
from openstreetmap-website.
Why are you showing a picture of the browser console rather than the UI which I believe would have clearly shown "rate limit exceeded" or similar as the error?
By "it fails silently" I meant that there is nothing in UI indicating a problem and I needed to check network logs to understand what is going on. My adblock is disabled at osm website.
I tried to reproduce it and failed - so likely either b5995c5 is deployed and works or someone resolved bogus report.
Still, wondering about missing error message show if it was supposed to appear....
from openstreetmap-website.
There is something odd going on - it definitely used to work but despite the response including status: 429 Too Many Requests
that is not being passed to the xhr error callback so we wind up displaying a blank error message.
Not sure if it's a browser change, or something in rails 7.1 or what...
from openstreetmap-website.
I'm not really sure how the traditional status text from the response is passed in HTTP/2.0 but I'm guessing that is missing... I was thinking the status header had replaced it but I think that is separate.
Using xhr.getResponseHeader("status")
does get the header and xhr.status
is 429 but xhr.statusText
is just "error" and the actual error passed in the third argument of the callback is completely blank.
from openstreetmap-website.
Apparently HTTP/2 doesn't support the text part of the traditional status line which is helpful... What I don't understand it how this worked in testing when originally implemented :-(
from openstreetmap-website.
https://stackoverflow.com/a/41637669/2194590
The http/2 protocol does not define this statustext anymore, so it is filled for the xhr api from the browser:
https://greenbytes.de/tech/webdav/rfc7540.html#rfc.section.8.1.2.4.p.2
What I don't understand it how this worked in testing when originally implemented :-(
Test server uses http1.1?
from openstreetmap-website.
Related Issues (20)
- Export data from Openstreetmap-website
- "Feature" Request: A copyright warning for newbies. HOT 6
- OAuth 2: Granting partial permissions not possible HOT 18
- Create & comment notes possible with access token without `write_notes` permission HOT 7
- OAuth 2: requiring `redirect_uri` is not compliant to RFC 6749 HOT 2
- Some developers will need to upgrade their rubygems HOT 3
- Report a feature in the website HOT 1
- Rate-limit on (anonymous) notes? HOT 5
- RTL text view on Safari iOS compared to Firefox HOT 5
- Report rate limit settings in capabilities API call HOT 4
- Blocked upload due to rate limiting counts as successful upload HOT 3
- Say "edit using this trace"
- Annonymous note message is misleading HOT 5
- Add profile pictures to object (nwr), history and changeset views HOT 3
- Feature request: Wikipedia links and name tooltips for Wikidata tags HOT 3
- Add openairportmap.org as link to tags with icao-key HOT 3
- Hardcoded rate limit value leads to slow tests
- Mobile: Edit button hidden HOT 2
- Why i am blocked by Fizzie41 in OpenStreetMap HOT 2
- Rename the "Add a note to the map button" to "Report an error on map" HOT 5
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 openstreetmap-website.