I moved from spacemacs/sly/slynk to spacemacs/slime/swank - the issue remains.
I fixed my original post to reflect this change.
On Sat, Apr 18, 2020 at 8:06 PM Mirko Vukovic mirko.vukovic@gmail.com wrote:
Hello,
This is a follow-up to a thread that I started a few weeks back (What are port requirements for remote lisp?).
I run Msys2's Emacs on a corporate laptop running windows 10, and I don't have administrator privileges. I am using Sly and Spacemacs.
I now use slime/swank on Spacemacs
My problem is that sly-connect times out when trying to connect to the swank server.
Slime-connect times out
With Martin's help, I was able to establish a tunnel, start swank, and with a telnet session on the laptop verify that I can send commands to swank (see that other thread for details).
Nevertheless, sly-connect still fails. Stepping through the code, I came to a call to make-network-process, which is a C function.
Slime-connect times out. The low-level function making the call is
make-network-process
The error message is "make client process failed", "Connection timed out", :name, "sly-4", :buffer, nil, :host, "hal9000.us.tel.com", :service, 4005, :nowait, nil, :tls-parameters, nil
I need help in figuring out the cause of the problem so that I can ask our IT department for specific help.
My emacs can connect to the internet - for instance, org-ref (orgmode+bibtex) can fetch journal article citations using DOI's. So, why is make-network-process failing in this instance?
I am looking for some simple tests of make-network proces that can narrow down the cause of failure when connecting to swank.
I was going to ask on the emacs mailing list, but I thought it best to start here first.
Thank you,
Mirko