Re: make-network-process timing out when connecting swank server
Mirko Vukovic <[email protected]> Sun, 19 Apr 2020 11:09:59 -0400
| Newsgroups | gmane.lisp.slime.devel |
|---|---|
| Message-ID | <CAO73BAAUBad6pi+6M8Uj0FhV26fyMwhSxsBOVWT+XPuTxC+bdA@mail.gmail.com> |
--00000000000031c10c05a3a62f3b Content-Type: text/plain; charset="UTF-8" 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 <[email protected]> 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 > --00000000000031c10c05a3a62f3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"></div>I moved from spacemacs/sly/slynk to= spacemacs/slime/swank - the issue remains.=C2=A0<div><div><br></div><div>I= fixed my original post to reflect this change.</div><div><br><div class=3D= "gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Apr 18, 2020 at= 8:06 PM Mirko Vukovic <<a href=3D"mailto:[email protected]">mirko= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote= " style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);= padding-left:1ex"><div dir=3D"ltr">Hello,<div><br></div><div>This is a foll= ow-up to a thread that I started a few weeks back (<span style=3D"color:rgb= (32,33,36);font-family:"Google Sans",Roboto,RobotoDraft,Helvetica= ,Arial,sans-serif;font-variant-ligatures:no-contextual">What are port requi= rements for remote lisp?).</span></div><div><span style=3D"color:rgb(32,33,= 36);font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,= sans-serif;font-variant-ligatures:no-contextual"><br></span></div><div><spa= n style=3D"color:rgb(32,33,36);font-family:"Google Sans",Roboto,R= obotoDraft,Helvetica,Arial,sans-serif;font-variant-ligatures:no-contextual"= >I run Msys2's Emacs on a corporate laptop running windows 10, and I do= n't have administrator privileges. I am using Sly and Spacemacs.</span>= </div></div></blockquote><div><br></div><div>I now use slime/swank on Space= macs</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margi= n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex= "><div dir=3D"ltr"><div><span style=3D"color:rgb(32,33,36);font-family:&quo= t;Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-vari= ant-ligatures:no-contextual"><br></span></div><div><font color=3D"#202124">= <span style=3D"font-variant-ligatures:no-contextual"><font face=3D"Google S= ans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif">My problem is that = </font><font face=3D"monospace">sly-connect</font><font face=3D"Google Sans= , Roboto, RobotoDraft, Helvetica, Arial, sans-serif"> times out when trying= to connect to the swank server.</font></span></font></div><div><font color= =3D"#202124" face=3D"Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sa= ns-serif"><span style=3D"font-variant-ligatures:no-contextual"><br></span><= /font></div></div></blockquote><div>Slime-connect times out=C2=A0</div><blo= ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left= :1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><font c= olor=3D"#202124" face=3D"Google Sans, Roboto, RobotoDraft, Helvetica, Arial= , sans-serif"><span style=3D"font-variant-ligatures:no-contextual"></span><= /font></div><div><font color=3D"#202124" face=3D"Google Sans, Roboto, Robot= oDraft, Helvetica, Arial, sans-serif"><span style=3D"font-variant-ligatures= :no-contextual">With Martin's help, I was able to establish a tunnel, s= tart swank, and with a telnet session on the laptop verify that I can send = commands to swank (see that other thread for details).</span></font></div><= div><font color=3D"#202124" face=3D"Google Sans, Roboto, RobotoDraft, Helve= tica, Arial, sans-serif"><span style=3D"font-variant-ligatures:no-contextua= l"><br></span></font></div><div><font color=3D"#202124"><span style=3D"font= -variant-ligatures:no-contextual"><font face=3D"Google Sans, Roboto, Roboto= Draft, Helvetica, Arial, sans-serif">Nevertheless, </font><font face=3D"mon= ospace">sly-connect</font><font face=3D"Google Sans, Roboto, RobotoDraft, H= elvetica, Arial, sans-serif"> still fails. Stepping through the code, I cam= e to a call=C2=A0to </font><font face=3D"monospace">make-network-process</f= ont><font face=3D"Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-= serif">, which is a C function.</font></span></font></div><div><br></div></= div></blockquote><div>Slime-connect times out. The low-level function makin= g the call is make-network-process=C2=A0</div><blockquote class=3D"gmail_qu= ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20= 4);padding-left:1ex"><div dir=3D"ltr"><div></div><div><font color=3D"#20212= 4" face=3D"Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif">= <span style=3D"font-variant-ligatures:no-contextual">The error message=C2= =A0is</span></font></div><div>"make client process failed", "= ;Connection timed out", :name, "sly-4", :buffer, nil, :host,= "<a href=3D"http://hal9000.us.tel.com" target=3D"_blank">hal9000.us.t= el.com</a>", :service, 4005, :nowait, nil, :tls-parameters, nil<font c= olor=3D"#202124" face=3D"Google Sans, Roboto, RobotoDraft, Helvetica, Arial= , sans-serif"><span style=3D"font-variant-ligatures:no-contextual"><br></sp= an></font></div><div><br></div><div><font color=3D"#202124" face=3D"Google = Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style=3D"fon= t-variant-ligatures:no-contextual">I need help in figuring out the cause of= the problem so that I can ask our IT department for specific help.</span><= /font></div><div><br></div><div>My emacs can connect to the internet - for = instance, org-ref (orgmode+bibtex) can fetch journal article citations usin= g DOI's.</div><div>So, why is <font face=3D"monospace">make-network-pro= cess</font> failing in this instance?</div><div><br></div><div>I am looking= for some simple tests of <font face=3D"monospace">make-network</font><font= face=3D"monospace"> proces</font>=C2=A0that can narrow down the cause of f= ailure when connecting to swank.</div><div><br></div><div>I was going to as= k on the emacs mailing list, but I thought it best to start here first.</di= v><div><br></div><div>Thank you,</div><div><br></div><div>Mirko</div></div>= </blockquote><div>=C2=A0</div></div></div></div></div> --00000000000031c10c05a3a62f3b--