Azure / Azure/static-web-apps

Deployment Failure on Self-Hosted Agent in Azure DevOps Pipeline

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

Description

Issue Summary:
Brief Description: Deployment of a static app through a pipeline using a self-hosted agent in Azure DevOps is failing.
Error Message: "Failed to contact content server, stopping... An unknown exception has occurred. Failed to record upload telemetry."
Environment:
Pipeline Type: Azure DevOps Pipeline
Agent Type: Self-hosted
Comparative Behavior: The deployment works fine when using an Azure-hosted agent

Steps to Reproduce:
Set up a pipeline in Azure DevOps for deploying a static app.
Configure the pipeline to use a self-hosted agent.
Run the pipeline.
Expected Behavior:
The pipeline should deploy the static app successfully, similar to how it works with an Azure-hosted agent.

Actual Behavior:
The deployment fails with the aforementioned error messages.

Attempts to Resolve:
Checked network connectivity and firewall settings.
Ensured the self-hosted agent has the necessary permissions and access.
Compared the configurations between Azure-hosted and self-hosted agents.

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.