Skip to content
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

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

Open
kateregga1 opened this issue Mar 23, 2023 · 5 comments
Open

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

kateregga1 opened this issue Mar 23, 2023 · 5 comments
Labels
bug An identified bug

Comments

@kateregga1
Copy link

kateregga1 commented Mar 23, 2023

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

  • QuickOSM version: 2.2.0
  • QGIS version: 3.28.4-Firenze
  • OS: Kubuntu 22.10
@kateregga1 kateregga1 added the bug An identified bug label Mar 23, 2023
@Gustry Gustry changed the title QuickOSM not working Download failed: The specified configuration cannot be used. Mar 24, 2023
@Gustry
Copy link
Member

Gustry commented Mar 24, 2023

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
Copy link
Author

kateregga1 commented Mar 24, 2023

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
Copy link
Member

Gustry commented Mar 24, 2023

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
Copy link

mmd-osm commented Mar 28, 2023

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
Copy link
Member

Gustry commented Mar 29, 2023

Please upgrade to 2.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An identified bug
Projects
None yet
Development

No branches or pull requests

3 participants