[英]Azure Web App (web site) connected via VPN to VNET - VPN connection goes down
I have an Azure Web App (formerly web site) connected via VPN to an Azure VNet. 我有一个通过VPN连接到Azure VNet的Azure Web应用程序(以前的网站)。 It then connects over port 8080 to an Azure VM (running a RavenDB server) using the Azure VM's private IP (10.0.0.X).
然后,它使用Azure VM的专用IP(10.0.0.X)通过端口8080连接到Azure VM(运行RavenDB服务器)。 This has worked extremely well for me over the last 5 months.
在过去的5个月中,这对我来说非常有效。
This is the general method I'm using for connecting the Web App to the VNet: http://azure.microsoft.com/en-us/documentation/articles/web-sites-integrate-with-vnet/ 这是我用于将Web应用程序连接到VNet的常规方法: http : //azure.microsoft.com/zh-cn/documentation/articles/web-sites-integrate-with-vnet/
This morning, my web app could not connect to the VM, throwing this error: 今天早上,我的Web应用无法连接到VM,并抛出以下错误:
Unable to connect to the remote server
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
An attempt was made to access a socket in a way forbidden by its access permissions 10.0.0.10:8080
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
Simply restarting the Web App fixed the problem. 只需重新启动Web App即可解决此问题。 Is there some potential instability in the VPN connection?
VPN连接是否存在潜在的不稳定? The problem seems isolated to the Web App infrastructure since a simple restart of the Web App solved the problem.
由于Web App的简单重启解决了该问题,因此该问题似乎对Web App基础结构而言是孤立的。
The potential problem here is that the VPN connection could go down or otherwise be impaired without any action being taken to repair the connection. 这里的潜在问题是,如果不采取任何措施来修复连接,VPN连接可能会断开或受到损害。
The workaround is to setup some kind of monitoring and reset the web app if this condition occurs, but it would be nice to hear the Azure team weigh in. 解决方法是设置某种监视,并在出现这种情况时重置Web应用程序,但是很高兴听到Azure团队的参与。
David 大卫
At this time, May 2015, there are still a few rare bumps that can happen with the feature. 目前,2015年5月,此功能可能会遇到一些罕见的问题。 They are primarily caused when the VNET gateways are cycled which then may cause a problem with our client side of the VPN connection.
它们主要是在VNET网关循环时引起的,然后可能会导致VPN连接的客户端出现问题。 We are working to provide a fix for this.
我们正在为此提供修复程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.