Invalid handle
See original GitHub issueHi there, When i try to upload to a website hosted on wpengine.com i get the error “Invalid handle”. This happens only on Visual Studio Code 1.56, on my laptop ( that is still running 1.55 ) everything works normally.
I know that this project is basically unmaintained, what can i do to solve this?
[06-01 07:55:40] [warn] Can't set modified time to the file because Invalid handle
[06-01 07:55:41] [error] Error: Invalid handle
at SFTPStream._transform (/home/epizefiri/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.js:412:27)
at SFTPStream.Transform._read (internal/streams/transform.js:205:10)
at SFTPStream._read (/home/epizefiri/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/sftp.js:183:15)
at SFTPStream.Transform._write (internal/streams/transform.js:193:12)
at writeOrBuffer (internal/streams/writable.js:358:12)
at SFTPStream.Writable.write (internal/streams/writable.js:303:10)
at Channel.ondata (internal/streams/readable.js:719:22)
at Channel.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Channel.Readable.push (internal/streams/readable.js:223:10)
at SSH2Stream.<anonymous> (/home/epizefiri/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2/lib/Channel.js:167:15)
at SSH2Stream.emit (events.js:315:20)
at parsePacket (/home/epizefiri/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/ssh.js:3288:10)
at SSH2Stream._transform (/home/epizefiri/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/ssh.js:694:13)
at SSH2Stream.Transform._read (internal/streams/transform.js:205:10)
at SSH2Stream._read (/home/epizefiri/.vscode/extensions/liximomo.sftp-1.12.9/node_modules/ssh2-streams/lib/ssh.js:253:15)
at SSH2Stream.Transform._write (internal/streams/transform.js:193:12)
at writeOrBuffer (internal/streams/writable.js:358:12)
at SSH2Stream.Writable.write (internal/streams/writable.js:303:10)
at Socket.ondata (internal/streams/readable.js:719:22)
at Socket.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Socket.Readable.push (internal/streams/readable.js:223:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23) when local ➞ remote /home/epizefiri/Projects/SUMUP/plexPayout/admin/partials/payout_settlement_master.php
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
"Invalid Handle" error - Microsoft Community
It might be caused by a corrupted or damaged Windows system files, outdated device driver, a software conflict, or even an infection. That...
Read more >FIX: The handle is invalid error in Windows 10/11
The handle is invalid error affects Windows 10 users when they try to log in to their computers. · The main causes for...
Read more >INVALID_HANDLE Error in Windows 10 - Easy File Renamer
The Invalid Handle error is a common issue in Windows 10. It usually occurs when new updates are added to the Windows but...
Read more >The Handle Is Invalid Error on Windows 10 FIX [Tutorial]
The Handle Is Invalid Error on Windows 10 FIX [Tutorial]This error affects Windows 10 users when they try to log in to their...
Read more >The Handle Is Invalid Error on Windows 10 - MajorGeeks.Com
"The handle is invalid" error can appear when you are logging in, and the problem is usually related to a Windows Update problem...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
#919 worked for me as well… thank you, @IlanVivanco
I’m on Win10 so I went to c:\users\username.vscode\extensions\liximomo.sftp-1.12.9\package.json changed “ssh2”: “^x.x.x” to “ssh2”: “^1.1.0” Then opened terminal in same directory (c:\users\username.vscode\extensions\liximomo.sftp-1.12.9) and ran> npm install restart vscode (didn’t work until I restarted vscode)
Follow the #919 comment to fix it!