curl error

Sean Gillies sgillies at FRII.COM
Fri Apr 15 15:17:32 PDT 2005


On Apr 15, 2005, at 3:54 PM, Pratap Anchuri wrote:

> we are using Java mapscripting  program to access terraserver's images
> through WMS service. We r getting following error msg when the program
> is
> run. with debug on in Map file for the wms layer.
>
> java.lang.UnknownError: WMS GetMap request failed for layer 'aerial'
> (Status -6: ).
>  at edu.umn.gis.mapscript.mapscriptJNI.mapObj_draw(Native Method)
>  at edu.umn.gis.mapscript.mapObj.draw(mapObj.java:397)
>  at serv.DrawMap.main(DrawMap.java:41)
> HTTP: Starting to prepare HTTP requests.
>
> HTTP request: id=0, http://terraservice.net/ogcmap.ashx?
> LAYERS=DRG&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%
> 2Fjpeg&STYLES=&HEIGHT=500&VERSION=1.1.1&SRS=EPSG:
> 26910&WIDTH=600&BBOX=54720
> 0%2C4181733%2E3333333335%2C553600%2C4187066%
> 2E6666666665&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage
>
> HTTP: Before download loop
>
> HTTP: After download loop
>
> msHTTPExecuteRequests() timing summary per layer (connect_time +
> time_to_first_packet + download_time = total_time in seconds)
>
> HTTP: request failed with curl error code 6 () for
> http://terraservice.net/ogcmap.ashx?
> LAYERS=DRG&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%
> 2Fjpeg&STYLES=&HEIGHT=500&VERSION=1.1.1&SRS=EPSG:
> 26910&WIDTH=600&BBOX=54720
> 0%2C4181733%2E3333333335%2C553600%2C4187066%
> 2E6666666665&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage
>
> Layer 0: 0.000 + 0.000 + 0.000 = 0.000s
> Exception in thread "main"
>


http://www.google.com/search?q=curl+error+code

Error code 6 is "host not resolved".

cheers,
Sean

--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies



More information about the MapServer-users mailing list