FIX: Package Promotion across s3 feeds may yield "HashStream does not support seeking" error
Created:
7/12/2021 5:55:06 AM by Alana Tripp
Status:
Completed on 7/12/2021 3:58:30 PM
Last pulled:
7/30/2021 11:35:45 AM
Description:
Both my source feed and target feed are on aws s3 and I am getting an error that is apparently from the s3 buckets.
I created 2 feeds, a prerelease feed and full release feed. Both Nuget. The prerelease feed is an internal feed, and the release feed is a promotion feed.
I updated the aws settings on the server (the proget installation is on EC2) so i tested the upload/download feature of both feeds and verified the files were in s3 properly. (side note: I have been using s3 buckets for storage for a while with other feeds, so this isn't a new thing, however I wanted to make sure I did my due diligence before submitting a ticket).
I uploaded a test package to the prerelease feed and attempted to promote it to the release feed. I get this error. "An error occurred promoting the package: HashStream does not support seeking" (see attached image).
Troubleshooting steps
Updated the Prerelease and release feeds storage packages from local storage to s3 and back in a combination to see what specifically was not working
- s3 -> s3 : failed
- local -> local: passed
- local -> s3: passed
- s3 -> local: failed