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

ZIP deployment failed due to - cannot swap site slots for site because the slot did not respond to http ping #2264

Closed
kmadof opened this issue Sep 8, 2022 · 5 comments

Comments

@kmadof
Copy link

kmadof commented Sep 8, 2022

I have an issue with Function App with a long name. The function app has 33 letters and the slot 26 letters so in total it is below 60 characters. To deploy I use these commands:

az functionapp deployment source config-zip -g -n -s --src --debug

az functionapp start -g {} -n {} -s {} --debug

az functionapp deployment slot swap -g {} -n {} -s {} --debug

az functionapp stop -g {} -n {} -s {} --debug

ERROR: cli.azure.cli.core.azclierror: Cannot swap site slots for site 'long-name-here' because the 'long-slot-name-here' slot did not respond to http ping.

I tried many times, and I didn't get even a single success. However when I tried the name with 14 characters and the slot with 12 characters it works at the first time.

I also noticed the following entries in Activity Logs:

obraz

On the List Web App Slot Security Sensitive Settings message is Backup configuration not found for site 'function-app-name' with slot 'slot-name'

And on the Swap Web App Slots message is The resource operation completed with terminal provisioning state 'Failed'.

The function app is deployed to Linux P1v3 App Plan.

I tested it also on a totally fresh plan and the behaviour was the same. With a long name it fails, with a short one is ok. It also happens (but from time to time and usually few attempts succeeded in the end) on functions with shorter names.

I know that this sounds crazy - this length of the function app, but it must be something there that under the same condition it is ok with a short name.

@kmadof kmadof added the bug label Sep 8, 2022
@ramya894
Copy link

@kmadof We will check this issue with our next level team and update you.

@ramya894
Copy link

@kmadof can you please provide us the function app name or invocation id and timestamp so that we can investigate it further with slot team.

@kmadof
Copy link
Author

kmadof commented Sep 23, 2022

@ramya894 as soon as I will be back from holiday I will do it!

@ramya894
Copy link

ramya894 commented Nov 2, 2022

@kmadof do you have inputs here.

@ghost
Copy link

ghost commented Nov 6, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

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

No branches or pull requests

2 participants