Re: Got "broken pipe" exception
- From: Kamen TOMOV <kamen@xxxxxxxxxxx>
- Date: Tue, 27 Nov 2007 11:42:22 +0200
On Tue, Nov 27 2007, Trastabuga wrote:
I am using Edi's libraries like drakma, chunga based on
usocket-0.3.5. As this looks more like a general network question
and might not be related to Edi's libraries, I am asking it here
looking for any ideas why it might be happening.
Basically I form an http-request to some server and at times it
gives me the "broken pipe" exception.
I read that this exception happens when the server terminates the
connection on its end and the client still tries to use the socket.
I am wondering if you guys had it and how did you go about fixing
it?
Fixing it on the client or on the server?
Could it be just because the server to which I am trying to connect
just dis-behaves? Or could it the some unstable network connection
related to my router (linksys) or NIC?
It could be any of these. Do you have control on the server?
I am using linux 2.6 kernel (debian), sbcl 1.0.11 and the latest
drakma related libraries.
Any ideas are welcome!
If you are programming the client and you do not have control upon the
server then your only options are to re-send the request and hope that
it would pass.
If you are controlling both and this happens in "lab" conditions, than
you need to isolate the problem. I'd suggest try with different
clients and with different servers. Analyse your requests and
responses.
HTH,
--
Kamen
.
- Follow-Ups:
- Re: Got "broken pipe" exception
- From: Rob Warnock
- Re: Got "broken pipe" exception
- References:
- Got "broken pipe" exception
- From: Trastabuga
- Got "broken pipe" exception
- Prev by Date: Re: Questions about passing cons as parameter and the behavior of pop
- Next by Date: Re: Go Forth and Lisp
- Previous by thread: Got "broken pipe" exception
- Next by thread: Re: Got "broken pipe" exception
- Index(es):
Relevant Pages
|