-
Notifications
You must be signed in to change notification settings - Fork 49
Description
When doing npm run build && func host start I get the following error:
Warning: Proxies are not supported in Azure Functions v4. Instead of 'proxies.json', try Azure API Management: https://aka.ms/AAfiueq
After trying to access the endpoint, for example: https://nestjstest1.azurewebsites.net/api
I get the following error:
Server Error
502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
Please add Azure Functions v4 support, which has been out since last year.
Reference:
https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-functions-v4-versus-v3/ba-p/3276055