[mapserver-users] WMS Client setup not sending any requests

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Wed Jun 11 03:04:45 PDT 2008


Sorry, I was wrong with supported projections for rasta100 layer.  EPSG:2393 is ok.  So the question is if basic authentication is supported or not.
 
-Jukka-


________________________________

	Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Rahkonen Jukka
	Lähetetty: 11. kesäkuuta 2008 12:51
	Vastaanottaja: mapserver-users at lists.osgeo.org
	Aihe: Re: [mapserver-users] WMS Client setup not sending any requests
	
	
	Hi,
	 
	Your first problem is that you are requesting layer rasta100 layer in EPSG:2393, but it supports only EPSG:3067. But I am thinking that the basic problem is that MapServer does not support connection over https with basic authentication at all.  I started a thread named  "Cascading external WMS using basic authentication over https" in January this year.  
	At that time Frank Warmerdam wrote:
	 
	> Jukka,
	> I would be willing to implement this if you are willing to help with 
	> some research, RFC writing and testing.  In particular we need to 
	> isolate what extra curl options such as, but possibly not limited to, 
	> userid and password we should be able to pass through.  Then we can 
	> write up an RFC based on doing this through layer metadata.  Then - 
	> once approved - I can implement and you could test.
	> As I think back, I realize the other time I did something like this it 
	> was actually using a digital certificate rather than simple 
	> userid/password protection.  Ideally we would address both cases.
	> If this effort level exceeds the amount of effort you want to invest, 
	> then filing an enhancement ticket at least summarizing some of these 
	> ideas would be a good start.
	> PS. If implemented we would presumably do it in a way that applied to 
	> WFS and WMS client layers.
	
	It is good news for me if MapServer has made to support connection in the way you are trying, thus( https://user:password@server.etc...)
	 
	-Jukka Rahkonen-
	 
	 
	 
________________________________

	Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta GoneWacko
	Lähetetty: 11. kesäkuuta 2008 10:34
	Vastaanottaja: mapserver-users at lists.osgeo.org
	Aihe: [mapserver-users] WMS Client setup not sending any requests
	
	

		Hello,

		 

		I am currently working on a project where I'm trying to use Mapserver as a WMS client, intending to have Mapserver handle the overlaying of data for me. The WMS service I'm going to be using one licensed from the National Land Survey of Finland.

		This server only supports HTTPS connections and requires Basic Authorization to get data from the service. This may prove to be an issue for me in the future, but at the moment I'm having (what I suspect to be) a different problem.

		 

		When I test my Map file, which to the best of my (currently limited) knowledge of Mapserver, should work, I only get entirely white images back from the mapserv binary. I've not yet figured out how to get mapserv to do verbose logging, but the logging it does so far does not show me what the issue might be.

		 

		I've been trying to get it to work on linux, but then when it didn't I tried it on my local windows machine as well. Both machines display the same white image.

		 

		The output of my mapserv -v invocations:

		On Linux:

		MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=GEOS INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

		 

		On Windows:

		MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS _SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

		 

		 

		The map file I'm using can be found at the following location: http://www.gonewacko.com/work/finland.map

		For more information about the capabilities of the WMS Server I'm trying to connect to, I've uploaded the results of a GetCapabilities request here: http://gonewacko.com/work/GetCapabilities.xml (Most of the text is in Finnish; Which I don't actually understand myself, but luckily it's not too relevant).

		The URL I've been using to test it has usually just been http://example.com/cgi-bin/mapserv?map=/path/to/finland.map&mode=map.

		My theories are

		                - The map has been set up in such a way that mapserv finds it's not within the area I'm requesting, and as such does not attempt to render it.

		                - The map has just been set up incorrectly (most likely)

		 

		Note that the only files I have are the map file. I do not have any shape files or anything of that nature. And apart from the censored login information in the URLs, the map file is available in its entirety.

		Also note that I've tried replacing the WMS URLs with something that is not a https url (i.e. a normal http url), as well as omitting the authorization data. It still wouldn't send a request to the URL.

		 

		Can anyone shed some light on what I'm doing wrong? Thanks in advance.

		 

		Best Regards,

		Stijn Gijsen

		 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080611/afd7ee84/attachment.htm>


More information about the MapServer-users mailing list