Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebJob deployment fails with CODE:414 #214

Closed
venkatadorisala opened this issue Jan 24, 2022 · 8 comments
Closed

WebJob deployment fails with CODE:414 #214

venkatadorisala opened this issue Jan 24, 2022 · 8 comments
Assignees
Labels

Comments

@venkatadorisala
Copy link

venkatadorisala commented Jan 24, 2022

I'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 ?

@github-actions
Copy link

github-actions bot commented Feb 7, 2022

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle label Feb 7, 2022
@carlos8k
Copy link

carlos8k commented Apr 6, 2022

@venkatadorisala did you find a solution for this issue? I'm facing the same problem.

@github-actions github-actions bot removed the idle label Apr 6, 2022
@github-actions
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle label Apr 20, 2022
@rabollin rabollin self-assigned this May 2, 2022
@rabollin
Copy link

rabollin commented May 2, 2022

@JasonFreeberg - Please check this issue out, it is with Java on Windows.

@rabollin rabollin assigned JasonFreeberg and unassigned rabollin May 2, 2022
@github-actions github-actions bot removed the idle label May 2, 2022
@JasonFreeberg
Copy link
Contributor

@rabollin It doesn't seem like this is at all specific to Java. Their logs say that the request failed with Request-URI Too Long (CODE: 414). Looks like our frontends are rejecting the deployment request because the URL is too long?

@JasonFreeberg
Copy link
Contributor

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: #226

@github-actions
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle label May 17, 2022
@JasonFreeberg JasonFreeberg added the P0 Action not working label Jun 13, 2022
@kumaraksh1
Copy link
Collaborator

Closing this issue, we have merged the fix of this issue and it will be released by 1st week of december.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants