混合连接管理器在几周后失败 [英] Hybrid connection manager fails after a few weeks

查看:61
本文介绍了混合连接管理器在几周后失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用Azure Hybrid Connection Manager来使Azure Web Apps访问本地SQL数据库.

We're using Azure Hybrid Connection Manager to give our Azure Web Apps access to our on-prem SQL databases.

一切正常,可以持续几个星期.然后,Web Apps就会失败.调查发现存在断开连接"混合连接管理器的用户界面中的错误消息.我们通过使用Hybrid Connection Manager UI删除连接来解决此问题,并 然后将其添加回去.这样做需要与Azure进行重新身份验证,以重新填充混合连接管理器UI的订阅列表,并且对于每个订阅,还要重新填充其中继服务列表.一切都可以在几周内恢复正常.

Everything works fine for a few weeks. Then the Web Apps fail. Investigation finds a "Disconnected" message in the Hybrid Connection Manager's UI. We fix the problem by using the Hybrid Connection Manager UI to remove the connection and then add it back. Doing so requires re-authentication with Azure to re-populate the Hybrid Connection Manager UI's list of subscriptions and, for each subscription, its list of relay services. Everything works fine again for a few weeks. 

我该怎么做才能解决此问题?在连接到Azure门户的用户上下文中添加连接(通过Hybrid Connection Manager的UI)是很不对的,但是我看不到使用混合连接管理器的UI的另一种方式.

What can I do to fix this issue? It feels wrong that we add the connection (via the Hybrid Connection Manager's UI) within the context of a user signed in to the Azure portal but I don't see another way to use Hybrid Connection Manager's UI.


推荐答案

当使用运行中的应用程序设置了混合连接并且至少有一个配置了该混合连接的HCM时,该状态将在门户中显示为已连接".如果状态表明未连接,则可能是 您的应用已关闭,或者您的HCM无法通过端口80或443连接到Azure.

When your hybrid connection is set up with a running application and there is at least one HCM that has that hybrid connection configured, then the status will say Connected in the portal. If the status say it is not connected it could be either your app is down or your HCM cannot connect out to Azure on ports 80 or 443.

请检查以下链接,以获取有关Hybrid Connection Manager的疑难解答信息,并告诉我们.

Check the below link for troubleshooting information on Hybrid Connection Manager and let us know.

https://docs.microsoft. com/en-us/azure/app-service/app-service-hybrid-connections

另外,请参考下面的链接.

Also, Refer the below link.

--------------------------------------------------- -------------------------------------------------- -----------------

------------------------------------------------------------------------------------------------------------------

请点击"标记为答案" "在对您有帮助的帖子上,这可能会对其他社区成员有所帮助.

Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.


这篇关于混合连接管理器在几周后失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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