Azure / Azure/static-web-apps

'Problems communicating with our content server' prevents deployment

Open
#1,738 1 comment 7 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**After build completes, the pipeline fails with message 'We are currently experiencing problems communicating with our content server. Please try again later or file an issue if this behavior continues.'**

This appears to be the identical bug discussed in this closed ticket: [https://github.com/Azure/static-web-apps/issues/560](https://github.com/Azure/static-web-apps/issues/560)

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Devops'
2. Click on 'set up build'
3. Run
4. See error

```
---End of Oryx build logs---
Try to validate location at: '/eb80c0db-1628-4ca3-8b48-b19449658706-swa-oryx/app/dist'.
Finished building app with Oryx
Using 'staticwebapp.config.json' file for configuration information, 'routes.json' will be ignored.
Copying 'staticwebapp.config.json' to build output
No Api directory specified. Azure Functions will not be created.
Either no Api directory was specified, or the specified directory was not found. Azure Functions will not be created.
Zipping App Artifacts
Done Zipping App Artifacts
Uploading build artifacts.
We are currently experiencing problems communicating with our content server. Please try again later or file an issue if this behavior continues.
```

Azure Pipelines workflow YAML

```
name: $(MajorVersion).$(MinorVersion).$(rev:r)

trigger:
- main
- develop

pool:
vmImage: ubuntu-latest

steps:
- task: AzureStaticWebApp@0
displayName: Build for Azure Static Web [main]
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
env:
VITE_APP_VERSION: '$(Build.BuildNumber)'
VITE_API_BASE_URL: [redacted]
VITE_TURNSTILE_SITE_KEY: [redacted]
inputs:
app_location: '/'
app_build_command: 'npm run build'
output_location: '/dist'
config_file_location: '/'
skip_api_build: true
azure_static_web_apps_api_token: '$(prod_deployment_token)'

```

**Expected behavior**
Successful build

**Screenshots**

Image

**Additional context**
This began happening on this morning after earlier build events with this project were successful. I tried other Static Web Apps builds on other projects that had previously completed successfully, and they failed this morning as well, with no intervening change since their last iteration.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.