question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az functionapp Azure Cli deploy error (v2)

See original GitHub issue

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az functionapp deployment source config-zip

Errors:

HTTPSConnectionPool(host='*************.azurewebsites.net', port=443): Read timed out. (read timeout=3)
Traceback (most recent call last):
python3.6/site-packages/urllib3/connectionpool.py, ln 387, in _make_request
    six.raise_from(e, None)
<string>, ln 2, in raise_from
python3.6/site-packages/urllib3/connectionpool.py, ln 383, in _make_request
    httplib_response = conn.getresponse()
lib/python3.6/http/client.py, ln 1331, 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='*****************.scm.azurewebsites.net', port=443): Read timed out. (read timeout=3)

To Reproduce:

Deploy zipped publish package to Azure Function App service. using the following command

az functionapp deployment source config-zip -g [RESOURCE-GROUP ]-n [ FUNCTION APP NAME] --src publish.zip

Expected Behavior

Environment Summary

Linux-4.15.0-1082-azure-x86_64-with-debian-stretch-sid
Python 3.6.5
Installer: DEB

azure-cli 2.5.1 *

Additional Context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:19
  • Comments:27 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
lobsteropteryxcommented, Jun 18, 2020

We’ve seen this as well, intermittently across many projects. Have opened an Azure support issue, but we never got this resolved.

2reactions
Splaxicommented, Jan 13, 2021

I hit the same issue.

I added the --timeout 360 to my command and it seems to have made a difference.

Read more comments on GitHub >

github_iconTop Results From Across the Web

az functionapp | Microsoft Learn
Deploy to Azure Functions via GitHub actions. az functionapp config. Configure a function app. az functionapp config access-restriction. Methods that show, set, ...
Read more >
Azure Function Deployment failed with Azure CLI 2.2.0 ...
the app deployment works perfectly fine when you use az webapp instead of az functionapp. This makes this whole issue a bit weirder, ......
Read more >
Pipeline Azure Functions Task issues - Visual Studio Feedback
The solution for us was to change from azure functions tasks to azure cli PS script. ( using az functionapp deployment source config-zip...
Read more >
azure-cli 2.24.2 - PyPI
A great cloud needs great tools; we're excited to introduce Azure CLI, ... az webapp/functionapp config access-restriction add/remove : Support for Service ...
Read more >
azure-functions-core-tools - npm
Deploying a function to AKS using ACR. Using the configuration options an Azure Function app can also be deployed to a AKS (Azure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found