在写入Azure队列时,偶尔会出现 Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException 异常,但不了解此异常的含义和避免方法。 / p>
从遥测中,我可以看到此写入花费了很长时间,大约需要30-40秒才能失败。
我正在像这样写队列:
CloudQueueMessage message = new CloudQueueMessage("string content example");
await queue.AddMessageAsync(message);
有人知道此异常的含义吗?
这是完整的堆栈跟踪,它没有给我太多信息
Microsoft.WindowsAzure.Storage.StorageException:在 Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndExecuteAsync (Microsoft.WindowsAzure.Storage,版本= 9.3.1.0,文化=中性, PublicKeyToken = 31bf3856ad364e35Microsoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35: c:\ Program档案 (x86)\ Jenkins \ workspace \ release_dotnet_master \ Lib \ ClassLibraryCommon \ Core \ Executor \ Executor.csMicrosoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35:50) 在 Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions + <> c__DisplayClass7.b__5 (Microsoft.WindowsAzure.Storage,版本= 9.3.1.0,文化=中性, PublicKeyToken = 31bf3856ad364e35Microsoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35: c:\ Program档案 (x86)\ Jenkins \ workspace \ release_dotnet_master \ Lib \ ClassLibraryCommon \ Core \ Util \ AsyncExtensions.csMicrosoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35: 121)在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib,版本= 4.0.0.0,文化=中性, PublicKeyToken = b77a5c561934e089),网址为 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib,版本= 4.0.0.0,文化=中性, PublicKeyToken = b77a5c561934e089),网址为 Microsoft.Community.Data.Providers.AzureQueueProvider + d__1.MoveNext (Microsoft.Community.Data,版本= 1.0.0.0,文化=中性, PublicKeyToken = nullMicrosoft.Community.Data,版本= 1.0.0.0, 文化=中性,PublicKeyToken =空: D:\ a \ 1 \ s \ Microsoft.Community \ Microsoft.Community.Data \ Providers \ AzureQueueProvider.csMicrosoft.Community.Data, 版本= 1.0.0.0,文化=中性,PublicKeyToken =空:60)在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib,版本= 4.0.0.0,文化=中性, PublicKeyToken = b77a5c561934e089),网址为 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib,版本= 4.0.0.0,文化=中性, PublicKeyToken = b77a5c561934e089),网址为 Microsoft.Community.Web.Repositories.AzureMLRecommendationsRepository + d__5.MoveNext (Microsoft.Community.Web,版本= 1.0.0.0,文化=中性, PublicKeyToken = nullMicrosoft.Community.Web,版本= 1.0.0.0, 文化=中性,PublicKeyToken =空: D:\ a \ 1 \ s \ Microsoft.Community \ Microsoft.Community.Web \ Repositories \ AzureMLRecommendationsRepository.csMicrosoft.Community.Web, 版本= 1.0.0.0,文化=中性,PublicKeyToken =空:89)内部 System.Net.WebException异常在 Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndExecuteAsync: 在 Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException (Microsoft.WindowsAzure.Storage,版本= 9.3.1.0,文化=中性, PublicKeyToken = 31bf3856ad364e35Microsoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35: c:\ Program档案 (x86)\ Jenkins \ workspace \ release_dotnet_master \ Lib \ Common \ Shared \ Protocol \ HttpResponseParsers.Common.csMicrosoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35:54) 在 Microsoft.WindowsAzure.Storage.Queue.CloudQueue.b__2f (Microsoft.WindowsAzure.Storage,版本= 9.3.1.0,文化=中性, PublicKeyToken = 31bf3856ad364e35Microsoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35: c:\ Program档案 (x86)\ Jenkins \ workspace \ release_dotnet_master \ Lib \ ClassLibraryCommon \ Queue \ CloudQueue.csMicrosoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35: 2587)在 Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndGetResponse (Microsoft.WindowsAzure.Storage,版本= 9.3.1.0,文化=中性, PublicKeyToken = 31bf3856ad364e35Microsoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35: c:\ Program档案 (x86)\ Jenkins \ workspace \ release_dotnet_master \ Lib \ ClassLibraryCommon \ Core \ Executor \ Executor.csMicrosoft.WindowsAzure.Storage, 版本= 9.3.1.0,文化=中性,PublicKeyToken = 31bf3856ad364e35: 299)