aspnetrun / run-aspnetcore-microservices

Microservices on .Net platforms which used ASP.NET Web API, Docker, RabbitMQ, MassTransit, Grpc, Yarp API Gateway, PostgreSQL, Redis, SQLite, SqlServer, Marten, Entity Framework Core, CQRS, MediatR, DDD, Vertical and Clean Architecture implementation with using latest features of .NET 8 and C# 12
https://www.udemy.com/course/microservices-architecture-and-implementation-on-dotnet/?couponCode=JUNE24
MIT License
2.53k stars 1.38k forks source link

Unable to load the service index for source #75

Open deepakkumpala opened 11 months ago

deepakkumpala commented 11 months ago

Team, I am getting below error in windows machine while running the docker compose command

[webstatus build 4/7] RUN dotnet restore "WebApps/WebStatus/WebStatus.csproj": 1.703 Determining projects to restore... 2.733 /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/src/WebApps/WebStatus/WebStatus.csproj] 2.733 /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : The SSL connection could not be established, see inner exception. [/src/WebApps/WebStatus/WebStatus.csproj] 2.733 /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : The remote certificate is invalid because of errors in the certificate chain: PartialChain [/src/WebApps/WebStatus/WebStatus.csproj]


[discount.grpc build 5/8] RUN dotnet restore "Services/Discount/Discount.Grpc/Discount.Grpc.csproj": 1.724 Determining projects to restore... 2.743 /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/src/Services/Discount/Discount.Grpc/Discount.Grpc.csproj] 2.743 /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : The SSL connection could not be established, see inner exception. [/src/Services/Discount/Discount.Grpc/Discount.Grpc.csproj] 2.743 /usr/share/dotnet/sdk/5.0.408/NuGet.targets(131,5): error : The remote certificate is invalid because of errors in the certificate chain: PartialChain [/src/Services/Discount/Discount.Grpc/Discount.Grpc.csproj]`

tutul2010 commented 7 months ago

It is kind network restriction issue . Pls check your farewell policy- connect with netwrk admin /corporate network policy

Thanks,