[Qgis-user] WMS GetMap request failed on secured endpoint with basic header authentication?

Bang Pham Huu b.phamhuu at jacobs-university.de
Mon Sep 26 03:46:06 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,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220926/3800efa7/attachment.htm>


More information about the Qgis-user mailing list