Hi, Are you behind a proxy server? If you are you must add proxy settings to Apache. You can check the situation from your browser network settings. If it is using direct connection to internet then you must have some other issue.
-Jukka Rahkonen- -----Alkuperäinen viesti----- Lähettäjä: [EMAIL PROTECTED] puolesta: [EMAIL PROTECTED] Lähetetty: ke 8.10.2008 16:20 Vastaanottaja: Daniel Morissette Kopio: [email protected] Aihe: Re: [mapserver-users] WMS don't load Thanks Daniel, Here is the definition of the layer in my mapFile LAYER NAME pe TYPE RASTER OFFSITE 0 0 0 STATUS default CONNECTIONTYPE WMS CONNECTION "http://atlas.gc.ca/cgi-bin/atlaswms_fr?" DEBUG 5 METADATA "wms_srs" "EPSG:42304" "wms_name" "pe_15m" "wms_server_version" "1.1.1" "wms_format" "image/gif" END END # layer pe Here is the log [Wed Oct 08 09:00:10 2008].480000 HTTP: Starting to prepare HTTP requests. [Wed Oct 08 09:00:10 2008].480000 HTTP request: id=0, http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage [Wed Oct 08 09:00:10 2008].496000 HTTP: Before download loop [Wed Oct 08 09:00:10 2008].667000 HTTP: After download loop [Wed Oct 08 09:00:10 2008].667000 msHTTPExecuteRequests() timing summary per layer (connect_time + time_to_first_packet + download_time = total_time in seconds) [Wed Oct 08 09:00:10 2008].667000 HTTP: request failed with curl error code 6 () for http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage[Wed Oct 08 09:00:10 2008].667000 msHTTPExecuteRequests(): HTTP request error. HTTP: request failed with curl error code 6 () for http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage [Wed Oct 08 09:00:10 2008].667000 Layer 0: 0.000 + 0.000 + 0.000 = 0.000s [Wed Oct 08 09:00:10 2008].667000 msDrawWMSLayerLow(): WMS server error. WMS GetMap request failed for layer 'pe' (Status -6: ). [Wed Oct 08 09:00:10 2008].667000 msDrawMap(): Layer 0 (pe), 0.000s I get a blank image. But if I use the connection string that is in the log file and send it directly from internet explorer I get the image. http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage I also tried with this layer definiton, and I got the same error LAYER NAME "prov_bound" TYPE RASTER STATUS ON CONNECTION "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?" CONNECTIONTYPE WMS METADATA "wms_srs" "EPSG:42304" "wms_name" "prov_bound" "wms_server_version" "1.1.1" "wms_format" "image/gif" END END thanks for your help, Steve Steve Toutant, M. Sc. Analyste en géomatique Secteur environnement Direction des risques biologiques, environnementaux et occupationnels Institut national de santé publique du Québec 945, avenue Wolfe Québec, Qc G1V 5B3 Tél.: (418) 650-5115 #5281 Fax.: (418) 654-3144 [EMAIL PROTECTED] http://www.inspq.qc.ca _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
