Sometimes PUT to S3 fails, and the code tries to recover from this error by issuing a HEAD to request to the bucket to check if the upload has succeeded or not.
In my bucket I had not included the HEAD method to CORS, so this request was failing and the upload could not recover from the PUT error.
Sometimes PUT to S3 fails, and the code tries to recover from this error by issuing a HEAD to request to the bucket to check if the upload has succeeded or not. In my bucket I had not included the HEAD method to CORS, so this request was failing and the upload could not recover from the PUT error.