Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive/tar: Write too long on Windows #6

Open
JosXa opened this issue Jan 23, 2021 · 2 comments
Open

archive/tar: Write too long on Windows #6

JosXa opened this issue Jan 23, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@JosXa
Copy link

JosXa commented Jan 23, 2021

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

@reddec
Copy link
Owner

reddec commented Jan 25, 2021

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 reddec self-assigned this Jan 25, 2021
@reddec reddec added the question Further information is requested label Feb 19, 2021
@panos-stavrianos
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants