Azure / Azure/Azure-Functions

HTTP trigger Function on Private ASE - Code+Test view - 500 Internal Server Error in Portal

Open
#2,407 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

**Repo steps:**

1. Create an ASE with a single Windows ASP that has only private VNET access.
2. Deploy an working HTTP-triggered Azure Function (isolated worker, .NET 6, Windows) to it.
3. Navigate to Portal from a **public** computer.
4. Open Function and switch to the Code+Test view and run a Test.
5. Output = "Internal Server Error". No addtional information is displayed or logged to App Insights.

Now, connect to a VM on the Virtual Network the ASE is attached to.

Log into the Azure Portal from a browser on the VM and repeat steps 3-5.

Result = 200 OK, logs sent to App Insights.

**Expected behaviour:**

Both experiences are the same *OR* the public portal shows a message that it is not possible to debug / test from the public Portal due to the private access nature of the underlying ASE.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.