vscode-remote-workspace icon indicating copy to clipboard operation
vscode-remote-workspace copied to clipboard

SFTP connection issue

Open Nescabir opened this issue 5 years ago • 14 comments

Hi, first of all, great extension ! Really useful.

After the VSCode update today, i can't open a workspace using SFTP but i can open a workspace using FTP. It keeps buffering without displaying the files/repositories. So I guess the VSCode update broke something because it was working 2 hours ago before I did the update.

Thanks for your work.

Nescabir avatar Feb 07 '19 09:02 Nescabir

Same problem here. With SFTP I can see the folder structure but when I try to open a file, it loads forever. (Didn’t tried FTP) With VSCode 1.30.2 it worked perfectly.

Edit: I can confirm, FTP works.

momper14 avatar Feb 07 '19 10:02 momper14

It works with FTP.

Nescabir avatar Feb 07 '19 10:02 Nescabir

Same issue here with SFTP on new update 1.13 for vs code.

PapaRanger avatar Feb 07 '19 10:02 PapaRanger

Here's log from ~/.vscode-remote-workspace/.logs

INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKETDATAVERIFY" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: Verifying MAC" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKETDATAVERIFY (Valid HMAC)" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKETDATAAFTER, packet: REQUEST_FAILURE" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKETBEFORE (expecting 16)" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKET" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: Decrypting" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: pktLen:12,padLen:10,remainLen:0" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKETDATA" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: HMAC size:32" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKETDATAVERIFY" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: Verifying MAC" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKETDATAVERIFY (Valid HMAC)" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKETDATAAFTER, packet: REQUEST_FAILURE" INFO sftp://x.x.x.x:22 - [08/Feb/2019:06:09:21 +0000] "DEBUG: Parser: IN_PACKETBEFORE (expecting 16)"

anusoft avatar Feb 08 '19 06:02 anusoft

Sad... same issue here, got 2 new users on this and was hoping that this helps me a lot :( Hope we can start working with this soon.

FTP is no option for us.

the-habu avatar Feb 08 '19 09:02 the-habu

I have same issue

Angeart avatar Feb 08 '19 10:02 Angeart

@mkloubert I resolved this problem. plz see this PR => https://github.com/mkloubert/vscode-remote-workspace/pull/102

Angeart avatar Feb 08 '19 11:02 Angeart

Great ! waiting for the update :+1:

Nescabir avatar Feb 08 '19 13:02 Nescabir

Same issue, waiting for update

bmunslow avatar Feb 08 '19 13:02 bmunslow

Same issue here.

Samaniegomx avatar Feb 08 '19 16:02 Samaniegomx

With the new update, I can edit existing files. But when I create a new one or edit an empty, the "loading forever" continues.

log: 20190209.log

Btw I love this extension <3

momper14 avatar Feb 09 '19 10:02 momper14

Same problem as @Momper14 , new files results in "loading forever" issue

Temporary workaround: close VSC, add some text to the remote file, reopen VSC and it works.

Probably the issue is with empty files

g4b0

[EDIT] Just did a double check: created an empty file on the server, refreshed the workspace and it sill works. When trying to open the empty file I got "loading forever again"

g4b0 avatar Feb 10 '19 18:02 g4b0

Can we please get a release for this soon @mkloubert?

the-habu avatar Feb 14 '19 08:02 the-habu

Same problem😢 Sometimes I can even not open a subfolder, it keeps loading. It is a sad news that this extension does not works well with SFTP as Raspbian can enable SFTP very easily while has to go through some step to enable FTP. But after all this is a wonderful extension!

EDIT All right I enabled FTP of my raspberry and it works very well now 😀

LeoJhonSong avatar Feb 14 '19 14:02 LeoJhonSong