-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Timeout issue from the settings in QGIS general properties #402
Comments
I just copy/paste your query in my webbrowser (so not using QuickOSM), the server is aborting my request as well. The URL is in your logs at 16:02:18. Answer from the server :
So it's not linked to QuickOSM. |
Thanks for checking! So the http request times out after 120 s as defined wheras the QuickOSM error message is risen after 60 s. |
The 60 seconds might come from your QGIS Settings -> Network -> First value ? Do you have 60000ms ? Try to increase ? |
I changed it and there we go! Is it possible to distinguish between a network timeout due to a presetting and a cancellation by the server (server timeout)? |
Indeed, a few improvements can be done :
|
I was just confused by this too. It would be really nice to raise a warning to the user if there is a mismatch.
https://qgis.org/pyqgis/master/core/QgsNetworkAccessManager.html#qgis.core.QgsNetworkAccessManager.setTimeout might be worth a try, no idea if it overrides the global setting though. |
Thanks for checking the API. |
What is the bug?
Even though I set a timeout of 120 or even 900 seconds the operation is aborted after about 1 minute and I receive an error message as shown in the screenshot. This server timeout does not seem to be considered by QuickOSM. The server operator kumi.systems tested the request without any problems and confirmed their server should be able to process requests with timeouts of up to 24 hrs.
It seems like QucikOSM aborts the server connection after 1 minute without response from the interpreter.
This is my request:
The problem persists even if I reduce the keys to be checked to only one. Only when I reduce the bbox to a smaller area an output is successfully generated.
QGIS Messages panel:
QGIS QuickOSM Logs panel:
Environment
The text was updated successfully, but these errors were encountered: