[mapserver-users] WMS don't load

Daniel Morissette dmorissette at mapgears.com
Thu Oct 16 15:50:55 EDT 2008


Steve.Toutant at inspq.qc.ca wrote:
> 
> Here is the log
[...]
> [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 
> 

According to http://curl.haxx.se/libcurl/c/libcurl-errors.html, error 
code 6 is:

   CURLE_COULDNT_RESOLVE_HOST (6)

   Couldn't resolve host. The given remote host was not resolved.

Sounds like a DNS config problem on your server... can you double-check 
your network settings?

> 
> 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 
> 

Did you try opening the URL using I.E. (or wget if it's Linux) directly 
on the server that produces the error?

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list