- Más nuevo
- Más votos
- Más comentarios
Tharun,
When encountering net::ERR_CONNECTION_RESET with S3 multipart uploads, ensure your internet connection is stable and check that the file size doesn’t exceed S3’s limits. Also, consider extending the timeout settings in your application or AWS SDK to accommodate larger files, and verify that your S3 bucket policies don’t impose conflicting restrictions.
Enabling server access logging on S3 may provide additional insight into the requests and potential issues.
Hello,
There seems to be an error while uploading files using mulipart uploads. The problem could be that your pre-signed URL is expiring before the upload is complete. Try removing the expire metadata from parameters or increasing the value. By default, a pre-signed URL expires in 15 minutes.
Hey Julian, Thanks for the input. I have expiry time set as 60 mins to ensure that the issue is not with the expiry time of pre-signed URL. And I'm trying to push file chunk immediately after generating the URL. I'm just trying to figure if its the issue with Browser/Network/AWS. Adding a screenshot of the network calls to the post for your reference.
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 4 meses
Hi Vitor, Thanks for the response. Added screenshot of the network calls that are failing for your reference. I am currently working in local environment and the chunk size(5MB) is within the S3 limit. I'm not sure if it has anything to do with timeout since it is a local environment. I will try enabling logs on S3 to see if I can find anything helpful.
Any suggestions to ensure that file upload is successful even after the errors(like retry uploading the chunk incase of error etc) so that the user experience will be good ?