Azure Ошибка развертывания функции с Azure обновлениями CLI 2.2.0 в Azure Конвейер - PullRequest
1 голос
/ 20 марта 2020

все работало нормально с azure -cli 2.1.0. С новыми обновлениями azure -cli (2.2.0) в Azure Pipeline (с агентом Ubuntu) выдается ошибка.

ОШИБКА: HTTPSConnectionPool (host = '****. Scm.azurewebsites. net', port = 443): истекло время ожидания.

работает под командой

az functionapp deployment source config-zip -g $resourceGroupName -n $functionAppName --src "functionapp.zip"

Сведения об исключении

 WARNING: Setting SCM_DO_BUILD_DURING_DEPLOYMENT to false
 WARNING: Waiting SCM site to be updated with the latest app settings
 ERROR: The command failed with an unexpected error. Here is the traceback:

 ERROR: HTTPSConnectionPool(host='****.scm.azurewebsites.net', port=443): Read timed out. (read timeout=3)
 Traceback (most recent call last):
   File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
     six.raise_from(e, None)
   File "<string>", line 2, in raise_from
   File "/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
     httplib_response = conn.getresponse()
   File "/opt/az/lib/python3.6/http/client.py", line 1331, in getresponse
     response.begin()
   File "/opt/az/lib/python3.6/http/client.py", line 297, in begin
     version, status, reason = self._read_status()
   File "/opt/az/lib/python3.6/http/client.py", line 258, in _read_status
     line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
   File "/opt/az/lib/python3.6/socket.py", line 586, in readinto
     return self._sock.recv_into(b)
   File "/opt/az/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 317, in recv_into
     raise timeout('The read operation timed out')
 socket.timeout: The read operation timed out
 WARNING: 
 To open an issue, please run: 'az feedback'
 ##[error]Script failed with error: Error: The process '/bin/bash' failed with exit code 1
...