Skip to content

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

Open

Description

@kateregga1

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

Activity

  1. added
    bug
    on Mar 23, 2023
  2. changed the title [-]QuickOSM not working[/-] [+]Download failed: The specified configuration cannot be used.[/+] on Mar 24, 2023
  3. Gustry commented on Mar 24, 2023

    @Gustry
    Collaborator

    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 ?

  4. kateregga1 commented on Mar 24, 2023

    @kateregga1
    Author

    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

  5. Gustry commented on Mar 24, 2023

    @Gustry
    Collaborator

    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.

  6. mmd-osm commented on Mar 28, 2023

    @mmd-osm

    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.

  7. Gustry commented on Mar 29, 2023

    @Gustry
    Collaborator

    Please upgrade to 2.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions