Skip to content

Azure Functions Core Tools startup is significantly delayed due to slow CDN fetch for extension bundle index #4567

@Pratikkapadia7

Description

@Pratikkapadia7

When running Azure Functions Core Tools locally (func start), the startup takes 1–2 minutes, even when the extension bundle is pinned and already present locally.

After investigating with --verbose, I noticed that the CLI always makes a call to:
https://cdn.functions.azure.com/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/index.json

This call introduces a long delay in environments with slow or throttled access to Azure's CDN (in my case, from India). Even with the bundle version pinned exactly:
"extensionBundle": { "id": "Microsoft.Azure.Functions.ExtensionBundle", "version": "[4.24.2, 4.24.2]" }

the CLI still makes the network request. Since the bundle is already available locally, this fetch feels unnecessary and slows down the dev experience substantially.

Environment
OS: macOS
Core Tools Version: 4.1.0
Runtime: Node.js
Bundle version: 4.24.2
CDN response time: ~60–90 seconds

Additional Info

  • This was working fine a few days ago — startup was fast and no CDN calls were noticeable.

  • I even tried creating a brand new function app, and the issue persists.

  • The slow startup is blocking local development and making iteration very difficult.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions