Skip to content

WINGET: Failed to open the source; try removing and re-adding it An unexpected error occurred while executing the command: #326

Description

@PepeMedin4

Brief description

I try to use the winget but this have errors, maybe connection errors.

I got the next error massage:
Failed to open the source; try removing and re-adding it An unexpected error occurred while executing the command:

Steps to reproduce

When I try to execute the command:
winget search code
I got the next error massage:
Failed to open the source; try removing and re-adding it An unexpected error occurred while executing the command:

And this other command:
winget source add --name Otro https://winget.azureedge.net/cache

Send this error message:
Adding source: Otro -> https://winget.azureedge.net/cache An unexpected error occurred while executing the command:

PS C:\> ping winget.azureedge.net                                                                                       
Haciendo ping a cs9.wpc.v0cdn.net [2606:2800:157:1508:1539:174:1a75:1191] con 32 bytes de datos:
Respuesta desde 2606:2800:157:1508:1539:174:1a75:1191: tiempo=151ms
Respuesta desde 2606:2800:157:1508:1539:174:1a75:1191: tiempo=31ms
Respuesta desde 2606:2800:157:1508:1539:174:1a75:1191: tiempo=10ms
Respuesta desde 2606:2800:157:1508:1539:174:1a75:1191: tiempo=10ms

Estadísticas de ping para 2606:2800:157:1508:1539:174:1a75:1191:
    Paquetes: enviados = 4, recibidos = 4, perdidos = 0
    (0% perdidos),
Tiempos aproximados de ida y vuelta en milisegundos:
    Mínimo = 10ms, Máximo = 151ms, Media = 50ms

Environment

winget --info

Windows Package Manager v0.1.41331 Vista previa
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.18363.836
Package: Microsoft.DesktopAppInstaller v1.0.41331.0

Links:
  Privacy Statement: https://aka.ms/winget-privacy
  License agreement: https://aka.ms/winget-license
  3rd Party Notices: https://aka.ms/winget-3rdPartyNotice
  Homepage:          https://aka.ms/winget

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions