So I setup my S3 bucket, used sleet to upload my packages and verified that the bucket is populated after the push operation.
I also added a CloudFront distribution and auth handling (which I have temporarily disabled). With it enabled, I can successfully use Basic Auth and hit the index.json and get a response from my CloudFront Address
So I can en masse update my internal packages (calver'd so the date thing works)
I see output like then when it goes to find the package from the provided source:
GET https://<uniqueid>.cloudfront.net/FindPackagesById()?id='My.Package'&semVerLevel=2.0.0
If I try to fetch that same address, I get a 404 so the dotnet add package command fails. or I let the command run and get this for every package:
error: Failed to retrieve information about 'My.Package' from remote source 'https://<uniqueid>.cloudfront.net/FindPackagesById()?id='My.Package'&semVerLevel=2.0.0'.
error: Response status code does not indicate success: 404 (Not Found).
I should also note that attempting to run this from Visual Studio Mac also fails in the same way
So I setup my S3 bucket, used sleet to upload my packages and verified that the bucket is populated after the push operation.
I also added a CloudFront distribution and auth handling (which I have temporarily disabled). With it enabled, I can successfully use Basic Auth and hit the index.json and get a response from my CloudFront Address
Now when I run something like:
So I can en masse update my internal packages (calver'd so the date thing works)
I see output like then when it goes to find the package from the provided source:
If I try to fetch that same address, I get a 404 so the
dotnet add package
command fails. or I let the command run and get this for every package:I should also note that attempting to run this from Visual Studio Mac also fails in the same way
Am I missing something in my setup?
My
sleet.json
is as follows: