[TxMt] Re: rmate stopped working with alpha.9459
Brian Powell
powellb at gmail.com
Mon Aug 5 05:52:43 UTC 2013
Allan,
> Can you try, on your Mac, to run:
>
> telnet localhost 52698
>
> That should indicate if TextMate is listening. If this works, then try
> the same on your server to check the tunnel is working.
Thank you for the message. I did the above:
1) On the Mac:
telnet localhost 52698
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 blinky.local RMATE TextMate (Darwin 12.4.0)
So, it seems to work fine.
2) Next from the remote server. First, I ssh with verbosity on:
[snip]
debug1: Remote connections from LOCALHOST:52698 forwarded to local address localhost:52698
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions at openssh.com
debug1: Entering interactive session.
debug1: remote forward success for: listen 52698, connect localhost:52698
debug1: All remote forwarding requests processed
debug1: Sending environment.
debug1: Sending env RMATE_PORT = 52698
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending env LC_CTYPE = en_US.UTF-8
So, the forwarding seems to be enabled. Recall that my ssh configuration is:
Host REDACTED.HOST1
RemoteForward 52698 localhost:52698
SendEnv RMATE_*
I then try the telnet on the remote system:
telnet localhost 52698
debug1: client_input_channel_open: ctype forwarded-tcpip rchan 3 win 2097152 max 32768
debug1: client_request_forwarded_tcpip: listen localhost port 52698, originator 127.0.0.1 port 47996
debug1: connect_next: host localhost ([127.0.0.1]:52698) in progress, fd=8
debug1: channel 1: new [127.0.0.1]
debug1: confirm forwarded-tcpip
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
debug1: channel 1: connection failed: Connection refused
connect_to localhost port 52698: failed.
debug1: channel 1: free: 127.0.0.1, nchannels 2
Connection closed by foreign host.
So, it fails the connection...
Any idea why that would be the case all of a sudden (on multiple servers)? Particularly if it is responsive on the Mac.
Thanks,
Brian
More information about the textmate
mailing list