Hello Michael
Thanks for your time
De: "Michael Albinus" <address@hidden>
À: "SENESI Stéphane" <address@hidden>
Cc: address@hidden
Envoyé: Dimanche 1 Mars 2015 18:45:07
Objet: Re: Opening connection using telnet ... failed
SENESI Stéphane <address@hidden> writes:
> Hi everybody
Hi Stéphane
> I use Tramp for login from home to two computers at work, using VPN
> and telnet. This used to work fine for both. One of them underwent a
> system upgrade (to Mageia 4), and, possibly from that time, I cannot
> connect anymore. On the other computer, which runs another Unix
> flavor, everything is OK. On the same VPN connection, I can connect
> manually to the host showing the issue. The login prompt on that
> machine seems fine ("my host login:"). After login, I get some colored
> output (and so, some escape sequences), but this used to be the case
> also 'before', when the connection was working fine; and I think that
> the issue occurs upstream of that :
>
> Despite I set tramp-verbose to 20, I have no interesting hint in the
> debug buffer :
>
> ;; GNU Emacs: 23.3.1 Tramp: 2.2.11 -*- mode: outline; -*-
> 03:58:45.375022 tramp-get-connection-property (7) # ~ undef
> 03:58:45.375472 tramp-get-connection-property (7) # process-name nil
> 03:58:45.375775 tramp-get-connection-property (7) # process-name nil
> 03:58:45.376050 tramp-get-connection-property (7) # process-buffer nil
> 03:58:45.378153 tramp-maybe-open-connection (3) # Opening connection
> for address@hidden using telnet...
> 03:58:59.760183 tramp-dissect-file-name (3) # Opening connection for
> address@hidden using telnet...failed
Nothing happened for 14 seconds.
> 03:58:59.766572 tramp-file-name-handler (1) # Interrupt received in
> operation (expand-file-name /telnet:address@hidden:~ nil)
Looks like you have entered C-g in order to see what happens.
> How can I further dig into this issue ?
Hmm. Maybe you wait until Tramp runs into a time-out? I cannot promise
it works then, but sometimes telnet takes its time.
I did enter C-g quite quick, because it was not the first failing try ... I just tried waiting more , up to 4 minutes, with the same lack of result. In addition, I do not have any connection buffer to look at.
Can it be some network / firewall issue ? (which would not occur with 'raw telnet' : remember that basic telnet connection from a fresh terminal window does work; and M-x telnet do work too, and M-x shell + telnet does work too)
Regards
Stéphane
When the time-out occurs, it might be also interesting to see the
contents of the connection buffer (plus the Tramp debug buffer, as you
did already).
> Thanks for any help
>
> Stéphane
Best regards, Michael.
--
----- Météo-France -----
SENESI STEPHANE
CNRM/GMGEC/ASTER
address@hidden
Fixe : +33 561079931