Azure / Azure/azure-functions-host

Linux App service function app-> create function and invoke from portal results in a 404

Open
#5,500 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

I tested that it works fine with Windows Elastic Premium plans. The issue seems isolated to Linux App Service. The problem occurs because the host doesn't restart on file updates. A manual restart then fixes the issue.

There was a similar recent bug https://github.com/Azure/azure-functions-host/issues/5283, which affected Windows Elastic Premium function apps as well. That bug was fixed.

This one seems different, and looking at the logs, I suspect that the file watcher is not picking up the changes. I do not see filewatcher logs indicating that a change was detected.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Linux App Service function-app create-and-invoke flow from the issue, then inspect the logs for file-watcher change detection. Compare behavior before and after a manual restart. Done means portal invocation no longer returns 404 after file updates without requiring a manual restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.