January 07th, 2009
“Connection reset by peer” errors with cl-couch
Topics: Couchdb, Lisp, HowtoI was getting a lot of “Connection reset by peer” errors on my website, originally I thought it was Hunchentoot or couchDB but it turned out that c-couch was the problem.
To get things working comment out the :content parameter from the call to drakma:http-request inside (defun http-request … )
I’m not sure what those lines do or how they are broken but commenting them out solved the problem for me.
EDIT: The answer is those lines let you update data… whoops. Anyway I figured it out, here’s a patch that fixes the problem properly.
Cheers, Dave.