Open whyisjacob opened 6 years ago
Can you check your ports to see they match and also the tunnel?
I'm experiencing the same problem, here's a snippet from my console. As you can see, I do have access to the files in the remote system (cat, etc. works).
PS C:\Users\XXX> ssh -R 52698:localhost:52698 root@XXX.YYY.com -p 33142
root@XXX.YYY.com's password:
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-124-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Last login: Sun May 20 07:24:33 2018 from 141.226.162.27
root@ZZZ:~# cd web-starter/
root@ZZZ:~/web-starter# rmate index.js
root@ZZZ:~/web-starter#
(It doesn't show any error or failure, simply doesn't do anything) How should i check for matching ports and tunnel? Thanks.
Same issue here. It usually appends after computer went to sleep mode or some kind of connexion reset. The command just freezes and even restarting VSCode or the computer makes no difference. The only solution I found is to let it be frozen for a while until it eventually returns "Couldn't connect to Textmate" (cf. screenshot). After that, restarting server on VSCode makes it work again. Except this bug, rmate is really cool by the way, thanks for that !
I had the same issue and was able to fix it. if your ssh config is setting RemoteForward 52698 localhost:52698
, change localhost to 127.0.0.1.
for reference, my client is windows 10 running the native openssh in 1803. server was ubuntu 16.04 using python rmate.
I had the same issue and was able to fix it. Open up a new terminal in VS Code and connect to your Linux Virtual Machine using the following command: (dont forget >Remote: Start Server command) ssh -R 52698:127.0.0.1:52698 your_user_name@VIRTUAL_MACHINE_IP_ADDRESS rmate file_you_want_to_open
I have the same issue after the computer went to sleep mode. I still can't fix it. Now I can only wait till it suddenly works like @alexmaite25 . Please help.
please check whether your localhost was used by other service(e.g. jupyter notebook)
I solved the problem while terminating running tasks on VS studio. For that press "Ctrl+Shift+P"
and run >task terminate
. After that start your remote server again on Command Plate. In the last connect with ssh -R 52698:127.0.0.1:52698 username@server
and call the file rmate your_file
.
same problem, have tried every response in this issue. no one worked.
problem solved after reinstalling VS Code & extension & changing localhost
to 127.0.0.1
Had same problem. Found that the port was already open on the remote machine. Just execute the below commands and kill all the processes. Then reattempt.
sudo netstat -plant | grep 52698 sudo kill -9 xxxx (replace xxxx with the process ids)
I tried half the suggestions here and only @gurupad93's worked for me. Mucho thanks!
I also found sudo lsof -i tcp:52698
to be helpful in addition to netstat
.
I restarted Windows and I fixed the problem
When attempting to open files via rmate, the file never seems to open and it does nothing. This is for the bash version