-
Notifications
You must be signed in to change notification settings - Fork 207
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
Resuming after PC wakes up from sleep mode #449
Comments
Hi @hajjimurad, thanks for letting us know. From our experience, in order to properly implement the pause/continue, you should probably use pause and [resume](https://github.com/TTLabs/EvaporateJS/wiki/Evaporate.prototype.resume()] methods. We are able to continue normally in our implementation, we don't upload 10-20G files though. Everything also depends on your bucket/iam settings. Can you provide repro of your case, or describe the "stuck somewhere" in more detail? Does AWS return any specific errors, is something happening with the progress of Evaporate instance? |
Hi Jakub, thanks for replying. That's how I instantiate the uploader.
After waking the PC up there is no more http-requests sent, i.e. no more chunks are getting uploaded. And no http-requests failed. But in the console I see the following error: Which is probably caused by this peace of code: Thank you! |
That looks reasonable. Would you find some time to create a test case where this can be simulated please? |
@jakubzitny, I was preparing the environment to simulate and found out the reason. |
Thanks a lot for the debugging @hajjimurad. Yes, we'll be trying to address this when rewriting this project to v3. |
I use the library to upload quite large files to S3 (10-20 GB) and it's very likely that the PC will go to sleep mode meanwhile.
After it wakes up the upload doesn't continue, it's stuck somewhere in the middle.
Is it a bug? And if not, what would be the workaround to continue the uploading?
Thanks!
The text was updated successfully, but these errors were encountered: