MMI icon indicating copy to clipboard operation
MMI copied to clipboard

Build MMI failed

Open xtqqczze opened this issue 4 years ago • 2 comments

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 avatar Jul 05 '21 21:07 xtqqczze

> 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 avatar Jul 05 '21 21:07 xtqqczze

Nuget package sources in nuget.config need updating,

xtqqczze avatar Jul 05 '21 21:07 xtqqczze