Closed lrohrmann closed 4 years ago
This issue happened because your submission takes a very long time and eventually your access token expires. Sometimes the Windows Store API run into issues that caused the extension to take very long time to process. In that case simply doing a retry for the task on Azure DevOps would help.
Hi Louis,
I will try that again, but last time it happens always after ~1 hour and not after a very long time. Those 1 hour until the submission is published is at least for our App a very normal time frame. is there a way to extend the life time of an access token to more than one hour?
Thanks Lorenz
To my knowledge I don't know. But the extension is designed to complete within the timeout during the normal setting so when timeout happens (or when token expires) we know there is an issue on the Store API side.
Hello, I have retestet today and currently it works. Also if the publishing needs more than 1 hour it doesn't cancel the polling. Seems to be an temporary issue in the store api.
Thanks
Hello,
I use the extension v0.9.30 in a release pipeline. It uploads sucessfull the package into a flight release but while polling the status after 1 hour I get an exception. Here is the part of the log: 2019-11-29T11:00:59.8279542Z Polling flight submission... 2019-11-29T11:01:03.8601292Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"CommitStarted 2019-11-29T11:06:07.7943496Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"PreProcessing 2019-11-29T11:11:11.5499602Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Certification 2019-11-29T11:16:14.7419333Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Certification 2019-11-29T11:21:19.3812218Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Release 2019-11-29T11:26:31.0332970Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Publishing 2019-11-29T11:31:34.7972109Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Publishing 2019-11-29T11:36:38.6782520Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Publishing 2019-11-29T11:41:44.0873562Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Publishing 2019-11-29T11:46:48.8169332Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Publishing 2019-11-29T11:51:52.8629082Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Publishing 2019-11-29T11:56:57.3762821Z Submission status for "applications/[appid]/flights/ecbcd6eb-2f51-489f-a8dc-d9101dcaabdc/submissions/1152921505689249124"Publishing 2019-11-29T12:01:57.8666261Z ##[error]Status 401: {"statusCode":401,"message":"APIM: Unauthorized. Access token is missing or invalid."}
I have tried that multiple times and it seems that it is always after 1 hour polling. Anybody else had seen that issue and perhaps solved it?
Best regards Lorenz