Hi Kyle

Making a new ssh tunnel is a sure thing. The bad part was that the swank server got "deaf". I could see agents still running (unix screen is cool) but I could not connect to is again. As of open ports, luckily there is a firewall on the machine so only selected ports are exposed.

Anyway, as Anders wrote to use ":dont-close true", that actually did the trick.
May it would be cool to update your blog post, what do you think?


Thanks both for replies!
Lukas

On 1/26/2010 6:16 PM, Kyle R. Burton wrote:
I've setup slime to remote repl according to
http://asymmetrical-view.com/2009/08/20/emacs-slime-remote-repl.html
So far so good (there are some issues, but that other time).

There is a problem with reconnecting to the remote machine after the
connection is broken (running on wifi). I have tried also to telnet (at the
remote machine) to the specified port and connection refused :(

So I have kill the REPL every time is happens and of course I am loosing all
the testing stuff in repl.

Anyone having same problems? Solutions?
Lukas,

If you've lost your network connection, you will probably need to both
re-establish the ssh port forward (i.e. kill the ssh connection -- try
<enter>  ~ .), and run M-x slime-disconnect from your local Emacs.
When the network connection is lost you will likely have to set up all
the parts again - though when I've done it before swank continues to
listen and I can re-establish the port forward and connect again.

In that article I advise against making the swank listener bind to a
port that is open to the internet, which is why I have the example off
using ssh port forwarding.

After your network connectivity returns, can you ssh into the remote
machine again?


Let us know how it goes.

Regards,

Kyle


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to