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
Function App version: Runtime version ~4 (NodeJS 14)
Function App Name - Masked with a dummy name. Host id remains intact if that helps
Region: West Europe
Repro steps
Unable to start the function app after upgrading runtime version from ~3 to ~4. We are using NodeJS 14 which is well supported in ~4. I have tried upgrading the NodeJS version to 16, that didn't help. Downgrading to ~3 works fine.
Expected behavior
The function app should run after upgrading runtime.
Actual behavior
Facing issue as "Function app is unreachable" after upgrading. 'exceptionMessage':'A task was canceled.','exceptionType':'System.Threading.Tasks.TaskCanceledException'
Related information
I have looked into the Docker logs to see the actual error. These are the logs that I found along with the app-settings. The function app is running on a Linux host in this case and has only Queue Trigger(s).
docker log
2022-12-21T08:56:23.576Z INFO - Pulling image: mcr.microsoft.com/azure-functions/node:4-node14-appservice-stage4
2022-12-21T08:56:23.799Z INFO - 4-node14-appservice-stage4 Pulling from azure-functions/node
2022-12-21T08:56:23.801Z INFO - Digest: sha256:115e4f354d69da6a4e84deef71baa6c42c022ec75d7cb175147a4d6111bf2bf8
2022-12-21T08:56:23.807Z INFO - Status: Image is up to date for mcr.microsoft.com/azure-functions/node:4-node14-appservice-stage4
2022-12-21T08:56:23.811Z INFO - Pull Image successful, Time taken: 0 Minutes and 0 Seconds
2022-12-21T08:56:23.839Z INFO - Starting container for site
2022-12-21T08:56:23.846Z INFO - docker run -d --expose=80 --name test-function-app-1_1_e3d6c23b -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=true -e WEBSITE_SITE_NAME=test-function-app-1 -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=test-function-app-1.azurewebsites.net -e WEBSITE_INSTANCE_ID=8b490c4f50653849dca061a82470b861b1dbfc5ccd2f7d24a917d0acfe80cc05 -e WEBSITE_USE_DIAGNOSTIC_SERVER=True mcr.microsoft.com/azure-functions/node:4-node14-appservice-stage4
2022-12-21T08:56:23.848Z INFO - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2022-12-21T08:56:25.516Z INFO - Initiating warmup request to container test-function-app-1_1_e3d6c23b_msiProxy for site test-function-app-1
2022-12-21T08:56:25.544Z INFO - Container test-function-app-1_1_e3d6c23b_msiProxy for site test-function-app-1 initialized successfully and is ready to serve requests.
2022-12-21T08:56:25.547Z INFO - Initiating warmup request to container test-function-app-1_1_e3d6c23b for site test-function-app-1
2022-12-21T08:56:35.730Z ERROR - Container test-function-app-1_1_e3d6c23b for site test-function-app-1 has exited, failing site start
2022-12-21T08:56:35.874Z ERROR - Container test-function-app-1_1_e3d6c23b didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2022-12-21T08:56:35.881Z INFO - Stopping site test-function-app-1 because it failed during startup.
@gautamsamal is this still happening? There was some deployment issues that I believe have been resolved - unable to tell if this is covered by one of those or not without more information.
Investigative information
Repro steps
Unable to start the function app after upgrading runtime version from ~3 to ~4. We are using NodeJS 14 which is well supported in ~4. I have tried upgrading the NodeJS version to 16, that didn't help. Downgrading to ~3 works fine.
Expected behavior
The function app should run after upgrading runtime.
Actual behavior
Facing issue as "Function app is unreachable" after upgrading.
'exceptionMessage':'A task was canceled.','exceptionType':'System.Threading.Tasks.TaskCanceledException'
Related information
I have looked into the Docker logs to see the actual error. These are the logs that I found along with the app-settings. The function app is running on a Linux host in this case and has only Queue Trigger(s).
docker log
Container log
application settings
The text was updated successfully, but these errors were encountered: