我有一個(gè)連接到服務(wù)總線隊(duì)列的 Azure App Service API。有一段時(shí)間一切都完美無(wú)缺,但后來(lái)我開始遇到這些錯(cuò)誤:System.AggregateException: One or more errors occurred. (Unknown error (0xffffffff) ErrorCode: SocketError) ---> Microsoft.Azure.ServiceBus.ServiceBusCommunicationException: Unknown error (0xffffffff) ErrorCode: SocketError ---> System.Net.Sockets.SocketException: Unknown error (0xffffffff) at Microsoft.Azure.ServiceBus.ServiceBusConnection.CreateConnectionAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.FaultTolerantAmqpObject`1.OnCreateAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout) at Microsoft.Azure.ServiceBus.Amqp.AmqpLinkCreator.CreateAndOpenAmqpLinkAsync() at Microsoft.Azure.ServiceBus.Core.MessageSender.CreateLinkAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.FaultTolerantAmqpObject`1.OnCreateAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout) at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout) at Microsoft.Azure.ServiceBus.Core.MessageSender.OnSendAsync(IList`1 messageList) --- End of inner exception stack trace --- at Microsoft.Azure.ServiceBus.Core.MessageSender.OnSendAsync(IList`1 messageList) at Microsoft.Azure.ServiceBus.RetryPolicy.RunOperation(Func`1 operation, TimeSpan operationTimeout) at Microsoft.Azure.ServiceBus.RetryPolicy.RunOperation(Func`1 operation, TimeSpan operationTimeout) at Microsoft.Azure.ServiceBus.Core.MessageSender.SendAsync(IList`1 messageList) public async Task SendAsync(string message) { var queueMessage = new Message(Encoding.ASCII.GetBytes(message)); var queueClient = GetQueueClient("myqueue"); await queueClient.SendAsync(queueMessage); }我認(rèn)為這不是超出配額的問(wèn)題,也沒(méi)有說(shuō)超時(shí)。關(guān)于如何調(diào)試這個(gè)的任何想法?
2 回答

幕布斯7119047
TA貢獻(xiàn)1794條經(jīng)驗(yàn) 獲得超8個(gè)贊
我自己昨天才開始得到很多這些:
Microsoft.ServiceBus: 未知錯(cuò)誤 (0xffffffff)
和
無(wú)法連接到 net.tcp://some-namespace.servicebus.windows.net:9354/。連接嘗試持續(xù)了 00:00:00 的時(shí)間跨度。TCP 錯(cuò)誤代碼 -1:未知錯(cuò)誤 (0xffffffff)。
如您所見,連接嘗試直接失敗。
幾個(gè)月來(lái)一直工作正常,然后砰……我猜微軟又做了什么。他們的 Azure Status 板全是綠色,但我的函數(shù)有 60% 的失敗率。
- 2 回答
- 0 關(guān)注
- 235 瀏覽
添加回答
舉報(bào)
0/150
提交
取消