-
Notifications
You must be signed in to change notification settings - Fork 38
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
Read timeout to overpass-api after 120000 ms #889
Comments
Sounds like the same issue as #842 again? |
Hello, there! I got the same problem, with Overpass API request failing after 120s, when I set the request with a 1200s timeout. For the record, the request:
|
Any news on this issue? I have the same problem, also tried the |
The request is timing out because it hits the global socket idle timeout ( Changing the global idle timeout is an option, however, setting it too high could risk system resources being tied up in idle connections. An alternative solution, in the maproulette backend source, could be to create/inject a different instance of a WSClient with a longer idle timeout and use that instance (not the globally play-injected client) for the overpass requests. A workaround is to execute the query through the Overpass UI and then use the generated GeoJSON data to create the challenge. |
Hello,
I love to create challenges with Overpass API, but recently I 'saw' that the default timeout was lowered from 180s to 120s 😭
So I read the source code and I saw that if my overpass query start with
[out:json]
or[timeout:_TIME_]
then Maproulette should take in account my 'custom timeout'. But sadly something is not working properly and my custom timeout is not used.Here is a way to reproduce the issue:
or the same query but starting with
[out:json][timeout:180]
Read timeout to overpass-api.de/xxx.xxx.xxx.xxx:80 after 120000 ms
Part of the code to handle this timeout is in this file: ChallengeProvider.scala
Thanks all contributors for the good work done on Maproulette ❤️
The text was updated successfully, but these errors were encountered: