简体   繁体   English

Azure 功能应用程序与 vnet 的集成不起作用

[英]Azure funtion app integration with vnet not working

I have created an Azure function app in the premium tier and used the Vnet integration to be able to access app services in the vnet.我在高级层中创建了 Azure function 应用程序,并使用 Vnet 集成来访问 vnet 中的应用程序服务。 Also, I have another app function that is connected to my vnet via a private endpoint.此外,我还有另一个应用程序 function 通过专用端点连接到我的 vnet。

My problem is that when I add the proxy to the vnet integrated function and run it I face error 500 and the request doesn't even reach the app function inside the vnet.我的问题是,当我将代理添加到集成 function 的 vnet 并运行它时,我遇到错误 500,并且请求甚至没有到达 vnet 内的应用程序 function。 Is there any solution for this?有什么解决办法吗?

这是我的子网

在此处输入图像描述

IP 10.10.1.6 is the one that is connected to my private endpoint and I'm trying to send request to it through proxies: IP 10.10.1.6 是连接到我的私有端点的那个,我正在尝试通过代理向它发送请求: 在此处输入图像描述

but whenever I copy the Proxy URL I get this error但是每当我复制代理 URL 时,我都会收到此错误在此处输入图像描述

The error that you are getting is a HTTP 500 internal server error.您收到的错误是 HTTP 500 内部服务器错误。

So the request is getting to the app service, but the code in the app service is failing.所以请求正在到达应用服务,但应用服务中的代码失败了。

To check what is failing you can use Application Insights.要检查失败的原因,您可以使用 Application Insights。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM