<div dir="ltr"><div dir="ltr">Collin and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 22, 2024 at 7:43 AM Collin Coe via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-5599340787674865902">




<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hey All,</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Let me know if this is the appropriate place to send a question like this, or if there is a better support channel I might be able to reach out to.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(0,0,0)">So I, internal IT, have been tasked with assisting our GIS department with standing up a WMS server to serve local mapping data to MangoMaps. This is all in an effort to distance ourselves from ESRI as they want big money
 to store the volume of GIS data we have on their hosted solution.</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">I have stood up the QGIS server on a Windows 2019 server we are running here, gotten our GIS director connected
 to it using QGIS desktop, and he has even published a project that we can open just fine using the FQDN of our QGIS server externally. But here is the catch, while he can load the WMS data just fine in ARCGIS Pro on his home desktop, whenever we attempt to
 plug the string into MangoMaps as a WMS data source we get a 403 error and a 500 error on the Mango side and it fails to pull in the data.</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">My question is this, does anyone here have the same setup we do, pumping WMS data from QGIS server over https
 to MangoMaps, and would you be able to give some advice on how you were able to get that working? We are working with Mango support, but this falls a bit out of their wheelhouse, as it seems like our Apache QGIS server is the one giving the 403 error. The
 bit that confuses me, is that it is working just fine in ARCGIS traversing the same network, from the same host. This leads me to believe that Mango needs something special/different done on their end to make it work.</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">I will also be the first to note that I am not an Apache/GIS expert, and it very well could be an error we
 have made in our servers configuration. We have gone over the configuration with Mango, and they do not see any errors, but again, that is not their wheelhouse.</span></div></div></div></blockquote><div><br></div><div>A 403 error usually indicates something along the lines that the web client is trying to access something for which it doesn't have permission.  For example Mozilla docs state:</div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">403 Forbidden<br>The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.<br>This status is similar to 401, but for the 403 Forbidden status code, re-authenticating makes no difference. The access is tied to the application logic, such as insufficient rights to a resource. </blockquote></div><div class="gmail_quote"><br></div><div class="gmail_quote">Note "the server understands the request but refuses to authorize it".</div><div class="gmail_quote"><br></div><div class="gmail_quote">Looking at your URL, it appears your request doesn't go directly to the QGIS server, but rather goes to <a href="http://mangomap.com">mangomap.com</a> (it is "mangomap" and not "mangomaps", correct?).<div class="gmail_quote"><br></div><div class="gmail_quote">Is your qgis server / apache server / network policy set up to accept requests from outside your network?</div></div><div class="gmail_quote"><br></div><div class="gmail_quote">The text "(anonymous)" appears in the log following.  Could this mean that <a href="http://mangomap.com">mangomap.com</a> is trying to access your qgis server as user "anonymous"?</div><div class="gmail_quote"><br></div><div class="gmail_quote">When you configure MangoMap(s) to talk to your qgis server, have you entered the necessary credentials (user name and password)?</div><div class="gmail_quote"><br></div><div class="gmail_quote">Can you verify that your qgis server is ok to respond to the "getcapabilities" request with the parameters supplied?  Ie maybe try it with curl from inside your network?<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-5599340787674865902"><div dir="ltr">
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">At any rate, see the error that we get in Mango below, and let me know if you have any advice.</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">application_one_page_app-e0c184742f67970dfcbc711490e8927caf4b7d25f000dd69df5a805edeca457b.js:63</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">GET <a href="https://mangomap.com/clients/5dfb3952-42b1-11ee-83b6-027d7e0bb32b/coverage_stores/get_wms_layers?wms_source=https%253A%252F%252Fwms.vanburencountymi.gov%252Fcgi-bin%252Fqgis_mapserv.fcgi.exe%253Fservice%253DWMS%2526request%253DGetCapabilities%2526version%253D1.3.0&_=1708610138093" target="_blank">https://mangomap.com/clients/5dfb3952-42b1-11ee-83b6-027d7e0bb32b/coverage_stores/get_wms_layers?wms_source=https%253A%252F%252Fwms.vanburencountymi.gov%252Fcgi-bin%252Fqgis_mapserv.fcgi.exe%253Fservice%253DWMS%2526request%253DGetCapabilities%2526version%253D1.3.0&_=1708610138093</a>
 403 (Forbidden)</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">send @ application_one_page_app-e0c184742f67970dfcbc711490e8927caf4b7d25f000dd69df5a805edeca457b.js:63</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">ajax @ application_one_page_app-e0c184742f67970dfcbc711490e8927caf4b7d25f000dd69df5a805edeca457b.js:63</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">request @ application_one_page_app-e0c184742f67970dfcbc711490e8927caf4b7d25f000dd69df5a805edeca457b.js:640</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">connectWms @ application_data_portal-f8ccb478ddb794401762bdd65a58df88cca0a03a304324c540f5d9b97c5622bd.js:11</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">(anonymous) @ application_data_portal-f8ccb478ddb794401762bdd65a58df88cca0a03a304324c540f5d9b97c5622bd.js:13</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">dispatch @ application_one_page_app-e0c184742f67970dfcbc711490e8927caf4b7d25f000dd69df5a805edeca457b.js:62</span></div>
<div><span style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">v.handle @ application_one_page_app-e0c184742f67970dfcbc711490e8927caf4b7d25f000dd69df5a805edeca457b.js:61</span></div>
<div id="m_-5599340787674865902Signature">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="background-color:rgb(255,255,255);margin:0px">
<div style="background-color:white;margin:0px;height:132px">
<div style="margin:0px;height:134px">
<table style="text-align:left">
<tbody>
<tr>
<td style="text-align:left;border-right:2.25pt solid black;padding-right:5.25pt;vertical-align:top">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="color:black">  <img width="100" height="100" style="width: 100px; height: 100px; min-width: auto; min-height: auto; margin: 0px;" src="cid:ii_18dd1ec780e1f6b60b81"></span></p>
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;font-size:8pt;color:black;line-height:11.2px"> </span></p>
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:black">  </span><span style="font-family:Arial,sans-serif;font-size:13pt;color:rgb(33,53,69);line-height:18.2px"><a href="https://www.facebook.com/VanBurenCountyMI/" rel="noopener noreferrer" style="color:rgb(33,53,69);margin:0px" id="m_-5599340787674865902OWAf2afa8f9-87d3-692f-29dc-05e4374a2e95" target="_blank"><img alt="Facebook" width="24" height="24" style="width: 24px; height: 24px; min-width: auto; min-height: auto; margin: 0px;" src="cid:ii_18dd1ec780fa0be5a212"></a></span><span style="font-family:Arial,sans-serif;font-size:13pt;color:rgb(9,21,35);line-height:18.2px">  
  </span><span style="font-family:Arial,sans-serif;font-size:13pt;color:rgb(33,53,69);line-height:18.2px"><a href="https://www.linkedin.com/company/van-buren-county-government" rel="noopener noreferrer" style="color:rgb(33,53,69);margin:0px" id="m_-5599340787674865902OWAc82dd0ee-84a8-d2d0-4f7c-d065c73c1af8" target="_blank"><img alt="LinkedIn" width="23" height="24" style="width: 23px; height: 24px; min-width: auto; min-height: auto; margin: 0px;" src="cid:ii_18dd1ec780f1fe160793"></a></span><span style="font-family:Arial,sans-serif;font-size:13pt;color:rgb(9,21,35);line-height:18.2px">  
  </span><span style="font-family:Arial,sans-serif;font-size:13pt;color:rgb(33,53,69);line-height:18.2px"><a href="https://twitter.com/VanBurenCoMI" rel="noopener noreferrer" style="color:rgb(33,53,69);margin:0px" id="m_-5599340787674865902OWA209b82fe-86e4-6ab7-3061-e6c3baadf28f" target="_blank"><img alt="Twitter" width="24" height="24" style="width: 24px; height: 24px; min-width: auto; min-height: auto; margin: 0px;" src="cid:ii_18dd1ec7810eb5f790e4"></a></span></p>
</td>
<td style="text-align:left;padding-left:9pt">
<table style="text-align:left;width:349.5pt">
<tbody>
<tr>
<td colspan="2" style="text-align:left;padding-bottom:3.75pt;width:349.5pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:rgb(51,51,51)"><b>Collin Coe</b></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:left;width:349.5pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:rgb(51,51,51)"><i>IT Operations Manager</i></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:left;width:349.5pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:black"><b>Van Buren County Information Services</b></span></p>
</td>
</tr>
<tr>
<td style="text-align:left;vertical-align:top;width:15pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:black">a:</span></p>
</td>
<td style="text-align:left;vertical-align:top;width:334.5pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:black">219 E. Paw Paw St, Suite 202</span></p>
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:black">Paw Paw, MI 49079</span></p>
</td>
</tr>
<tr>
<td style="text-align:left;vertical-align:top;width:15pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:rgb(51,51,51)">t: </span></p>
</td>
<td style="text-align:left;vertical-align:top;width:334.5pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:rgb(51,51,51)">269-657-8266 ext. 1248</span></p>
</td>
</tr>
<tr>
<td style="text-align:left;vertical-align:top;width:15pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:rgb(51,51,51)">f:</span></p>
</td>
<td style="text-align:left;vertical-align:top;width:334.5pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:rgb(51,51,51)">269-657-8297</span></p>
</td>
</tr>
<tr>
<td style="text-align:left;vertical-align:top;width:15pt;height:16.65pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="font-family:Arial,sans-serif;color:black">w:</span></p>
</td>
<td style="text-align:left;vertical-align:top;width:334.5pt;height:16.65pt">
<p style="text-align:left;line-height:15.4px;margin:0px;font-family:Calibri,sans-serif;font-size:11pt">
<span style="color:black"><a href="https://www.vanburencountymi.gov/" rel="noopener noreferrer" style="margin:0px" id="m_-5599340787674865902OWA8db4fb12-e2d8-c9cf-03d3-3d9f8e8eaf5b" target="_blank">https://www.vanburencountymi.gov</a></span><span style="font-family:Arial,sans-serif;color:black"> </span><span style="font-family:Arial,sans-serif;color:rgb(51,51,51)"> </span><span style="font-family:Arial,sans-serif;color:black">e:</span><span style="font-family:Arial,sans-serif;color:rgb(51,51,51)"> <a href="mailto:coec@vanburencountymi.gov" style="margin:0px" id="m_-5599340787674865902OWAf408d496-08ff-35d0-bf67-689f3503bff1" target="_blank">coec@vanburencountymi.gov</a></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div style="text-align:left;margin-right:0px;margin-left:0px"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:black"><br>
</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:15px;color:black;background-color:white">Need to meet with me? Book a meeting or check my availability with this link:
<a href="https://outlook.office365.com/owa/calendar/CollinCoePersonalBookings@VanBurenCo.onmicrosoft.com/bookings/" id="m_-5599340787674865902OWA5b6bdf9d-cff0-ea68-099b-3d33b16ed833" title="https://outlook.office365.com/owa/calendar/CollinCoePersonalBookings@VanBurenCo.onmicrosoft.com/bookings/" rel="noopener noreferrer" style="margin:0px;background-color:white" target="_blank">
Microsoft Bookings</a></span></div>
</div>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br>
</span></div>
</div>

_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div></blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>