[drakma-devel] http-request returns nil

Edi Weitz edi at agharta.de
Fri May 9 19:21:21 UTC 2008


On Fri, 9 May 2008 14:48:10 -0400, "Andrei Stebakov" <lispercat at gmail.com> wrote:

> I am using http-request to upload files on some web-site. The
> problem is that sometimes the function returns a nil response so I
> just have to repeat it again with the same parameters.  Sometimes it
> take up to 8 retries to make the request return a non-nil response.
> I wonder if you saw it before or how can I debug it? The function
> doesn't take long to return with nil result. I mean the whole file
> upload can take 10 seconds, so the http-request may return nil
> within those 10 seconds. Is some timeout or the connection gets
> broken between the hosts? There is no exception raised as well, it
> just silently returns nil.

Hmm, it should definitely not just silently return NIL, but we
probably need a tiny little bit more info from you:

Which Lisp?  Which operating system?  Which version of Drakma and
Chunga?  Have you tried to trace the headers when this happens?

  http://weitz.de/drakma/#*header-stream*

Is this a public URL so we can try to reproduce your problem?

Edi.



More information about the Drakma-devel mailing list