[Qgis-user] QGIS WMS GetMap requests failed with "Host requires, authentication", but not WMS GetCapabilities?

Bang Pham Huu b.phamhuu at jacobs-university.de
Mon Sep 26 23:24:10 PDT 2022


Hello,

 I've tried to connect QGIS version 2 and 3 with a WMS service endpoint
 protected with basic authentication.

 The strange thing is, it can send WMS GetCapabilities without problem
 (with username and password given in the QIGS WMS login form).

 Images:

 - https://i.stack.imgur.com/J9Oji.png

 - https://i.stack.imgur.com/uJLiM.png

 However, it failed to send WMS GetMap with the given credentials. What
 is wrong here?


 2022-09-26T11:00:59 1   Map request failed [error:Host requires
 authentication
 url:https://REMOVED_ENDPOINT/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=16.92450000000000188,-41.97400000000000375,71.8995000000000033,55.71099999999999852&CRS=EPSG:4326&WIDTH=1156&HEIGHT=650&LAYERS=mundi.earthserver.xyz:7000:EU_DEM&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE]
 Thanks,


More information about the Qgis-user mailing list