<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <blockquote type="cite" cite="mid:2efcf4e3-fd35-f95e-a1f7-d93df0d5cd74@jacobs-university.de">
      <div class="moz-text-plain" wrap="true" style="font-family:
        -moz-fixed; font-size: 12px;" lang="x-unicode">
        <pre class="moz-quote-pre" wrap="">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:

- <a class="moz-txt-link-freetext" href="https://i.stack.imgur.com/J9Oji.png">https://i.stack.imgur.com/J9Oji.png</a>

- <a class="moz-txt-link-freetext" href="https://i.stack.imgur.com/uJLiM.png">https://i.stack.imgur.com/uJLiM.png</a>

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


</pre>
        <blockquote type="cite" style="color: #000000;">
          <pre class="moz-quote-pre" wrap="">2022-09-26T11:00:59 1   Map request failed [error:Host requires
authentication
url:<a class="moz-txt-link-freetext" href="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">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</a>]
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">Thanks,

</pre>
      </div>
    </blockquote>
  </body>
</html>