Oryx icon indicating copy to clipboard operation
Oryx copied to clipboard

App service oryx build failing for flask app

Open Ajaykp1997 opened this issue 2 years ago • 1 comments

  • At what date and time did you most recently experience the problem? 2023-11-13 9.00 IST

  • Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use. Azure web apps

  • If your repo is publicly available please share its URL: Not available publicly

  • What happened? We are using azure app service and have a complete network restriction on outbound and inbound calls in azure app service. We have only whitelisted oryx-cdn.microsoft.io as per documentation. But now oryx build is failing as the outbound call to pypi.org is blocked.

  • What did you expect or want to happen? Wanted a successful oryx build to happen with all pip packages installed without connecting to pypi.org

  • How can we reproduce it? By blocking all outbound network calls and only whitelisting microsoft-oryx link.

  • Do you have log output? Please include between the backticks:

ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")

Ajaykp1997 avatar Nov 15 '23 05:11 Ajaykp1997

Thank you for reaching out. You will need to enable http proxy access for Oryx to fetch its packages. Issue https://github.com/microsoft/Oryx/issues/1958 should provide enough information to provide guidance.

simonjj avatar Jan 13 '24 00:01 simonjj