Feature request #6441

Opening project with unavailable WMS layers takes too long

Added by marisn - over 4 years ago. Updated over 1 year ago.

Status:Closed Start Date:10/02/2012
Priority:Normal Due date:
Assigned to:- % Done:


Category:Project Loading / Saving
Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:


When opening a project file with WMS layers that are no more accessible (i.e. from a intranet server), opening of project takes a lot of time (tens of minutes!).
Reason - even if layer rendering is disabled, QGIS is issuing retrieveServerCapabilities (for preview?). If only way of WMS failure is timeout, then project loading is stopped till layer's WMS network connection times out. Rinse and repeat for every project WMS layer :(


Updated by Giovanni Manghi over 4 years ago

  • Status changed from Open to Feedback

on 1.8 or master or both?

Updated by Pirmin Kalberer over 4 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Updated by marisn - over 3 years ago

It's still an issue with 1.9.0-Master (tested with QGIS code revision e3b8b41)

Updated by Giovanni Manghi over 3 years ago

marisn - wrote:

It's still an issue with 1.9.0-Master (tested with QGIS code revision e3b8b41)

have you tried changing the "timeout for network request (ms)" in the general options?

Updated by Paolo Cavallini almost 3 years ago

  • Category set to Project Loading / Saving

Updated by Médéric RIBREUX over 1 year ago

  • Status changed from Feedback to Closed

Hello, bug triage...

I am closing this feature request for lack of feedback and because there is a good workaround (network timeout in the options).
I've made some tests and when the WMS service has changed or even the WMS server is not available, QGIS triggered a 'Handle bad layers' dialog box immediately.

Also available in: Atom