Re: make-network-process timing out when connecting swank server

Mirko Vukovic <[email protected]> Sun, 19 Apr 2020 18:21:54 -0400
Newsgroups gmane.lisp.slime.devel
Message-ID <CAO73BADcdL9Aq2RoVssGuoH9ht52y12ejQ5xUxQp=KC0PucBnw@mail.gmail.com>
--000000000000dcd90805a3ac3704
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sun, Apr 19, 2020 at 2:18 PM Lu=C3=ADs Oliveira <[email protected]> wrot=
e:

> On Sun, 19 Apr 2020 at 01:08, Mirko Vukovic <[email protected]>
> wrote:
> > 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 cam=
e
> to a call to make-network-process, which is a C function.
> >
> > 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
>
> Does telneting to hal9000.us.tel.com port 4005 work?

I have a swank server listening on port 4005. telnet times out:
> telnet hal9000 4005
Trying 172.17.57.205...
telnet: Unable to connect to remote host: Connection timed out



> Why don't you
> connect to SWANK via the SSH tunnel you've established?
>
> If you mean by slime-connect, it times out.

If you mean by telnet, it works:
> telnet localhost 4005
Trying ::1...
Connected to localhost.
Escape character is '^]'.


--=20
> Lu=C3=ADs Oliveira
> http://kerno.org/~luis/
>

--000000000000dcd90805a3ac3704
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Sun, Apr 19, 2020 at 2:18 PM Lu=C3=
=ADs Oliveira &lt;<a href=3D"mailto:[email protected]">[email protected]</a=
>&gt; 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">On =
Sun, 19 Apr 2020 at 01:08, Mirko Vukovic &lt;<a href=3D"mailto:mirko.vukovi=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:<br>
&gt; With Martin&#39;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).<br>
&gt;<br>
&gt; Nevertheless, sly-connect still fails. Stepping through the code, I ca=
me to a call to make-network-process, which is a C function.<br>
&gt;<br>
&gt; The error message is<br>
&gt; &quot;make client process failed&quot;, &quot;Connection timed out&quo=
t;, :name, &quot;sly-4&quot;, :buffer, nil, :host, &quot;<a href=3D"http://=
hal9000.us.tel.com" rel=3D"noreferrer" target=3D"_blank">hal9000.us.tel.com=
</a>&quot;, :service, 4005, :nowait, nil, :tls-parameters, nil<br>
<br>
Does telneting to <a href=3D"http://hal9000.us.tel.com" rel=3D"noreferrer" =
target=3D"_blank">hal9000.us.tel.com</a> port 4005 work? </blockquote><div>=
I have a swank server listening on port 4005. telnet times out:</div><div>&=
gt; telnet hal9000 4005<br>Trying 172.17.57.205...<br>telnet: Unable to con=
nect to remote host: Connection timed out<br></div><div><br></div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">Why don&#39;t yo=
u<br>
connect to SWANK via the SSH tunnel you&#39;ve established?<br>
<br></blockquote><div>If you mean by slime-connect, it times out.=C2=A0</di=
v><div><br></div><div>If you mean by telnet, it works:</div><div>&gt; telne=
t localhost 4005<br>Trying ::1...<br>Connected to localhost.<br>Escape char=
acter is &#39;^]&#39;.<br><br></div><div><br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex">
-- <br>
Lu=C3=ADs Oliveira<br>
<a href=3D"http://kerno.org/~luis/" rel=3D"noreferrer" target=3D"_blank">ht=
tp://kerno.org/~luis/</a><br>
</blockquote></div></div>

--000000000000dcd90805a3ac3704--