Skip to content
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

UploadXvcPackage throws HttpRequestException #43

Open
VeliKokkonen opened this issue Feb 22, 2024 · 3 comments
Open

UploadXvcPackage throws HttpRequestException #43

VeliKokkonen opened this issue Feb 22, 2024 · 3 comments

Comments

@VeliKokkonen
Copy link

UploadXvcPackage operation has started throwing the following exception.

fail: PackageUploader.ClientApi.Client.Ingestion.IngestionHttpClient[0] Exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 301 (Moved Permanently).    at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()    at PackageUploader.ClientApi.Client.Ingestion.Client.HttpRestClient.GetAsync[T](String subUrl, CancellationToken ct) in D:\PartnerCenter\GameStoreBroker\src\PackageUploader.ClientApi\Client\Ingestion\Client\HttpRestClient.cs:line 53

fail: PackageUploader.Application.Operations.UploadXvcPackageOperation[0] Response status code does not indicate success: 301 (Moved Permanently).

Upload operation has worked correctly in our deployment pipe month ago with the same setup. Tested with v1.7.5.

@nickfourtimes
Copy link

Noting that I have the same issue: it looks like the package was successfully uploaded on Partner Center, but then this response code seems like a false-negative, prompting our CI/CD system to abort distribution.

@Jakenv
Copy link

Jakenv commented Aug 29, 2024

In our case we thought this error happened because we were trying to upload the same package twice, but recently even after removing package from the branch we still get the same error.

The biggest offender of this issues is that it indicates Error, returns code 3 and exits the program as failed. When checked on the Partner Center we can see that the app was uploaded but only msixvc file, the others(ekb, .zip and xml) were not uploaded presumably because upload failed on Processing

It would be nice if the program would return at least more meaningful error than generic 301
Best case if it would just ignore the error and just continue with the upload

@justlordington
Copy link

Running into this issue as well from latest source. Seems to upload all the files successfully then reports the 301.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants