[Qgis-user] 404 Error with Qgis Add WMS Layer but valid response in web browser

Brendan Morley morb at beagle.com.au
Sun Mar 26 03:31:29 EST 2006


Hi Phil,

I can reproduce the behaviour - rather odd really.  The only thing I can
think of is that that WMS server is only accepting connections from
certain HTTP User-Agents.  I could get to the URL via my Firefox.

Do you happen to be friendly with the webmaster of the WMS server?
Perhaps we can see if the URLs (QGIS vs. Firefox) really are coming in
the same to the WMS server.

Also, could you report this issue formally via
http://svn.qgis.org/trac/newticket -  This gives me a better chance of
not forgetting about your issue.


Thanks,
Brendan


On Fri, 2006-03-24 at 17:10 +1200, Phil Bertram wrote:
> Hi,
> 
> I am getting a 404 Page not found response from a WMS server when using Qgis 
> (svn revision 5083) on Debian unstable
> 
> However, when I plug the same URL, copied from the Qgis error dialog box into 
> my web browser I get a valid resonse, returning the capabilities xml data.
> 
> Below is the debugging output...................
> 
> Any ideas why ?
> 
> QgisApp::addWmsLayer: about to addRasterLayer
> QgsSpatialRefSys::createFromEpsg with 4326
> QgsSpatialRefSys::openDb path = /usr/share/qgis/resources/srs.db
> Projection has angular units of degree
> QgsMapCanvas::drawContents
> QgsServerSourceSelect::serverConnect: Connection info: 
> 'http://www.nztopoonline.linz.govt.nz/wmsconnector/com.esri.wms.Esrimap?ServiceName=nztopo_wms&'.

[etc]





More information about the Qgis-user mailing list