赞
踩
之前都是好好的,突然今天上传文件报错。误打误撞发现解决方式
- [03-01 09:29:08] [error] Error: Failure
- at 101 (c:\Users\d1312117\.vscode\extensions\natizyskunk.sftp-1.16.3\node_modules\ssh2\lib\protocol\SFTP.js:2854:19)
- at SFTP.push (c:\Users\d1312117\.vscode\extensions\natizyskunk.sftp-1.16.3\node_modules\ssh2\lib\protocol\SFTP.js:278:11)
- at CHANNEL_DATA (c:\Users\d1312117\.vscode\extensions\natizyskunk.sftp-1.16.3\node_modules\ssh2\lib\client.js:587:23)
- at 94 (c:\Users\d1312117\.vscode\extensions\natizyskunk.sftp-1.16.3\node_modules\ssh2\lib\protocol\handlers.misc.js:930:16)
- at Protocol.onPayload (c:\Users\d1312117\.vscode\extensions\natizyskunk.sftp-1.16.3\node_modules\ssh2\lib\protocol\Protocol.js:2052:10)
- at AESGCMDecipherNative.decrypt (c:\Users\d1312117\.vscode\extensions\natizyskunk.sftp-1.16.3\node_modules\ssh2\lib\protocol\crypto.js:987:26)
- at Protocol.parsePacket [as _parse] (c:\Users\d1312117\.vscode\extensions\natizyskunk.sftp-1.16.3\node_modules\ssh2\lib\protocol\Protocol.js:2021:25)
- at Protocol.parse (c:\Users\d1312117\.vscode\extensions\natizyskunk.sftp-1.16.3\node_modules\ssh2\lib\protocol\Protocol.js:306:16)
- at Socket.<anonymous> (c:\Users\d1312117\.vscode\extensions\natizyskunk.sftp-1.16.3\node_modules\ssh2\lib\client.js:775:21)
- at Socket.emit (node:events:513:28)
- at addChunk (node:internal/streams/readable:315:12)
- at readableAddChunk (node:internal/streams/readable:289:9)
- at Socket.Readable.push (node:internal/streams/readable:228:10)
- at TCP.onStreamRead (node:internal/stream_base_commons:190:23) when local ➞ remote
这是console的具体报错的 msg,并没有告知具体原因。就很奇怪,唯一发生的事情就是之前vm发生了一次IO问题,直接shutdown了。
哪个文件上传有问题,就直接先在vm删除了再上传就好了
如果不清楚是具体哪个文件导致的这个问题。就直接把VM上整个项目都删除了,重新上传
目前我就是这样解决的,有更好的办法可以update。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。