You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-deployment-slots.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,6 +204,7 @@ Azure Functions deployment slots have the following considerations:
204
204
- The number of slots available to an app depends on the plan. The Consumption plan is only allowed one deployment slot. Additional slots are available for apps running under other plans. For details, see [Service limits](functions-scale.md#service-limits).
205
205
- Swapping a slot resets keys for apps that have an `AzureWebJobsSecretStorageType` app setting equal to `files`.
206
206
- When slots are enabled, your function app is set to read-only mode in the portal.
207
+
- Use function app names shorter than 32 characters. Names longer than 32 characters are at risk of causing [host ID collisons](storage-considerations.md#host-id-considerations).
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-recover-storage-account.md
+24-9Lines changed: 24 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ Your function app must be able to access the storage account. Common issues that
56
56
57
57
* The storage account firewall is enabled and not configured to allow traffic to and from functions. For more information, see [Configure Azure Storage firewalls and virtual networks](../storage/common/storage-network-security.md?toc=%2fazure%2fstorage%2ffiles%2ftoc.json).
58
58
59
-
* Verify that the `allowSharedKeyAccess` setting is set to `true` which is its default value. For more information, see [Prevent Shared Key authorization for an Azure Storage account](../storage/common/shared-key-authorization-prevent.md?tabs=portal#verify-that-shared-key-access-is-not-allowed).
59
+
* Verify that the `allowSharedKeyAccess` setting is set to `true`, which is its default value. For more information, see [Prevent Shared Key authorization for an Azure Storage account](../storage/common/shared-key-authorization-prevent.md?tabs=portal#verify-that-shared-key-access-is-not-allowed).
60
60
61
61
## Daily execution quota is full
62
62
@@ -87,21 +87,36 @@ You can also use the portal from a computer that's connected to the virtual netw
87
87
88
88
For more information about inbound rule configuration, see the "Network Security Groups" section of [Networking considerations for an App Service Environment](../app-service/environment/network-info.md#network-security-groups).
89
89
90
-
## Container image unavailable (Linux)
90
+
## Container errors on Linux
91
91
92
-
For Linux function apps that run from a container, the "Azure Functions runtime is unreachable" error can occur when the container image being referenced is unavailable or fails to start correctly.
93
-
94
-
To confirm that the error is caused for this reason:
92
+
For function apps that run on Linux in a container, the `Azure Functions runtime is unreachable` error can occur as a result of problems with the container. Use the following procedure to review the container logs for errors:
95
93
96
94
1. Navigate to the Kudu endpoint for the function app, which is located at `https://scm.<FUNCTION_APP>.azurewebsites.net`, where `<FUNCTION_APP>` is the name of your app.
97
95
98
-
1. Download the Docker logs ZIP file and review them locally, or review the docker logs from within Kudu.
96
+
1. Download the Docker logs .zip file and review the contents on your local computer.
97
+
98
+
1. Check for any logged errors that indicate that the container is unable to start successfully.
99
+
100
+
### Container image unavailable
101
+
102
+
Errors can occur when the container image being referenced is unavailable or fails to start correctly. Check for any logged errors that indicate that the container is unable to start successfully.
103
+
104
+
You need to correct any errors that prevent the container from starting for the function app run correctly.
105
+
106
+
When the container image can't be found, you'll see a `manifest unknown` error in the Docker logs. In this case, you can use the Azure CLI commands documented at [How to target Azure Functions runtime versions](set-runtime-version.md?tabs=azurecli#manual-version-updates-on-linux) to change the container image being referenced. If you've deployed a [custom container image](functions-create-function-linux-custom-image.md), you need to fix the image and redeploy the updated version to the referenced registry.
107
+
108
+
### App container has conflicting ports
109
+
110
+
Your function app might be in an unresponsive state due to conflicting port assignment upon startup. This can happen in the following cases:
111
+
112
+
* Your container has separate services running where one or more services are tying to bind to the same port as the function app.
113
+
* You've added an Azure Hybrid Connection that shares the same port value as the function app.
99
114
100
-
1. Check for any errors in the logs that would indicate that the container is unable to start successfully.
115
+
By default, the container in which your function app runs uses port `:80`. When other services in the same container are also trying to using port `:80`, the function app can fail to start. If your logs show port conflicts, change the default ports.
101
116
102
-
Any such error would need to be remedied for the function to work correctly.
117
+
## Host ID collision
103
118
104
-
When the container image can't be found, you should see a `manifest unknown` error in the Docker logs. In this case, you can use the Azure CLI commands documented at [How to target Azure Functions runtime versions](set-runtime-version.md?tabs=azurecli) to change the container image being reference. If you've deployed a custom container image, you need to fix the image and redeploy the updated version to the referenced registry.
119
+
Starting with version 3.x of the Functions runtime, [host ID collision](storage-considerations.md#host-id-considerations) are detected and logged as a warning. In version 4.x, an error is logged and the host is stopped. If the runtime can't start for your function app, [review the logs](analyze-telemetry-data.md). If there's a warning or an error about host ID collisions, follow the mitigation steps in [Host ID considerations](storage-considerations.md#host-id-considerations).
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-versions.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,12 +37,14 @@ The following table indicates which programming languages are currently supporte
37
37
38
38
## <aname="creating-1x-apps"></a>Run on a specific version
39
39
40
-
By default, function apps created in the Azure portal and by the Azure CLI are set to version 4.x. You can modify this version if needed. You can only downgrade the runtime version to 1.x after you create your function app but before you add any functions. Moving to a later version is allowed even with apps that have existing functions. When your app has existing functions, be aware of any breaking changes between versions before moving to a later runtime version. The following sections detail changes between versions:
40
+
By default, function apps created in the Azure portal and by the Azure CLI are set to version 4.x. You can modify this version if needed. You can only downgrade the runtime version to 1.x after you create your function app but before you add any functions. Moving to a later version is allowed even with apps that have existing functions. When your app has existing functions, be aware of any breaking changes between versions before moving to a later runtime version. The following sections detail breaking changes between versions, including language-specific breaking changes.
41
41
42
42
+[Between 3.x and 4.x](#breaking-changes-between-3x-and-4x)
43
43
+[Between 2.x and 3.x](#breaking-changes-between-2x-and-3x)
44
44
+[Between 1.x and later versions](#migrating-from-1x-to-later-versions)
45
45
46
+
If you don't see your programming language, go select it from the [top of the page](#top).
47
+
46
48
Before making a change to the major version of the runtime, you should first test your existing code on the new runtime version. You can verify your app runs correctly after the upgrade by deploying to another function app running on the latest major version. You can also verify your code locally by using the runtime-specific version of the [Azure Functions Core Tools](functions-run-local.md), which includes the Functions runtime.
47
49
48
50
Downgrades to v2.x aren't supported. When possible, you should always run your apps on the latest supported version of the Functions runtime.
@@ -320,7 +322,9 @@ To update your project to Azure Functions 4.x:
320
322
321
323
### Breaking changes between 3.x and 4.x
322
324
323
-
The following are some changes to be aware of before upgrading a 3.x app to 4.x. For a full list, see Azure Functions GitHub issues labeled [*Breaking Change: Approved*](https://github.com/Azure/azure-functions/issues?q=is%3Aissue+label%3A%22Breaking+Change%3A+Approved%22+is%3A%22closed+OR+open%22). More changes are expected during the preview period. Subscribe to [App Service Announcements](https://github.com/Azure/app-service-announcements/issues) for updates.
325
+
The following are key breaking changes to be aware of before upgrading a 3.x app to 4.x, including language-specific breaking changes. For a full list, see Azure Functions GitHub issues labeled [*Breaking Change: Approved*](https://github.com/Azure/azure-functions/issues?q=is%3Aissue+label%3A%22Breaking+Change%3A+Approved%22+is%3A%22closed+OR+open%22). More changes are expected during the preview period. Subscribe to [App Service Announcements](https://github.com/Azure/app-service-announcements/issues) for updates.
326
+
327
+
If you don't see your programming language, go select it from the [top of the page](#top).
324
328
325
329
#### Runtime
326
330
@@ -376,7 +380,7 @@ Azure Functions version 3.x is highly backwards compatible to version 2.x. Many
376
380
377
381
### Breaking changes between 2.x and 3.x
378
382
379
-
The following are the language-specific changes to be aware of before upgrading a 2.x app to 3.x.
383
+
The following are the language-specific changes to be aware of before upgrading a 2.x app to 3.x. If you don't see your programming language, go select it from the [top of the page](#top).
380
384
381
385
::: zone pivot="programming-language-csharp"
382
386
The main differences between versions when running .NET class library functions is the .NET Core runtime. Functions version 2.x is designed to run on .NET Core 2.2 and version 3.x is designed to run on .NET Core 3.1.
0 commit comments