Bug report #21518

Resize layout window will cause system hang if map contains ArcGIS map server layer

Added by Larry Wu about 5 years ago. Updated about 5 years ago.

Affected QGIS version:3.4.5 Regression?:No
Operating System:Windows 7 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29335


Steps to repeat the bug:
1. Open a new project
2. Add an ArcGIS Map Server layer to map
3. Add a new print layout
4. Add Item -> Add Map to the layout in the layout window
5. Resize the layout window by dragging the window border, QGIS will then hang

After a long time, system recovered, and an error message prompted in QGIS window, saying network timeout, looks like:
WARNING Network request http://localhost:6080/arcgis/rest/services/QGIS/Basemap_Cached/MapServer?f=json timed out
WARNING Network request http://localhost:6080/arcgis/rest/services/QGIS/Basemap_Cached/MapServer/0?f=json timed out

By using Fiddler capture network traffic, it was found when QGIS accessing the reported URL address, it received HTTP/1.1 304 Not Modified, while the URL address can be correctly opened by browser.


#1 Updated by Giovanni Manghi about 5 years ago

  • Affected QGIS version changed from 3.4.2 to 3.4.5

Replicated on 3.4.5 with a random service https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer

but does not seems to happen in 3.6

Also available in: Atom PDF