streetcomplete / StreetComplete

Easy to use OpenStreetMap editor for Android
https://streetcomplete.app
GNU General Public License v3.0
3.85k stars 352 forks source link

Search for new quests does not work #1105

Closed Giant3 closed 6 years ago

Giant3 commented 6 years ago

I cannot search for new quests, it always says: try it later. So I reinstalled the app, but still it does not work. I installed a older version of the app too, but still this issue. It can load the map and upload quests, which I downloaded before I had this issue.

westnordost commented 6 years ago

Its not an issue of the app, that's why it says tp try it later. Probably, the Overpass api server had (or has) some problems

On June 16, 2018 12:39:17 PM GMT+02:00, Giant3 notifications@github.com wrote:

I cannot search for new quests, it always says: try it later. So I reinstalled the app, but still it does not work. I installed a older version of the app too, but still this issue. It can load the map and upload quests, which I downloaded before I had this issue.

matkoniecz commented 6 years ago

Is it still not working for you? Are other apps requiring internet working correctly?

Giant3 commented 6 years ago

Yeah, it is still not working. All other apps are working correctly.

westnordost commented 6 years ago

The "try again later" message comes up when it is getting a HTTP status code from the Overpass server that is neither OK nor any 4xx. In other words, a "server error", I expect.

What happens if you try to load this URL in your browser on your smartphone?

https://overpass-api.de/api/interpreter?data=[bbox:53,9,54,10];node[shop=supermarket];out%20body;

stefannagy commented 6 years ago

I'm affected by the same issue for several days now. After reading this I deleted the cache, all app data, deinstalled and then reinstalled the app. Now I just lost the quests I downloaded weeks ago… I still get the error message mentioned above. I'm using StreetComplete 5.2 installed via F-Droid.

When I try to load the URL in Fennec a file called interpreter (158 KB) is being downloaded.

Giant3 commented 6 years ago

@westnordost works, like stefannagy.

westnordost commented 6 years ago

We will find the problem. So, I understand that

I built this version for you: http://www.westnordost.de/misc/streetcomplete-v6.0-beta1-debug.apk . It is a modified Version 6.0-beta1 that always asks you to send an email to me if there was any kind of error during downloading the quests. Would you please install and execute it and send me the email when the dialog about the error pops up? This way, I will get more details about what status code the Overpass server returned

stefannagy commented 6 years ago

I sent you an email.

I can't really confirm that it started only a few days ago. I didn't use StreetComplete for a few weeks, some days ago I startend using it again and since then I'm affected by this issue.

westnordost commented 6 years ago

Can you tell me where you searched for quests? It turns out that the error happens when downloading the notes from the OSM server (the first thing that happens). Maybe the notes parser has a bug and cannot handle notes that contain certain text.

stefannagy commented 6 years ago

I was searching for quests in the 4th/5th district oft Vienna, Austria.

westnordost commented 6 years ago

The source of this problem might be this merged PR: https://github.com/openstreetmap/openstreetmap-website/pull/1576

A note (comment?) can have an additional action/status but the osmapi library does not understand this. It is also not documented, hm.

stefannagy commented 6 years ago

I just tried to search for new quests in the 10th district oft Vienna and couldn't repruduce this bug. So you're right, it has sonething to do with the location for which you're searching quests.

westnordost commented 6 years ago

All notes in Vienna: https://api.openstreetmap.org/api/0.6/notes?bbox=16.2,48.1,16.5,48.3

stefannagy commented 6 years ago

Please try in this area to reproduce this issue: https://osm.org/go/0JrISxMZ--

JeanFred commented 6 years ago

Interesting − I also had repeatedly issues recently when trying to fetch quests in Vienna − can’t recall all insatnces, but at least for sure in the 20th district.

stefannagy commented 6 years ago

All notes in Vienna: https://api.openstreetmap.org/api/0.6/notes?bbox=16.2,48.1,16.5,48.3

Should i try something with this link?

westnordost commented 6 years ago

No, I found the cause.