-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSM data not loading in Rapid #1304
Comments
That URL is currently working for me. There are a couple of possibilities here:
The first two problems should be transient; the last one would not be. For the potential ISP issues, if you open the browser console/network activity windows, can you get the API data directly? For a potential browser addon problem, what browser addons do you have installed? |
Agree with Taylor on these points- though i can say I was able to access the OSM API contemporaneously with Ed when he was having difficulties, and it loaded just fine for me. i think that rules out any sort of OSM-wide issue. No other conference goers were experiencing this either. |
Thanks for the responses. It happened a over a few days so it seems too regular to be an OSM API issue. I thought I remember it happening over both office and home Wifi so that could rule out my ISP, but I will test in the office tomorrow. It could be extension related, so I will try a few different things including incognito and report back. |
OSM data is not loading in Rapid as an APP. And also any work done is NOT saved and the App stays in a loop "uploading" but such uploading Never happens and all the work is trashed. ANNOYING!!! |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
New day, new network, no issues. I'll report back if I see any issues with OSM data loading. |
Thanks, it looks like have been some actual outages on the OSM service over the past few days. I think Rapid should do a better job handling these issues. From @eneerhut's screenshot, he's clearly not getting OSM data, but also not seeing any of the error messages. We do have some code to handle when the API is unavailable, but it doesn't cover this situation with the connection closed. We should detect it and let the user know. I think for all these kinds of failures, maybe the right course of action is to direct our users towards reporting the issue on openstreetmap/operations, since it's more for them to deal with. |
@jjiglesiasg : There was a persistent API scraper that was taking the OSM API offline for everyone else. The server admins did create a fix for it, such that ignoring 408 request timeout errors would be a really bad idea. Like "blocked for 12 hours" bad idea. Right now, it looks like it is restricted to one API endpoint (which I don't think iD or Rapid use), but if it is a malicious actor trying to bring OSM down, I would not be surprised if those rules are extended to the rest of the OSM API. In the future, before blaming Rapid, iD, or JOSM, please check to see if is something that is happening for everyone else (you can check openstreetmap/operations and the prometheus dashboard, ask on #osm IRC, OSM World Discord, etc.). In this case, the OSM API was down between 03:40 and 07:00 UTC. Should we handle issues when uploading better? Yes. We should never lose data. But we need to know what is happening. What were the network responses? Did the OSM server respond with a "good" response and the data never actually made it to the DB? Did the OSM server respond with an undocumented response? |
Thanks for the info, but I do not remember place the blame in ID, RAPID or JOSM for the situation. I just pointed that was happening in ID and RAPID who are the apps that I use. And yes, was annoying and I lose data because if you closed any of the apps without saving, the data is/was scrapped, not keep for future upload. |
Noticed this one again. This time using MapRoulette to cycle through San Francisco crosswalks. I am able to zoom into the same area in a new Rapid Editor/iD window and see all the data. Could it be possible that cycling through such crosswalk challenges in MapRoulette causes OSM rate limiting? |
Quick update on this, I've done a bunch of work over the past week on improving how we detect issues with the OSM API and surface them to users. It wasn't just one thing, but a bunch of weaknesses in the code that had accumulated over time. Now we're properly detecting when the user is under a rate limit, and we show users how much time is remaining with a count down. Here's a summary I sent our team earlier:
|
Description
I have had an issue on both macOS and Windows where OSM data does not load in Rapid. I tried the same area in iD Editor and the data loads straight away.
This is the area I am trying to map, but the same issue happened to me yesterday in New York City, and other occasions in different places. If I'm reading the console log correctly, it looks like Rapid is struggling to get the data from OSM's API.
Screenshots
Version
2.2.4
What browser are you seeing the problem on? What version are you running?
Chrome v120.0
The OS you're using
win
Steps to reproduce
The browser URL at the time you encountered the bug
https://rapideditor.org/edit#background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&map=20.00/-38.14955/144.35848
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
The text was updated successfully, but these errors were encountered: