Skip to content

[Issue] context canceled error when attempting to download Bicep during fresh azd up #6530

@cecheta

Description

@cecheta
  • Make sure you've installed the latest version using instructions

Output from azd version
Run azd version and copy and paste the output here:
azd version 1.23.0 (commit 9a02add)

Describe the bug
On a newly initialised install of azd, running azd up produces a context canceled error when attempting to install Bicep immediately after logging in. This happens consistently.

To Reproduce

  1. rm -rf ~/.azd
  2. Create new azd project, e.g. azd init --template todo-python-mongo
  3. azd up
  4. After logging in, the following error is seen:
ERROR: initializing infrastructure provider: failed resolving IaC provider 'bicep': downloading bicep: Get "https://downloads.bicep.azure.com/v0.39.26/bicep-linux-x64": context canceled

Expected behavior
After logging in, bicep is downloaded and the install begins.

Environment
Information on your environment:
Ubuntu 24.04.1 LTS (WSL2, Windows 11)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions