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

SSL certificate verify failed on upload of 6.6 GiB file #63

Open
amedee opened this issue Jan 25, 2016 · 2 comments
Open

SSL certificate verify failed on upload of 6.6 GiB file #63

amedee opened this issue Jan 25, 2016 · 2 comments

Comments

@amedee
Copy link

amedee commented Jan 25, 2016

I uploaded a 6.6 GiB file and after some time I got this error:

Traceback (most recent call last):
  File "/home/amedee/bin/glacier", line 730, in <module>
    App().main()
  File "/home/amedee/bin/glacier", line 716, in main
    self.args.func()
  File "/home/amedee/bin/glacier", line 498, in archive_upload
    file_obj=self.args.file, description=name)
  File "/home/amedee/bin/glacier-cli/boto/glacier/vault.py", line 141, in create_archive_from_file
    writer.write(data)
  File "/home/amedee/bin/glacier-cli/boto/glacier/writer.py", line 152, in write
    self.send_part()
  File "/home/amedee/bin/glacier-cli/boto/glacier/writer.py", line 141, in send_part
    content_range, part)
  File "/home/amedee/bin/glacier-cli/boto/glacier/layer1.py", line 626, in upload_part
    response_headers=response_headers)
  File "/home/amedee/bin/glacier-cli/boto/glacier/layer1.py", line 83, in make_request
    data=data)
  File "/home/amedee/bin/glacier-cli/boto/connection.py", line 913, in make_request
    return self._mexe(http_request, sender, override_num_retries)
  File "/home/amedee/bin/glacier-cli/boto/connection.py", line 859, in _mexe
    raise e
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

I don't know if the file was uploaded correctly, but the time was long enough to expect an upload to complete. The glacier archive list command doesn't show the file.

I have previously used glacier archive retrieve and glacier vault sync on this system, and they do not return an error.

EDIT: I uploaded a 1.2 GiB file and didn't get an error. The smaller file is listed with glacier archive list.

@amedee amedee changed the title SSL certificate verify failed on upload SSL certificate verify failed on upload of 6.6 GiB file Jan 25, 2016
@amedee
Copy link
Author

amedee commented Jan 25, 2016

The 6.6 GiB was a tarball that contained some redundant files. I removed the redundant files, the resulting file was 2.6 GiB. I was able to upload the smaller file.
So probably the error only occurs with very large files, but I wouldn't be able to determine the cut-off size, and the issue is no longer relevant for me personally. But maybe others will have the same issue.

@ghost
Copy link

ghost commented Feb 17, 2018

I believe the max size per archive is 4GB:
https://docs.aws.amazon.com/amazonglacier/latest/dev/uploading-archive-mpu.html

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

No branches or pull requests

1 participant