Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 2.87 KB

functions-deploying-runtime-issues-post-deployment.md

File metadata and controls

39 lines (29 loc) · 2.87 KB
title description ms.date ms.reviewer ms.custom
Function app runtime issues post deployment
This article helps you to resolve runtime issues in the function app after content deployment.
08/24/2023
gasridha, v-jayaramanp
sap:Application Code Deployment

Resolve common runtime issues after deployment

This article describes the common causes of runtime issues and provides solutions to resolve these issues.

If your application is experiencing issues after deployment, it's important to determine whether the problem is related to deployment or runtime. A deployment issue can cause the wrong set of files to get deployed to your function app, or it can cause some files not to get deployed at all. A runtime issue occurs after deployment. The files in your wwwroot directory are exactly as they should be, but the function app isn't running correctly. When this scenario occurs, the technique that you used to deploy your site is no longer relevant. For a runtime issue, you should, instead, focus on what your code is doing at runtime and how it's failing.

Common causes for application runtime issues after content deployment

Runtime failure can occur for any of the following reasons:

  • The function runtime can't start because the function app has lost access to the storage account.
  • In the runtime sandbox environment of Azure Functions, something is blocking certain operations that work on your local computer.
  • Your Azure Functions app isn't configured correctly. For example, the function host doesn't start up because of incorrect values in the following settings:
    • Runtime or language version
    • Triggers connection strings
    • Key vault settings
  • An external dependency (such as a database or messaging system) isn't set up correctly and is causing time-out errors.
  • Sync triggers failed. This causes an incorrect loading of functions.
  • Your code makes invalid assumptions about paths, such as hard-coding a path that exists only on your local computer.

Solutions

To fix runtime issues after the content deployment, try one or more of the following methods:

[!INCLUDE Azure Help Support]