Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Build MMI failed #53

Open
xtqqczze opened this issue Jul 5, 2021 · 2 comments
Open

Build MMI failed #53

xtqqczze opened this issue Jul 5, 2021 · 2 comments

Comments

@xtqqczze
Copy link

xtqqczze commented Jul 5, 2021

MMI-CI: Build MMI:

/usr/share/dotnet/sdk/5.0.301/NuGet.targets(131,5): error : Unable to load the service index for source https://www.myget.org/F/dotnet-core/api/v3/index.json. [/home/vsts/work/1/s/src/Microsoft.Management.Infrastructure/Microsoft.Management.Infrastructure.csproj]
/usr/share/dotnet/sdk/5.0.301/NuGet.targets(131,5): error :   The SSL connection could not be established, see inner exception. [/home/vsts/work/1/s/src/Microsoft.Management.Infrastructure/Microsoft.Management.Infrastructure.csproj]
/usr/share/dotnet/sdk/5.0.301/NuGet.targets(131,5): error :   The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch [/home/vsts/work/1/s/src/Microsoft.Management.Infrastructure/Microsoft.Management.Infrastructure.csproj]

https://dev.azure.com/powershell/MMI/_build/results?buildId=81198&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=35f53584-79fc-539f-463c-6471d0663a3a

@xtqqczze
Copy link
Author

xtqqczze commented Jul 5, 2021

> follow https://www.myget.org/F/dotnet-core/api/v3/index.json
https://www.myget.org/F/dotnet-core/api/v3/index.json -> 302
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json -> Error: FetchError: request to https://dotnet.myget.org/F/dotnet-core/api/v3/index.json failed, reason: Hostname/IP does not match certificate's altnames: Host: dotnet.myget.org. is not in the cert's altnames: DNS:*.oneroute.microsoft.com, DNS:oneroute.microsoft.com

@xtqqczze
Copy link
Author

xtqqczze commented Jul 5, 2021

Nuget package sources in nuget.config need updating,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant