Azure:连接尝试失败,因为连接方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机无法响应 [英] Azure: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

查看:804
本文介绍了Azure:连接尝试失败,因为连接方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机无法响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:在调用抓取数据的方法时,间歇性地从服务结构应用程序接收以下异常来自CosmosDB。 CosmosDB客户端是一个单独的连接
模式作为直接和TCP。我在这个问题上阅读的所有文档都表明端口耗尽或防火墙问题,h
代码是能够成功调用数据库
并在大多数时间获取数据,因此它不是防火墙问题。我们偶尔也会遇到此异常
 
对系统负载非常小而不是处理高负载时,这让我认为端口耗尽也不是原因。


异常:


[{" assembly":" System,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089"," method":" System.Net.Sockets.Socket.EndReceive"," level":0 ,"line":0},{" assembly":"System,
Version = 4.0.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089"," method":"System.Net.Sockets .NetworkStream.EndRead"," level":1," line":0}]," outerId":" 61492510"," message":"连接
尝试失败b因为连接方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机未能响应","键入":"System.Net.Sockets.SocketException","id":""" 60917758"}]



关于故障排除的后续步骤或原因是什么的任何想法?

解决方案


感谢您的反馈。这似乎不是常规问题,而是间歇性问题。


有关此问题的深入调查和即时帮助,如果您有支持计划,您可以提交支持票,否则您可以发送电子邮件给AzCommunity @ Microsoft dot com
以下详细信息,我们希望就此事与您密切合作。 


主题网址:

订阅ID:


希望有所帮助


Problem: Intermittently receiving the below exception from a service fabric application when calling a method to grab data from CosmosDB. The CosmosDB Client is a singleton with connection mode as direct and TCP. All the documentation I have read around this issue suggests either port exhaustion or a firewall issue, however the code is able to successfully call the database and get data most of the time so it isn't a firewall issue. We also get this exception occasionally when there is very little load on the system and not when it is processing a high load, which makes me think port exhaustion isn't the cause either.

Exception:

[{"assembly":"System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","method":"System.Net.Sockets.Socket.EndReceive","level":0,"line":0},{"assembly":"System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","method":"System.Net.Sockets.NetworkStream.EndRead","level":1,"line":0}],"outerId":"61492510","message":"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond","type":"System.Net.Sockets.SocketException","id":"60917758"}]

Any ideas on next steps for troubleshooting or what the cause is?

解决方案

Hi,

Thanks for your feedback. It seems not a regular issue but intermittent issue.

For a deeper investigation and immediate assistance on this issue, if you have a support plan you may file a support ticket, else could you send an email to AzCommunity @ Microsoft dot com with the below details, we would like to work closer with you on this matter. 

Thread URL:
Subscription ID:

Hope it helps


这篇关于Azure:连接尝试失败,因为连接方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机无法响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆