<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Andrea Giudiceandrea,</p>
    <p>I opened this issue <a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/issues/50369">https://github.com/qgis/QGIS/issues/50369</a> as
      up to the latest version 3.26.3 QGIS still has this problem.<br>
    </p>
    <p>Best regards,<br>
    </p>
    <div class="moz-cite-prefix">On 9/27/22 12:18 PM, Andrea
      Giudiceandrea via Qgis-user wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:a1915bc1-f5db-4ca7-8dfd-92ea64990287@libero.it">
      
      <blockquote type="cite"><b style="color: rgb(0, 0, 0);
          font-family: "Times New Roman"; font-size: medium;
          font-style: normal; font-variant-ligatures: normal;
          font-variant-caps: normal; letter-spacing: normal; orphans: 2;
          text-align: start; text-indent: 0px; text-transform: none;
          white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; text-decoration-thickness:
          initial; text-decoration-style: initial;
          text-decoration-color: initial;">Bang Pham Huu</b><span style="color: rgb(0, 0, 0); font-family: "Times New
          Roman"; font-size: medium; font-style: normal;
          font-variant-ligatures: normal; font-variant-caps: normal;
          font-weight: 400; letter-spacing: normal; orphans: 2;
          text-align: start; text-indent: 0px; text-transform: none;
          white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; background-color: rgb(255,
          255, 255); text-decoration-thickness: initial;
          text-decoration-style: initial; text-decoration-color:
          initial; display: inline !important; float: none;"><span> </span></span><a href="mailto:qgis-user%40lists.osgeo.org?Subject=Re%3A%20%5BQgis-user%5D%20QGIS%20WMS%20GetMap%20requests%20failed%20with%20%22Host%20requires%2C%0A%20authentication%22%2C%20but%20not%20WMS%20GetCapabilities%3F&In-Reply-To=%3Cedae5778-a66b-ea40-3e8d-6e626d06cc1e%40jacobs-university.de%3E" title="[Qgis-user] QGIS WMS GetMap requests failed with
          "Host requires, authentication", but not WMS
          GetCapabilities?" style="font-family: "Times New
          Roman"; font-size: medium; font-style: normal;
          font-variant-ligatures: normal; font-variant-caps: normal;
          font-weight: 400; letter-spacing: normal; orphans: 2;
          text-align: start; text-indent: 0px; text-transform: none;
          white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-text-stroke-width: 0px;" moz-do-not-send="true">b.phamhuu
          at jacobs-university.de</a><br style="color: rgb(0, 0, 0);
          font-family: "Times New Roman"; font-size: medium;
          font-style: normal; font-variant-ligatures: normal;
          font-variant-caps: normal; font-weight: 400; letter-spacing:
          normal; orphans: 2; text-align: start; text-indent: 0px;
          text-transform: none; white-space: normal; widows: 2;
          word-spacing: 0px; -webkit-text-stroke-width: 0px;
          text-decoration-thickness: initial; text-decoration-style:
          initial; text-decoration-color: initial;">
        <i style="color: rgb(0, 0, 0); font-family: "Times New
          Roman"; font-size: medium; font-variant-ligatures:
          normal; font-variant-caps: normal; font-weight: 400;
          letter-spacing: normal; orphans: 2; text-align: start;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
          text-decoration-thickness: initial; text-decoration-style:
          initial; text-decoration-color: initial;">Mon Sep 26 23:24:10
          PDT 2022</i><span style="color: rgb(0, 0, 0); font-family:
          "Times New Roman"; font-size: medium; font-style:
          normal; font-variant-ligatures: normal; font-variant-caps:
          normal; font-weight: 400; letter-spacing: normal; orphans: 2;
          text-align: start; text-indent: 0px; text-transform: none;
          white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; background-color: rgb(255,
          255, 255); text-decoration-thickness: initial;
          text-decoration-style: initial; text-decoration-color:
          initial; display: inline !important; float: none;"></span>
        <hr style="color: rgb(0, 0, 0); font-family: "Times New
          Roman"; font-size: medium; font-style: normal;
          font-variant-ligatures: normal; font-variant-caps: normal;
          font-weight: 400; letter-spacing: normal; orphans: 2;
          text-align: start; text-indent: 0px; text-transform: none;
          white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; text-decoration-thickness:
          initial; text-decoration-style: initial;
          text-decoration-color: initial;">
        <pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"> 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).
</pre>
      </blockquote>
      <br>
      Hi Bang Pham Huu ,<br>
      you may be able to check what's going wrong using the
      "Debugging/Development Tools" panel [1].<br>
      <br>
      I think it could be worth to file an issue report at [2].<br>
      <br>
      Best regards.<br>
      <br>
      Andrea Giudiceandrea<br>
      <br>
      <br>
      [1]
      <a class="moz-txt-link-freetext" href="https://docs.qgis.org/3.22/en/docs/user_manual/introduction/general_tools.html#debug-dev-tools" moz-do-not-send="true">https://docs.qgis.org/3.22/en/docs/user_manual/introduction/general_tools.html#debug-dev-tools</a><br>
      [2] <a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/issues" moz-do-not-send="true">https://github.com/qgis/QGIS/issues</a><br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
  </body>
</html>