title: Azure Function Deployment failed with Azure CLI 2.2.0 updates in Azure Pipeline
body: <p>everything was working fine with azure-cli 2.1.0
  With new updates of azure-cli (2.2.0) on Azure Pipeline (with Ubuntu agent) getting an error. 
       </p>
  
  <blockquote>
    <p>ERROR: HTTPSConnectionPool(host='****.scm.azurewebsites.net', port=443): Read timed out.</p>
  </blockquote>
  
  <p>                                      </p>
  
  <p>running below command</p>
  
  <p><code>az functionapp deployment source config-zip -g $resourceGroupName -n $functionAppName --src "functionapp.zip"</code></p>
  
  <p>Exception Details</p>
  
  <pre><code> 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 "&lt;string&gt;", 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
  </code></pre>