mkloubert / vscode-remote-workspace

Multi protocol support for handling remote files like local ones in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-remote-workspace
GNU Lesser General Public License v3.0
208 stars 37 forks source link

SFTP connection issue #101

Open Nescabir opened 5 years ago

Nescabir commented 5 years ago

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.

momper14 commented 5 years ago

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.

Nescabir commented 5 years ago

It works with FTP.

PapaRanger commented 5 years ago

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

anusoft commented 5 years ago

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)"

the-habu commented 5 years ago

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.

Angeart commented 5 years ago

I have same issue

Angeart commented 5 years ago

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

Nescabir commented 5 years ago

Great ! waiting for the update :+1:

bmunslow commented 5 years ago

Same issue, waiting for update

Samaniegomx commented 5 years ago

Same issue here.

momper14 commented 5 years ago

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

g4b0 commented 5 years ago

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"

the-habu commented 5 years ago

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

LeoJhonSong commented 5 years ago

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 😀