WebJob deployment fails with CODE:414
See original GitHub issueI’m using webapps-deploy@v2
action to deploy .net core web job build artifact into Azure app service. But it’s giving below error everytime.
Run azure/webapps-deploy@v2
with:
app-name: web-app-test-eu-xxxxxxxxxxxxx-001
package: .
publish-profile: ***
slot-name: production
env:
AZURE_WEBAPP_NAME: web-app-test-eu-levomethanol-001
AZURE_WEBAPP_PACKAGE_PATH: .
DOTNET_VERSION: 3.1.100
BUILD_CONFIGURATION: Release
BINARIES: ./app_data/jobs/continuous/XX.Integration.xxxxxxxx.WebJobs
JAVA_HOME_11.0.14_x64: C:\hostedtoolcache\windows\jdk\11.0.14\x64
JAVA_HOME: C:\hostedtoolcache\windows\jdk\11.0.14\x64
JAVA_HOME_11_0_14_X64: C:\hostedtoolcache\windows\jdk\11.0.14\x64
DOTNET_ROOT: C:\Users\runneradmin\AppData\Local\Microsoft\dotnet
Package deployment using ZIP Deploy initiated.
Error: Failed to deploy web package to App Service.
Error: Deployment Failed with Error: Error: Failed to deploy web package to App Service.
Request-URI Too Long (CODE: 414)
App Service Application URL: http://web-app-test-eu-xxxxxxxxxxxxx-001.azurewebsites.net
I guess that it’s due to the length of the app service name. Since the same workflow works well with other app services which have 1 character less in the name For e.g below app services gets deployed successfully with same workflow.
http://web-app-dev-eu-xxxxxxxxxxxxx-001.azurewebsites.net
http://web-app-uat-eu-xxxxxxxxxxxxx-001.azurewebsites.net
http://web-app-prd-eu-xxxxxxxxxxxxx-001.azurewebsites.net
The error doesn’t point the exact root cause so it’s kind of very generic. Any pointer to fix ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Azure WebJob deployment keeps failing - Stack Overflow
Since yesterday I'm suddenly having consistent deployment failures for my existing WebJobs. The error I'm getting is
Read more >Fix for: "WebJob cannot be added from portal if deployment ...
I use Git as a deployment method so I assume that is the source control deployment they are mentioning. This is an error...
Read more >WebJob deployment failing when deploying using CI/CD.
I am getting below error which deploying Web job using Azure Web App Deploy Task. [02/09/2021 16:37:17 > 5fdf88: SYS INFO] Status changed...
Read more >Azure Webjobs not getting updated after new publish #1418
I am facing the same issue with our web job deployments. The weird thing is it execute old code sometime and new code...
Read more >startup-command parameter is ignored about webapps-deploy
We're using this GitHub action to deploy an app to Azure App Services. The workflows seems to works (and ... Am I missing...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Possibly related to #192 – the action is sending the commit message in the deployment request. If the commit message is too long, then the deployment request fails.
PR from community: https://github.com/Azure/webapps-deploy/pull/226
Closing this issue, we have merged the fix of this issue and it will be released by 1st week of december.