microsoft / SDCM

Surface Dev Center Manager tool to automate WHQL/Attestation submissions and Shipping Label creation for Microsoft Hardware Dev Center
MIT License
34 stars 17 forks source link

signed Package download fails partner center dashboard APIs #35

Closed MTKSDCM closed 2 years ago

MTKSDCM commented 2 years ago

Correlation Id: c13c419a-f1e8-4e7d-b93d-6d52ccc39d23 Return: 0 (SUCCESS)

Download File SurfaceDevCenterManager v1.0.0.1 Download Option ./DRIVER_sign/MT7961X64.cab.signed.zip Fetch Submission Info Unhandled Exception: System.Threading.Tasks.TaskCanceledException: A task was canceled. at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d9.MoveNext() in C:\Users\DTMLLUAdminUser\Source\Repos\devices-hardware-dev-center-manager\src\Microsoft.Devices.HardwareDevCenterManager\DevCenterHandler.cs:line 125 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d101.MoveNext() in C:\Users\DTMLLUAdminUser\Source\Repos\devices-hardware-dev-center-manager\src\Microsoft.Devices.HardwareDevCenterManager\DevCenterHandler.cs:line 195 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.<HdcGet>d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Devices.HardwareDevCenterManager.DevCenterApi.DevCenterHandler.d18.MoveNext() in C:\Users\DTMLLUAdminUser\Source\Repos\devices-hardware-dev-center-manager\src\Microsoft.Devices.HardwareDevCenterManager\DevCenterHandler.cs:line 301 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at SurfaceDevCenterManager.Program.d6.MoveNext() in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 590 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SurfaceDevCenterManager.Program.Main(String[] args) in C:\Users\DTMLLUAdminUser\Downloads\SDCM-main\SDCM-main\SurfaceDevCenterManager\Program.cs:line 60 Last Command:

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

Done

MTKSDCM commented 2 years ago

This issue is occurring after using the update for the partner center manager

Ben-Carpenter commented 2 years ago

@MTKSDCM ,

Questions:

Notes

MTKSDCM commented 2 years ago

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 ?

Ben-Carpenter commented 2 years ago

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.

MTKSDCM commented 2 years ago

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.

Ben-Carpenter commented 2 years ago

@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'.