trusted-cgi icon indicating copy to clipboard operation
trusted-cgi copied to clipboard

archive/tar: Write too long on Windows

Open JosXa opened this issue 4 years ago • 2 comments

OS: Windows 10 Shell: PowerShell Core 7.1 Version: 0.3.6

On Windows, I am running into the following error message when attempting to download a newly-created lambda from my VPS:

PS> cgi-ctl download -l admin -p <mypassword> -u https://<mydomain>.dev -U 93470b46-f74a-4352-9c74-c7bbbfdd5eb9
2021/01/23 07:48:28 login...
2021/01/23 07:48:28 download...
download: -30000: archive/tar: write too long

Is there some combination of options that immediately strikes you as odd here, using SSL and being on Windows maybe? According to some research this seems to be a common issue in Go, but I have 0 knowledge about the language. If you were to make a release with more verbose error handling then I could provide a more detailed error description :)

JosXa avatar Jan 23 '21 06:01 JosXa

Thank you very much for the properly formatted issue!

  1. Code -30000 means that error arrived from RPC, that means exception happen on server side. Could you please give output of sudo lsb_release -a on server? It should print detailed information about OS.
  2. Is it possible that your lambda wrote something on disk during download operation?

reddec avatar Jan 25 '21 14:01 reddec

Hello, I am having the same problem in a docker setup. I can successfully download from all newly created templates, except python's. If I manually delete the venv folder, it works. Any ideas on how to solve that?

Thanks for this amazing project!

panos-stavrianos avatar Nov 26 '22 10:11 panos-stavrianos