Eric Lemoine ha scritto:
Hello
I have a GeoServer instance acting as a WMS. About one time out of two
IE (7&8) fails to display the image, the problem occurs in OpenLayers
(pink image) and outside OpenLayers, i.e. by adding the WMS URL in
IE's address bar. I use ieHTTPHeaders in IE to watch the HTTP requests
and I always get "200 OK", even when IE fails to display the image.
If you want to reproduce the problem, try loading the following URL in
IE, and reload the page until it fails. In my case I get about one
failure out of two page reloads.
<http://drebretagne-geobretagne.demo-camptocamp.com/geoserver/wms?SERVICE=WMS&LAYERS=topp%3Acommunes_geofla&TRANSPARENT=true&VERSION=1.1.1&FORMAT=image%2Fpng&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A2154&BBOX=-97099.811756103,6680300.064638,600099.8117561,6919699.935362&WIDTH=1245&HEIGHT=427>
I've tried with the following combinations:
- xp sp3, ie6
- xp sp3, ie7
They are two separate VirtualBox machines. Tried 20-30 times
in a row with each one, never got back a broken image.
Maybe it takes Vista?
I also tried running:
curl -o "c2c`date +%F_%T`.png" "http://drebretagne-geobretagne.demo-camptocamp.com/geoserver/wms?SERVICE=WMS&LAYERS=topp%3Acommunes_geofla&TRANSPARENT=true&VERSION=1.1.1&FORMAT=image%2Fpng&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A2154&BBOX=-97099.811756103,6680300.064638,600099.8117561,6919699.935362&WIDTH=1245&HEIGHT=427"
a number of times on my linux box to see if the file returned
was any different but all seemed perfectly equal:
aaime@anonymised.com:/tmp/c2c$ ls -l
totale 3472
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:23.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:27.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:28.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:29.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:30.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:31.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:32.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:33.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:34.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:36.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:37.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:38.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:39.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:41.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:42.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:43.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:44.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:45.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:46.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:47.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:48.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:49.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:50.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:51.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:52.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:53.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:54.png
-rw-r--r-- 1 aaime aaime 124518 2009-09-09 14:49 c2c2009-09-09_14:49:55.png
Do you get anything in the GeoServer own logs ($DATA_DIR/logs/geoserver.log) in correspondance of the
corrupted images?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.