Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New clone: Cannot restore nuget package from sources in nuget.config #144

Open
el2iot2 opened this issue Mar 25, 2021 · 1 comment
Open

Comments

@el2iot2
Copy link

el2iot2 commented Mar 25, 2021

On a brand new clone:

  • Installed mongodb
  • Tried to run .\build_and_run.bat

It fails during the build process.

I did some investigation and the same issue can be reproduced on my (windows) box by running:
dotnet restore in the src folder. I get:

C:\Program Files\dotnet\sdk\5.0.103\NuGet.targets(131,5): error : Unable to load the service index for source https://www.myget.org/F/dotnet-corefxlab/api/v3/index.json. [C:\i\s\MineCase\src\MineCase.sln]
C:\Program Files\dotnet\sdk\5.0.103\NuGet.targets(131,5): error :   The SSL connection could not be established, see inner exception. [C:\i\s\MineCase\src\MineCase.sln]
C:\Program Files\dotnet\sdk\5.0.103\NuGet.targets(131,5): error :   The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch [C:\i\s\MineCase\src\MineCase.sln]

Indeed when I try to retrieve that index.json file, I get cert errors and redirected to a website (not the index.json file).

Probably only manifests on the first restore (folks that had restored when that nuget source was up/working would have the correct packages cached). I think you'd have to do a nuget restore --no-cache to see it?

Anyway, anyone have a guess as to where those nuget packages reside now? What would be the correct nuget source url?

@wz172
Copy link

wz172 commented Jul 15, 2022

Don't expect too much from Chinese open source projects。

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

No branches or pull requests

2 participants