Azure / Azure/static-web-apps-cli

Swa deploy fails with an unknown exception has occurred

Abierto
#500 10 comentarios 0 reacciones 1 asignado Asignado a @Reshmi-Sriram Ver en GitHub
command: deploy scope: deploy-client status: investigating
Lenguaje dominante
TypeScript
Estrellas
668
Forks
156
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Describe the bug**
Running `swa deploy` always fails with:

```
Welcome to Azure Static Web Apps CLI (1.0.1)

Deploying front-end files from folder:
/private_path/Client/bin/publish/wwwroot

Deploying API from folder:
/private_path/Api

Checking Azure session...
✔ Successfully logged into Azure!

Checking project settings...
✔ Choose your Static Web App › app-rg/app-test
✔ Successfully setup project!

Deploying to environment: production


Found configuration file:
/private_path/Client/staticwebapp.config.json

Deploying project to Azure Static Web Apps...
✖ Failed to contact content server, stopping...
✖ An unknown exception has occurred
```

It manages to create the resource in Azure

**To Reproduce**
Steps to reproduce the behavior:

Running `swa deploy` with either `swa-cli.config.json` or manual parameters.

**Expected behavior**
Correct resources should be created and the app deployed.

**Desktop (please complete the following information):**

- OS: Ubuntu 22.04

**Additional context**

It's a blazor app with C# V4 functions Api.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.