Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Function Proxies not working. Again. #1526

Open
scale-tone opened this issue Aug 7, 2024 · 0 comments
Open

Azure Function Proxies not working. Again. #1526

scale-tone opened this issue Aug 7, 2024 · 0 comments

Comments

@scale-tone
Copy link

Deploying this sample app to this fresh new SWA instance: https://calm-cliff-07e291203.5.azurestaticapps.net using this 'Deploy to Azure' button.

The deployment just fails with meaningless Failed to deploy the Azure Functions. message.

Discovered, that if I temporarily remove SWA_ENABLE_PROXIES_MANAGED_FUNCTIONS value from app settings, the deployment succeeds (but the app obviously does not work, because it requires those Azure Function Proxies to be available).

Re-adding SWA_ENABLE_PROXIES_MANAGED_FUNCTIONS setting then breaks the API host - API endpoints start returning 503 (you can see that yourself by navigating to instance's URL and checking network calls).

Azure Function Proxies are not deprecated, either in Azure Functions or in SWA.

It worked in May. Why does it not work again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant