Azure / Azure/azure-functions-host

Function behind internet proxy

Open
#11,452 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Triage (Functions)
Dominant language
C#
Stars
2k
Forks
483
Avg merge
2d 10h
Merged PRs (30d)
36

Description

How to configure Azure Function App (Flex Consumption Plan) to use corporate proxy (Bluecoat) for outbound internet access?

I’m trying to deploy an Azure Function App (running on the Flex Consumption Plan) with an HTTP trigger. The function app is configured with:
• VNet integration for outbound traffic
• Private endpoint for inbound access

Our environment requires all outbound traffic to go through a corporate internet proxy (Bluecoat).

When I try to deploy my code using either:

func azure functionapp publish or
az functionapp deployment source config-zip ...
The deployment fails, and the Azure portal shows an error stating that the Function App cannot access the Oryx endpoint, which is required for builds.

How can I configure my Azure Function App (Flex Consumption Plan) to route outbound internet traffic through our corporate proxy so it can access the Oryx build service and other necessary endpoints? Is there a supported way to set environment variables like HTTP_PROXY or HTTPS_PROXY, or use VNet features to achieve this?
I tried to configure the But it didn't work

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Flex Consumption deployment paths named in the report: func azure functionapp publish and az functionapp deployment source config-zip. Trace the failure involving access to the Oryx endpoint and review the app's VNet integration, private endpoint, and proxy configuration; done means establishing whether a supported proxy configuration exists for outbound builds and documenting the required setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
backend, cloud, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.