Deployment of zip fails if run after creating functionapp.
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az functionapp deployment source config-zip
Errors:
HTTPSConnectionPool(host='dev-XXXXXXXXX.scm.azurewebsites.net', port=443): Read timed out. (read timeout=3)
Traceback (most recent call last):
python3.6/site-packages/urllib3/connectionpool.py, ln 426, in _make_request
six.raise_from(e, None)
<string>, ln 3, in raise_from
python3.6/site-packages/urllib3/connectionpool.py, ln 421, in _make_request
httplib_response = conn.getresponse()
lib/python3.6/http/client.py, ln 1354, in getresponse
response.begin()
...
socket.timeout: The read operation timed out
python3.6/site-packages/requests/adapters.py, ln 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='dev-XXXXXXXXX.scm.azurewebsites.net', port=443): Read timed out. (read timeout=3)
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az functionapp deployment source config-zip --src {} -g {} -n {}
Expected Behavior
The zip deploys successfully.
Environment Summary
Linux-5.15.0-1022-azure-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB
azure-cli 2.19.0 *
Additional Context
If the same code is used to deploy to an existing function app, after a sufficient delay, it is successful. I think that this is timing related, so if it is possible for me to determine that a functionapp is ready to deploy to after creation, I would be happy to add code that manages this. However, I feel it would be better for the deployment code itself to wait a sufficient amount of time, rather than timing out.
Issue Analytics
- State:
- Created 10 months ago
- Comments:30 (13 by maintainers)
Top Results From Across the Web
Error: Package deployment using ZIP Deploy failed. Refer ...
In the Function App, go to the "Deployment Center" blade, and click on the "Disconnect" button on top. After that re-run the release...
Read more >Getting error when deploying Azure Function Code through ...
I'm getting below error when deploying Azure Function Code through Zip deploy on Linux Consumption Plan, deploying the same on Windows ...
Read more >Azure DevOps Python Function App failed zip deployment
I'm getting the following error during my deployment step, after a successful build: Error: Package deployment using ZIP Deploy failed.
Read more >Azure Linux Zip Deploy not working : Azure Functions App
Apparently there seems to be some timeout when I use VS2019 "Publish" Zip Deploy. It fails somewhere around 1 minute 40 seconds. ·...
Read more >How to Deploy your Azure Functions Faster and Easily with ...
I will create the Azure Function App and storage using an Azure Resource Manager (ARM template) and deploy with a method named Zip...
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 FreeTop 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
Top GitHub Comments
I am trying both locally and on an Azure VM and they behave identically. I’ll try the longer timeout and report back.
We have identified the issue and we are in process of prioritizing the fix.