[Tilecache] Connection reset by peer error

riteshambastha ritesh.linux at gmail.com
Fri Dec 5 06:36:27 EST 2008


Yeah, this may happen when the server where the tiles are residing is down. I
guess, the machine on which your tiles are kept is a different machine.

Regards,
Ritesh

lukast wrote:
> 
> Thanks,
> But this bug also occurs when tile is already cached by tilecache - seems
> as if it's OpenLayers that resets connection ?:( See the attachement.
> tilecache_error.JPG
> 
> Thanks for help. 
> 
> 
> 
> riteshambastha wrote:
>> 
>> Very obvious that this is a WMS server error. Connection closed by peer
>> means that the server is disconnected, and hence is throwing errors to
>> the client. If openlayers is unable to connect to the wms server, this
>> error has to come.
>> 
>> Regards,
>> Ritesh
>> 
>> lukast wrote:
>>> 
>>> Any ideas ?
>>> This bug also occurs when tile is already cached by tilecache - seems as
>>> if it's OpenLayers that resets connection ?:( See the attachement.
>>>  http://www.nabble.com/file/p20851604/tilecache_error.JPG
>>> tilecache_error.JPG 
>>> 
>>> Thanks for any help.
>>> 
>>> 
>>> lukast wrote:
>>>> 
>>>> Hello,
>>>> 
>>>> I have got problem with TileCache 2.04. Sometimes (not always) it
>>>> generates errors when OpenLayers asks for tiles that are not cached
>>>> already by TileCache and, as a result, it must ask WMS Server for tile.
>>>> My question is if it OpenLayers or WMS server resets the connection ?
>>>> And hot to fix it ?. Below, you can see the logs. Appreciate your help.
>>>> 
>>>> Best regards,
>>>> lukast
>>>> 
>>>> Cache miss: 487750.0,464500.0,488000.0,464750.0, Tile: x: 2575, y:
>>>> 2554, z: 10, time: 0.0494420528412
>>>> Traceback (most recent call last):
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 93, in run
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 134, in finish_response
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 217, in write
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 273, in send_headers
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 196, in send_preamble
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 403, in _write
>>>>   File "/usr/lib64/python2.4/socket.py", line 248, in write
>>>>     self.flush()
>>>>   File "/usr/lib64/python2.4/socket.py", line 235, in flush
>>>>     self._sock.sendall(buffer)
>>>> error: (104, 'Connection reset by peer')
>>>> Cache miss: 488000.0,464500.0,488250.0,464750.0, Tile: x: 2576, y:
>>>> 2554, z: 10, time: 0.0464081764221
>>>> Traceback (most recent call last):
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 93, in run
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 134, in finish_response
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 217, in write
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 273, in send_headers
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 196, in send_preamble
>>>>   File
>>>> "/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg/wsgiref/handlers.py",
>>>> line 403, in _write
>>>>   File "/usr/lib64/python2.4/socket.py", line 248, in write
>>>>     self.flush()
>>>>   File "/usr/lib64/python2.4/socket.py", line 235, in flush
>>>>     self._sock.sendall(buffer)
>>>> error: (104, 'Connection reset by peer')
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Connection-reset-by-peer-error-tp20832215p20852132.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list