title: Azure functions deploy from github actions results in Error: connect ECONNREFUSED 127.0.0.1:443
body: <p>I have the following yaml file in my <code>.github/workflows</code> folder which I got from <a href="https://github.com/Azure/actions-workflow-samples/blob/master/FunctionApp/linux-python-functionapp-on-azure.yml" rel="nofollow noreferrer">here</a>.</p>
  <pre class="lang-yaml prettyprint-override"><code>name: Deploy Python project to Azure Function App
  
  on:
    [push]
  
  env:
    AZURE_FUNCTIONAPP_NAME: zypp-covid # set this to your application's name
    AZURE_FUNCTIONAPP_PACKAGE_PATH: '.'   # set this to the path to your web app project, defaults to the repository root
    PYTHON_VERSION: '3.8'                 # set this to the python version to use (supports 3.6, 3.7, 3.8)
  
  jobs:
    build-and-deploy:
      runs-on: ubuntu-latest
      steps:
      - name: 'Checkout GitHub Action'
        uses: actions/checkout@master
  
      - name: Setup Python ${{ env.PYTHON_VERSION }} Environment
        uses: actions/setup-python@v1
        with:
          python-version: ${{ env.PYTHON_VERSION }}
  
      - name: 'Resolve Project Dependencies Using Pip'
        shell: bash
        run: |
          pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
          python -m pip install --upgrade pip
          pip install -r requirements.txt --target=&quot;.python_packages/lib/site-packages&quot;
          popd
      - name: 'Run Azure Functions Action'
        uses: Azure/functions-action@v1
        id: fa
        with:
          app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}
          package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
          publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}
  </code></pre>
  <p>This results in the following error which isn't very informative, so I have no clue how to solve this:</p>
  <pre><code>Using SCM credential for authentication, GitHub Action will not perform resource validation.
  Error: ECONNREFUSED
  Error: Execution Exception (state: ValidateAzureResource) (step: Invocation)
  Error:   When request Azure resource at ValidateAzureResource, Get Function App Settings : Failed to acquire app settings (SCM)
  Error:     Failed to fetch Kudu App Settings.
  Error: connect ECONNREFUSED 127.0.0.1:443
  Error:       Error: Failed to fetch Kudu App Settings.
  Error: connect ECONNREFUSED 127.0.0.1:443
      at Kudu.&lt;anonymous&gt; (/home/runner/work/_actions/Azure/functions-action/v1/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js:62:23)
      at Generator.throw (&lt;anonymous&gt;)
      at rejected (/home/runner/work/_actions/Azure/functions-action/v1/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js:6:65)
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
  Error: Deployment Failed!
  </code></pre>
  <p>Could someone point me in the right direction?</p>