Open brando90 opened 4 years ago
note I did change the ulimit of my mac:
(automl-meta-learning) brando~ ❯ echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf
echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf
sudo sysctl -w kern.maxfiles=65536
sudo sysctl -w kern.maxfilesperproc=65536
ulimit -n 65536
Password:
kern.maxfiles=65536
kern.maxfilesperproc=65536
kern.maxfiles: 65536 -> 65536
kern.maxfilesperproc: 65536 -> 65536
I also tried the suggestions https://github.com/liximomo/vscode-sftp/issues/499 and they failed.
Did the following but it failed:
having those lines in sftp.json should work (and work for me):
"protocol": "ftp",
"secure": true
If you're having certificate problems, include (and you already have, but just in case):
"secureOptions": {
"rejectUnauthorized": false
}
and FTPS should work.
Apart from that, make sure your hostname and port are set correctly.
If you're still unable to connect, there might be a server-side issue. In that case inspect the server logs to see what is happening.
For completeness I saw this too but wasn't helpful: https://github.com/liximomo/vscode-sftp/issues/510
One of the chats also had this link. I read it but I was confused what I was suppose to do with it:
I confirmed with the administrators that the server logs do not show anything when I save my file.
Usually when I do rsync they see something.
Do you read the FAQ?
Describe the bug When I do file on save the file in the server does not change but the logs don't show any obvious error.
To Reproduce I don't know how to reproduce. SFTP was working fine (and there doesn't seem to be a change in the SFTP codebase recently).
Expected behavior I should be able to see the changes I made locally on the server
Screenshots N\A
Desktop (please complete the following information):
Version: 1.46.1 Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d Date: 2020-06-17T21:17:14.222Z (2 wks ago) Electron: 7.3.1 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Darwin x64 19.5.0
Extension Logs from Startup - required
when I do save then this is the sftp output:
the most notable output: