Skip to content

File not found (403) - Downloading https://swalocaldeploy.azureedge.net/downloads/1.0.020761/windows/[email protected]  #576

@kunukn

Description

@kunukn

Before filing this issue, please ensure you're using the latest CLI by running swa --version and comparing to the latest version on npm.

Are you accessing the CLI from the default port :4280 ?

  • No, I am using a different port number (--port) and accessing the CLI from that port
  • [ X] Yes, I am accessing the CLI from port :4280

Make sure you are accessing the URL printed in the console when running swa start!

ℹ️ NOTE: Make sure to enable debug logs when running any swa commands using --verbose=silly

Describe the bug
A clear and concise description of what the bug is.
Console output

Deploying to environment: production

Deploying project to Azure Static Web Apps...
StaticSitesClient is outdated! Expected 1.0.020761, got 1.0.019361
[swa] ✖ Downloading https://swalocaldeploy.azureedge.net/downloads/1.0.020761/windows/[email protected]
✖ 
✖ Deployment Failed :(
✖ Deployment Failure Reason: Failed to download StaticSitesClient binary. File not found (403)
✖ For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/azure/static-web-apps/

✖ If you believe this behavior is unexpected, please raise a GitHub issue at:
  https://github.com/Azure/static-web-apps-cli/issues/new/choose

To Reproduce
Steps to reproduce the behavior:

  1. swa deploy ./dist/ -n NAME --env production --deployment-token TOKEN

The given url https://swalocaldeploy.azureedge.net/downloads/1.0.020761/windows/[email protected] gives me

<Error>
<Code>BlobNotFound</Code>
<Message>The specified blob does not exist. RequestId:5bc7a37a-201e-00a4-17d3-d3add7000000 Time:2022-09-29T07:16:06.4365437Z</Message>
</Error>

Expected behavior
A clear and concise description of what you expected to happen.

Deployment succeeded

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows 10
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

type: questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions