https://issues.qgis.org/https://issues.qgis.org/favicon.ico2006-03-26T08:47:18ZQGIS Issue TrackingQGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125762006-03-26T08:47:18Zphil-bertram-clear-net-nz -phil.bertram@clear.net.nz
<ul></ul><p>Response via mailing list - copied here</p>
<p>Hi Phil,</p>
<p>I can reproduce the behaviour - rather odd really. The only thing I can<br />think of is that that WMS server is only accepting connections from<br />certain HTTP User-Agents. I could get to the URL via my Firefox.</p>
<p>Do you happen to be friendly with the webmaster of the WMS server?<br />Perhaps we can see if the URLs (QGIS vs. Firefox) really are coming in<br />the same to the WMS server.</p>
<p>Also, could you report this issue formally via<br /><a class="external" href="http://svn.qgis.org/trac/newticket">http://svn.qgis.org/trac/newticket</a> - This gives me a better chance of<br />not forgetting about your issue.</p>
<p>Thanks,<br />Brendan</p> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125772006-03-26T08:54:43Zphil-bertram-clear-net-nz -phil.bertram@clear.net.nz
<ul></ul><p>Here is a link to the information page for the server[<a class="external" href="http://www.nztopoonline.linz.govt.nz/technicalusers/webservices.htm">http://www.nztopoonline.linz.govt.nz/technicalusers/webservices.htm</a>]<br />Unfortuately I do not know the webmaster.</p>
<p>Phil</p> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125782006-04-08T12:54:58ZTim Suttontim@linfiniti.com
<ul></ul><p>This is just to confirm the problem could be replicated with SVN <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/b1bc18490bc1b381b88de4d09196c9a96dc12fa5" title="layers are now editable by default such that people do not have to search for the layer file in t...">b1bc1849</a> (SVN r5233) here</p> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125792006-04-09T01:27:15ZGavin Macaulay -gavin@macaulay.co.nz
<ul></ul><p>If one telnets to <a class="external" href="http://www.nztopoonline.linz.govt.nz">www.nztopoonline.linz.govt.nz</a>, port 80 and types:</p>
<pre>
GET /wmsconnector/com.esri.wms.Esrimap?ServiceName=nztopo_wms&SERVICE=WMS&REQUEST=GetCapabilities
</pre>
<p>it returns the capability info as expected. tcpdump reports that Qgis is producing pretty much the same thing. I've emailed linz asking for some help...</p> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125802006-04-09T01:29:59ZGavin Macaulay -gavin@macaulay.co.nz
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li></ul> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125812006-04-23T08:42:32Zanonymous -anonymous@foo.bar
<ul></ul><p>As a workaround I have installed Mapserver, created a WMS Server using Mapserver.<br />Qgis happily onnects to the Mapserver WMS server which connects to <a class="external" href="http://www.nztopoonline.linz.govt.nz/wmsconnector/com.esri.wms.Esrimap?ServiceName=nztopo_wmsx%x">http://www.nztopoonline.linz.govt.nz/wmsconnector/com.esri.wms.Esrimap?ServiceName=nztopo_wmsx%x</a>% for the map data.</p>
<p>Phil</p> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125822006-04-23T11:47:57ZGavin Macaulay -gavin@macaulay.co.nz
<ul></ul><p>The same problem has been reported in ticket <a class="issue tracker-1 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/102" title="Invalid response from WMS server (Closed)">#102</a>, although with a different wms service. However both of the servers appear to be an esri product.</p> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125832006-04-23T22:34:53ZGavin Macaulay -gavin@macaulay.co.nz
<ul></ul><p>Fixed in svn <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/7141779b56ba9f5e05105323342b2496f627ff58" title="Fix for ticket #26 Remove the http://web.address.net bit from the URL before sending the URL off...">7141779b</a> (SVN r5356). That commit resolves the immediate 404 error, but I can't seem to get any images from the server.</p>
<p>Problem was that some wms servers only seem to accept url's without the <a class="external" href="http://web.address.net">http://web.address.net</a> bit. Firefox appears to strip the host off before sending the request which is why the same URL worked in Firefox but not qgis.</p> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125842006-04-24T00:55:58Zanonymous -anonymous@foo.bar
<ul></ul><p>With the nztopo wms server, selecting any layer just returns an image that is completely transparent.</p>
<p>The wms server mentioned in ticket <a class="issue tracker-1 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/102" title="Invalid response from WMS server (Closed)">#102</a> works now.</p> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125852006-04-25T00:51:16ZGavin Macaulay -gavin@macaulay.co.nz
<ul></ul><p>The problem with qgis viewing data from the nztopo wms server now appears to be with the wms server sending inconsistent srs and bounding box information in response to a <a class="wiki-page new" href="https://issues.qgis.org/projects/qgis/wiki/GetCapabilities">GetCapabilities</a> request. However, since mapserver appears to work fine (see message above), there may be a way to work around the problem with nztopo.</p>
<p>Since this is a different problem to the original subject of this ticket, I'm closing this ticket and opening another (<a class="issue tracker-1 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/103" title="nztopoonline WMS server doesn't work with qgis (Closed)">#103</a>).</p> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125862006-04-25T00:53:54ZGavin Macaulay -gavin@macaulay.co.nz
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed</i></li></ul> QGIS Application - Bug report #3929: 404 Error with Qgis Add WMS Layer but valid response in web browserhttps://issues.qgis.org/issues/3929?journal_id=125872009-08-21T22:46:00ZAnonymous
<ul></ul><p>Milestone Version 0.8 deleted</p>