#247 closed defect (fixed)
msHTTPExecuteRequests() error in 3.7 when requesting terraservice WMS layer
Reported by: | Owned by: | dmorissette | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | WMS Client | Version: | 4.0 |
Severity: | normal | Keywords: | VERIFIED |
Cc: |
Description
I am unable to display a WMS layer (DOQ) retrieved from terraservice. The URL is good...I can plug it in a browser and it works. When I try to display the layer in 3.6.3 I just get a blank image (as reported in bug 223), but no errors. A few weeks ago when I tried to do this with 3.7 cvs, it worked. Now when I try to do this with a current 3.7 cvs version (as of 12-09-02), it gives the following error: Warning: MapServer Error in msHTTPExecuteRequests(): HTTP GET request failed with status -1 for http://terraservice.net/ogcmap.ashx? VERSION=1.1.1&SERVICE=wms&LAYERS=DOQ&FORMAT=png&styles=&REQUEST=GetMap &WIDTH=480&HEIGHT=320&SRS=EPSG:26910&BBOX=414885.891927, 5290918.359375,424540.579427,5297355.859375&EXCEPTIONS= application/vnd.ogc.se_inimage in /opt/httpd/htdocs/gis/crypto/crypto.php on line 341 Fatal error: Object expected as argument. in /opt/httpd/htdocs/gis/crypto/crypto.php on line 377 line 341: $image = $map->draw(); //for drawing main map image line 377: $layer->draw($image); //for drawing dynamic layer I have not tried an earlier cvs version. Thanks.
Change History (9)
comment:2 by , 22 years ago
Sorry, I should have included the error_log output in the original message. Here it is, after zooming to a random point using the mapfile from bug 223. [Thu Dec 12 21:44:48 2002].208048 WMS GET http://terraservice.net/ogcmap.ashx? VERSION=1.1.1&SERVICE=wms&LAYERS=DOQ&FORMAT=png&styles=&REQUEST=GetMap&WIDTH=600 &HEIGHT=400&SRS=EPSG:26910&BBOX=405110.520833,5276393.750000,443729.270833,53021 43.750000&EXCEPTIONS=application/vnd.ogc.se_inimage Looking up terraservice.net Looking up terraservice.net Contacting terraservice.net Fatal Error: connect operation failed (Success) [Thu Dec 12 21:44:48 2002].216886 terminate_handler() [Thu Dec 12 21:44:48 2002].216966 terminate_handler stopping event loop [Thu Dec 12 21:44:48 2002].217026 WMS: Before eventloop [Thu Dec 12 21:44:48 2002].217104 WMS: After eventloop [Thu Dec 12 21:44:48 2002].217156 WMS: HTTP GET request failed with status -1 for http://terraservice.net/ogcmap.ashx? VERSION=1.1.1&SERVICE=wms&LAYERS=DOQ&FORMAT=png&styles=&REQUEST=GetMap&WIDTH=600 &HEIGHT=400&SRS=EPSG:26910&BBOX=405110.520833,5276393.750000,443729.270833,53021 43.750000&EXCEPTIONS=application/vnd.ogc.se_inimage
comment:3 by , 22 years ago
I tried this with today's CVS version, and still had the same error. I also tried an older build (cvs from 11-28), and had the same error. Not sure what's going on.
comment:4 by , 22 years ago
Could it be that you were using the release version of libwww 5.3.2? I think there was a bug in it that was fixed in a later version, and I had to use this later verison that I got from CVS directly (libwww 5.4.0 works well too)... I also made a copy available for download at http://www2.dmsolutions.ca/mapserver/dl/misc/libwww-5.3.2-20011211.tar.gz But anyway, I'll be replacing libwww with libcurl in the next day or two, so all these libwww issues will only be a bad souvenir soon. I suggest that you wait for this new version.
comment:5 by , 22 years ago
dependson: | → 237 |
---|
comment:6 by , 22 years ago
Ahhhh, very good. I will wait for libcurl. Thanks. BTW, I am using libwww-5.4.0.
comment:7 by , 22 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Libcurl changes done in bug 237. I'll mark this as fixed (even if I don't like marking a bug fixed without having figured the roots of the problem). Hopefully things will work better for you now.
comment:8 by , 22 years ago
Just to follow up...yes, this has fixed the problem. I'm using libcurl-7.10.2 and it's working great. Thanks. :-)
comment:9 by , 22 years ago
Keywords: | VERIFIED added |
---|
Note:
See TracTickets
for help on using tickets.