[Mapserver-users] WMS Client Problem

bartvde at xs4all.nl bartvde at xs4all.nl
Mon Feb 16 08:25:36 PST 2004


Hi Stefan,

I had the exact same problem (and still have, because we have changed
things in the firewall/proxy to solve this).

I think you need to recompile Mapserver and libcurl to have it going
through the proxy. Not a totally trivial task.

I think it would be a nice enhancement to Mapserver if we could specify in
the MAP file whether or not the WMS client needs to go through a proxy and
then the address/URL of the proxy. Also some kind of authentication
support for the WMS client would be nice.

Best regards,
Bart

> Dear List,
>
> I'm using MapServer 4.0 under winnt 4.0 with apache
> 1.3.27.
>
> When I'm trying to get a WMS connection as client to
> an OGC conform WMS Server,
> I don't get any map back.
>
>
> Part of the Mapfile
> ...
>
> LAYER
>   NAME "Germany"
>   TYPE raster
>   STATUS ON
>   DEBUG ON
>   CONNECTIONTYPE WMS
>   CONNECTION
> "http://wms.ccgis.de/umn/bin/mapserv.exe?map=d:/umn/germany.map&"
>   METADATA
>     "wms_title"             	"Germany"
>     "wms_server_version"  	"1.1.0"
>     "wms_srs"             	"EPSG:4326 EPSG:31493"
>     "wms_name"            	"Germany"
>     "wms_format"                "image/png"
>     "wms_connectiontimeout" 	"60"
>   END
> END
>
> ...
>
> Part from the MS_ERRORFILE:
>
> msDrawWMSLayerLow(): WMS server error. WMS GetMap
> request failed for layer 'Germany' (Status -28:
> TIMEOUT of 30 seconds exceeded.).
> msHTTPExecuteRequests(): HTTP request error. HTTP:
> request failed with curl error code 7 (Failed connect
> to 212.79.172.110:80, errno: 0) for
> http://wms.ccgis.de/umn/bin/mapserv.exe?map=d:/umn/germany.map&SERVICE=WMS&VERSION=1.1.0&LAYERS=Germany&FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&REQUEST=GetMap&WIDTH=550&HEIGHT=370&SRS=EPSG:4326&BBOX=7.533066,53.305070,12.090253,55.101040&EXCEPTIONS=application/vnd.ogc.se_inimage
> msDrawWMSLayerLow(): WMS server error. WMS GetMap
> request failed for layer 'Germany' (Status -7: Failed
> connect to 212.79.172.110:80, errno: 0).
>
> In the IMAGEPATH there are files like
> 10769407406700.img.tmp
>
> My Client is behind a Firewall (Proxy) and if i try
> the Connection with GetCapabilities or GetMap directly
> as URL in a Browser I get a correct response.
>
> If anybody can give me a hint?
> Thanks in advance for your help.
>
> Stefan Schneberger
>
>
>
>
> Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>




More information about the MapServer-users mailing list