Deployment Issue in Azure Web App

Shubhankar Khandai 60 Reputation points
2024-12-05T09:42:40.88+00:00

I am trying to make a Python Application Deployment in Azure Web App. The Deployment is within the private network, and we have VNet and Azure Private Endpoints in place to secure the application.

But while deploying the application which was previously successfully deployed an error has occurred

Error: Oops... An unexpected error has occurred.\nError: System.AggregateException: Http request to retrieve the SDKs available to download from 'https://oryx-cdn.microsoft.io' failed. Please ensure that your network configuration allows traffic to required Oryx dependencies, as documented in 'https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies'\nSystem.AggregateException: One or more errors occurred.

User's image

Can anyone help to resolve the issue

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,571 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
526 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,084 questions
0 comments No comments
{count} votes

Accepted answer
  1. ajkuma 27,771 Reputation points Microsoft Employee
    2024-12-11T12:56:59.8366667+00:00

    @Shubhankar Khandai , Apologies for the delayed response.

    Just to highlight, when using ZipDeploy, Oryx is not enabled by default since you are using an External builder. If you prefer to enable App Service Build Service (Oryx) then you need to add a new App Setting SCM_DO_BUILD_DURING_DEPLOYMENT= true and redeploy.

    1.Please set the SCM_DO_BUILD_DURING_DEPLOYMENT app setting to 1. This forces Oryx to build your application during deployment. Check out the step-step instructions outlined in this doc: How to set : Configure an App Service app

    2.Review if the Oryx CDN endpoint is whitelisted in VNET.

    When using App Service with a Virtual Network, you will need to allow outbound access from the webapp to oryx-cdn.microsoft.io on port 443. oryx-cdn.microsoft.io hosts the Oryx packages corresponding to each SDK language and version. If this network dependency is blocked, then App Service will not be able to build your application using Oryx.

    If the issue still persists,

    3.SSH into Kudu using https://<your_sitename>.scm.azurewebsites.net/newui/kududebug and review **/tmp/build-debug.log **- to fetch more details.

    Kindly let us know how it goes, I'll follow-up with you further.


    If the answer helped (pointed, you in the right direction) > please click Accept Answer to benefit the community find answers quickly to similar question.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.