问题描述
更新了我从4.1到19.2暂时没用过的MT3620。 按照说明操作,它似乎更新成功。 为了确认,我重复了azsphere设备show-ota-status -v命令。 这是我得到的:
C:\ Users \ T470p \ Document> azsphere device show-ota-status -v
Azure Sphere Utility版本19.2.4.2632
版权所有(C)Microsoft Corporation。保留所有权利。
开始时间(UTC):2019年3月11日星期一18:08:13
verbose:读取设置文件' C:\ Users \ T470p \ AppData \ Local \Azure Sphere Tools \ setting.json'。
$
verbose:==>使用Azure Active Directory租户ID:'fce1609a-ec81-4e2a-a02b-6b548c4beb49'。
verbose:==>使用环境:'prod'。
verbose:==>使用Azure Sphere租户ID:'13d0cf2b-230c-43e2-8aae-8a1de6558455'。
$
verbose:读取设置文件'C:\Users\T470p \ AppData\ Local \Azure Sphere Tools \ setting.json'。
详细信息:从https://prod.releases.sphere.azure.net/versions/mt3620an下载操作系统映像集数据。 json。
您的设备运行的是Azure Sphere OS版本19.02。
verbose:读取设置文件'C:\Users\T470p\AppData \ Local \ Azure Sphere Tools \ setting.json'。
详细信息:使用连接的设备ID'D61D467F6CB0DC1F9D1E9A9848F63F901B4CA18371638118E71FB4E377847AB689E641FCFB65AE23458F94AD0662779138206732279F586629E2A49AA94872D0'。
错误:出现意外问题。请再试一次;如果问题仍然存在,请参阅aka.ms/azurespheresupport以获取故障排除建议和支持。跟踪ID:34e2acf5-82ca-4f1d-86a3-2af1ee7e2809
回复:{
" RequestUri" ;:" HTTPS://prod.core.sphere.azure.net/tenants/13d0cf2b-230c-43e2-8aae-8a1de6558455/devices/D61D467F6CB0DC1F9D1E9A9848F63F901B4CA18371638118E71FB4E377847AB689E641FCFB65AE23458F94AD0662779138206732279F586629E2A49AA94872D0/images" ;,
  " StringContent":null,
"StatusCode":404,
"ReasonPhrase":"为设备获取图片失败。",
"方法":{
"方法":"GET"
},b $ b "RequestHeaders":{
$
"x-open-tracing-span-traceid":[
"34e2acf5-82ca-4f1d-86a3-2af1ee7e2809"
],$
"User-Agent":[
" azsphere / 19.2.4.2632",
"Microsoft.Azure.Sphere.Tools.SecurityServiceOperations / 19.2.4.2632",
"(Microsoft Windows NT 6.2.9200.0)" b $ b ]¥b $ b },b $ b "ResponseHeaders":{
$
"请求 - 上下文":[
"appId = cid-v1:b521a172-2c33-47a3-9b54-05ca8b9a1053"
],$
"Strict-Transport-Security":[
"最大年龄= 31536000; includeSubDomains" b
],$
"X-Content-Type-Options":[
"nosniff"&b $ b ],$
"X-ServiceFabric":[
"ResourceNotFound"&
],$
"日期":[
"周一,2019年3月11日18:08:17 GMT"
],$
"服务器":[
"红隼"左右b $ b ]¥b $ b },b $ b " ContentType" ;: null
}
Microsoft.Azure.Sphere.PublicApi.Clients.Exceptions.PublicApiNotFoundException:获取设备图像失败。
在Microsoft.Azure.Sphere.PublicApi.Clients.PublicApiClient。< ListImagesToBeDeployedToDeviceAsync> d__24.MoveNext()
---从抛出异常的上一个位置开始的堆栈跟踪结束---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)
在Microsoft.Azure.Sphere.Tools.SecurityServiceOperations.DeviceManager。< GetSoftwareAsync> d__4.MoveNext()
---从抛出异常的上一个位置开始的堆栈跟踪结束---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)
在Microsoft.Azure.Sphere.Tools.Common.OsVersionChecker。< GetCloudImagesAsync> d__18.MoveNext()
---从抛出异常的上一个位置开始的堆栈跟踪结束---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)
在Microsoft.Azure.Sphere.Tools.Common.OsVersionChecker。< GetTargetedOsVersionAsync> d__15.MoveNext()
---从抛出异常的上一个位置开始的堆栈跟踪结束---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)
在Microsoft.Azure.Sphere.Tools.AzSphere.DeviceShowOtaStatusCommand。< ExecuteAsync> d__1.MoveNext()
---从抛出异常的上一个位置开始的堆栈跟踪结束---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)
在Microsoft.Azure.Sphere.Tools.AzSphere.DeviceShowOtaStatusCommand。< ExecuteAsync> d__0.MoveNext()
---从抛出异常的上一个位置开始的堆栈跟踪结束---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)
在CommandLine.SuperCommand`1。< ExecuteAsync> d__0.MoveNext()
---从抛出异常的上一个位置开始的堆栈跟踪结束---
  ;&NBSP; at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)
在CommandLine.EntryPoint。< ExecuteAsync> d__1`2.MoveNext()
错误:命令在00:00:03.2205209失败。
Updated an MT3620 that I hadn't used for a while from 4.1 to 19.2. Followed the directions and it appears to update successfully. To confirm, I repeated the azsphere device show-ota-status -v command. Here is was I got:
C:\Users\T470p\Documents>azsphere device show-ota-status -v
Azure Sphere Utility version 19.2.4.2632
Copyright (C) Microsoft Corporation. All rights reserved.
Start time (UTC): Monday, 11 March 2019 18:08:13
verbose: Reading settings file 'C:\Users\T470p\AppData\Local\Azure Sphere Tools\settings.json'.
verbose: ==> Using Azure Active Directory tenant ID: 'fce1609a-ec81-4e2a-a02b-6b548c4beb49'.
verbose: ==> Using environment: 'prod'.
verbose: ==> Using Azure Sphere tenant ID: '13d0cf2b-230c-43e2-8aae-8a1de6558455'.
verbose: Reading settings file 'C:\Users\T470p\AppData\Local\Azure Sphere Tools\settings.json'.
verbose: Downloading OS image set data from https://prod.releases.sphere.azure.net/versions/mt3620an.json.
Your device is running Azure Sphere OS version 19.02.
verbose: Reading settings file 'C:\Users\T470p\AppData\Local\Azure Sphere Tools\settings.json'.
verbose: Using attached device ID 'D61D467F6CB0DC1F9D1E9A9848F63F901B4CA18371638118E71FB4E377847AB689E641FCFB65AE23458F94AD0662779138206732279F586629E2A49AA94872D0'.
error: An unexpected problem occurred. Please try again; if the issue persists, please refer to aka.ms/azurespheresupport for troubleshooting suggestions and support. Trace ID: 34e2acf5-82ca-4f1d-86a3-2af1ee7e2809
Response: {
"RequestUri": "https://prod.core.sphere.azure.net/tenants/13d0cf2b-230c-43e2-8aae-8a1de6558455/devices/D61D467F6CB0DC1F9D1E9A9848F63F901B4CA18371638118E71FB4E377847AB689E641FCFB65AE23458F94AD0662779138206732279F586629E2A49AA94872D0/images",
"StringContent": null,
"StatusCode": 404,
"ReasonPhrase": "Getting images for device failed.",
"Method": {
"Method": "GET"
},
"RequestHeaders": {
"x-open-tracing-span-traceid": [
"34e2acf5-82ca-4f1d-86a3-2af1ee7e2809"
],
"User-Agent": [
"azsphere/19.2.4.2632",
"Microsoft.Azure.Sphere.Tools.SecurityServiceOperations/19.2.4.2632",
"(Microsoft Windows NT 6.2.9200.0)"
]
},
"ResponseHeaders": {
"Request-Context": [
"appId=cid-v1:b521a172-2c33-47a3-9b54-05ca8b9a1053"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"X-Content-Type-Options": [
"nosniff"
],
"X-ServiceFabric": [
"ResourceNotFound"
],
"Date": [
"Mon, 11 Mar 2019 18:08:17 GMT"
],
"Server": [
"Kestrel"
]
},
"ContentType": null
}
Microsoft.Azure.Sphere.PublicApi.Clients.Exceptions.PublicApiNotFoundException: Getting images for device failed.
at Microsoft.Azure.Sphere.PublicApi.Clients.PublicApiClient.<ListImagesToBeDeployedToDeviceAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Sphere.Tools.SecurityServiceOperations.DeviceManager.<GetSoftwareAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Sphere.Tools.Common.OsVersionChecker.<GetCloudImagesAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Sphere.Tools.Common.OsVersionChecker.<GetTargetedOsVersionAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Sphere.Tools.AzSphere.DeviceShowOtaStatusCommand.<ExecuteAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Sphere.Tools.AzSphere.DeviceShowOtaStatusCommand.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommandLine.SuperCommand`1.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommandLine.EntryPoint.<ExecuteAsync>d__1`2.MoveNext()
error: Command failed in 00:00:03.2205209.
这篇关于使用Azsphere实用程序时出现意外错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!