Closed MTKSDCM closed 2 years ago
This issue is occurring after using the update for the partner center manager
@MTKSDCM ,
"partner center manager", are you referring to the Microsoft.Devices.HardwareDevCenterManager
package 2.2.7
?
The latest update added a catch for HttpRequestException. No other changes were made.
Are you using the current SDCM version 1.2021.1001.1
and updating the Microsoft.Devices.HardwareDevCenterManager
package to 2.2.7
?
The command you are using is sdcm.exe -download signed.zip -productid PID -submissionid SID
?
The exception you pasted in System.Threading.Tasks.TaskCanceledException: A task was canceled.
Looks like this was thrown at Microsoft.Devices.HardwareDevCenterManager/DevCenterHandler.cs : Line 116. This appears to be from Partner Center's service. You might need to open a support ticket with them and reference your Correlation Id
in the output you pasted.
We currently have a pull request for SDCM which adds try catch logic to SDCM, an exception logger, and three new error codes.
This issue occurs randomly, if any issue is there then it should happen always. can you please help with it.
i am doubting that there is any issue with Token expiration as well ?
The reason this is happening randomly is due to the dependency service which the API calls are made to. We cannot control their service availability.
is there any possible way to confirm that this issue is happening due to the Microsoft service. once confirmed then we can contact Microsoft for this issue.
@MTKSDCM, I have been updated that the connection issue has been mitigated. Are you still seeing the issue from your side?
This should resolve your initial title of the issue. Thank you for providing the log. I see the trace filed was not present when you experienced this. We will create a work item to investigate why the trace field was not available.
Unhandled Exception: System.MissingFieldException: Field not found
: 'Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterErrorDetails.Trace
'.
Correlation Id: c13c419a-f1e8-4e7d-b93d-6d52ccc39d23 Return: 0 (SUCCESS)
Unhandled Exception: System.MissingFieldException: Field not found: 'Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterErrorDetails.Trace'. at SurfaceDevCenterManager.Program.DevCenterErrorDetailsDump(DevCenterErrorDetails error) at SurfaceDevCenterManager.Program.Main(String[] args) in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 67