Azure / Azure/azure-functions-host

Function App is unable to retreive the latest AzureWebJobsStorage and keeps crashing

Open
#8,660 9 comments 0 reactions 0 assignees View on GitHub
Needs: Attention :wave:
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

#### Check for a solution in the Azure portal
After the connection string in the key vault reference of AzureWebJobsStorage configuration item is updated, the function app is unable to proactively retrieve the latest secret value.

#### Investigative information
I will provide these things tomorrow.
Please provide the following:

- Timestamp:
- Function App version: ~4
- Function App name: can't paste here
- Function name(s) (as appropriate): can't paste here
- Invocation ID: Not invocated
-
image

- Region: West US 2

#### Repro steps

Provide the steps required to reproduce the problem:
1. Rotate the account key of the storage account that the AzureWebJobsStorage linked to
2. Updating the key vault secret with the latest connection string
3. Function app may begin crashing

#### Expected behavior

Provide a description of the expected behavior.

#### Actual behavior
Keeps popping traces said JobHostStopped.
Unable to restart or stop the Function App

#### Known workarounds
Delete the AzureWebJobsStorage in Configuration and add AzureWebJobsStorage immediately with the same key vault reference.

#### Related information

Provide any related information

* Programming language used
* Links to source
* Bindings used

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or entry point is named in the issue. Start by reproducing the Azure portal sequence: rotate the storage key, update the Key Vault secret, and observe the Function App and JobHostStopped traces. Done means the app retrieves the updated AzureWebJobsStorage value and can restart or stop normally.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.