[slime-devel] Debugging "Lisp connection closed unexpectedly" events?

Dave Roberts ldave at droberts.com
Tue Aug 5 06:51:08 UTC 2008


I'm connecting with latest SLIME CVS (as of tonight) to SBCL 1.0.17
(Fedora 8). I'm trying to use Drakma to snarf the home page of LispForum
with 
(drakma:http-request "http://www.lispforum.com/")

Oddly, when I do so, I get:
"Lisp connection closed unexpectedly: connection broken by remote peer"

This doesn't happen when I try other web pages, however. With others, I
get the text of the web page back as a string. Oddly, it does *not*
happen when connecting to the same page when running SBCL in a term
window as opposed to SLIME.

Any suggestions for where to start looking? My gut says that there is a
particular character or something like that in the page that SWANK can't
return over the channel to SLIME/Emacs. I'm not sure how to debug it,
though, since SWANK kills the connection with extreme prejudice. Does
SWANK create any sort of log file anywhere, or can I enable it to do so?

Thanks,

-- Dave





More information about the slime-devel mailing list