3liz / QuickOSM

QGIS plugin to fetch OSM data with the Overpass API
GNU General Public License v2.0
180 stars 54 forks source link

Download failed: The specified configuration cannot be used. #458

Open kateregga1 opened 1 year ago

kateregga1 commented 1 year ago

What is the bug?

QuickOSM not working, and returns the error Overpass API: Download failed: Specified configuration cannot be used. ###Logs ``` 2023-03-23T20:56:19 INFO Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node[%22highway%22]( 16.95389,-0.35283,16.95786,-0.34661);%0A way[%22highway%22]( 16.95389,-0.35283,16.95786,-0.34661);%0A relation[%22highway%22]( 16.95389,-0.35283,16.95786,-0.34661);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin 2023-03-23T20:56:19 CRITICAL Download failed: The specified configuration cannot be used. 2023-03-23T20:56:38 INFO All OSM objects with the key 'highway' in the canvas or layer extent are going to be downloaded. 2023-03-23T20:56:38 INFO Query: highway 2023-03-23T20:56:38 INFO Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node[%22highway%22]( 16.95389,-0.35283,16.95786,-0.34661);%0A way[%22highway%22]( 16.95389,-0.35283,16.95786,-0.34661);%0A relation[%22highway%22]( 16.95389,-0.35283,16.95786,-0.34661);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin 2023-03-23T20:56:38 CRITICAL Download failed: The specified configuration cannot be used. ``` ### Environment
Gustry commented 1 year ago

Hi @kateregga1

Sorry, as I can't replicate, I'm missing some context about this error. Can you always replicate ? Are you using a proxy or something ? Is-it only related to the new version of QuickOSM ?

kateregga1 commented 1 year ago

Hi @Gustry

Now it is returning the error OverpassAPI timeout, try again latter or smaller query. So I think the error is from the overpassAPI time out, even if I zoom in to a very small area the same error occurs

Log

2023-03-24T13:45:32     INFO    All OSM objects with the key 'building' in the canvas or layer extent are going to be downloaded.
2023-03-24T13:45:32     INFO    Query: building
2023-03-24T13:45:32     INFO    Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node[%22building%22]( 16.95288,-0.34731,16.95536,-0.34273);%0A way[%22building%22]( 16.95288,-0.34731,16.95536,-0.34273);%0A relation[%22building%22]( 16.95288,-0.34731,16.95536,-0.34273);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2023-03-24T13:46:32     CRITICAL    Download failed: Operation canceled

image

Gustry commented 1 year ago

It's easy to debug by copy/pasting the URL in your webbrowser : https://lz4.overpass-api.de/api/interpreter?data=[out:xml][timeout:25];%0A(%0A node%22building%22;%0A way%22building%22;%0A relation%22building%22;%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin

it fails indeed for this query.

But for the one yesterday, it don't know which part was triggering this issue.

mmd-osm commented 1 year ago

lz4.overpass-api.de as a server name is no longer available, it has been replaced by another server with a different name. Please use overpass-api.de instead.

Gustry commented 1 year ago

Please upgrade to 2.2.1