unosquare / passcore

A self-service password management tool for Active Directory
https://unosquare.github.io/passcore/
MIT License
1.04k stars 228 forks source link

pending when docker build #440

Closed ytianxia6 closed 4 years ago

ytianxia6 commented 4 years ago

PassCore Server

Describe the bug docker build pending

Helpers/DebugAppSettings.cs(9,25): warning CA1819: Properties should not return arrays [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
Controllers/PasswordController.cs(39,24): warning CA1062: In externally visible method 'PasswordController.PasswordController(ILogger<PasswordController> logger, IOptions<ClientSettings> optionsAccessor, IPasswordChangeProvider passwordChangeProvider)', validate parameter 'optionsAccessor' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
PasswordGenerator.cs(11,13): warning CA1062: In externally visible method 'string PasswordGenerator.Generate(RNGCryptoServiceProvider provider, int entropy)', validate parameter 'provider' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
Startup.cs(97,21): warning CA1822: Member Configure does not access instance data and can be marked as static (Shared in VisualBasic) [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
Startup.cs(99,17): warning CA1062: In externally visible method 'void Startup.Configure(IApplicationBuilder app, IOptions<WebSettings> settings)', validate parameter 'settings' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
Controllers/PasswordController.cs(152,34): warning CA2234: Modify 'PasswordController.ValidateRecaptcha(string)' to call 'HttpClient.GetStringAsync(Uri)' instead of 'HttpClient.GetStringAsync(string)'. [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
Controllers/PasswordController.cs(152,34): warning CA2007: Consider calling ConfigureAwait on the awaited task [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
Controllers/PasswordController.cs(103,13): warning CA1031: Modify 'Post' to catch a more specific allowed exception type, or rethrow the exception. [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
Controllers/PasswordController.cs(129,13): warning CA1031: Modify 'Post' to catch a more specific allowed exception type, or rethrow the exception. [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
Helpers/DebugPasswordChangeProvider.cs(6,20): warning CA1812: DebugPasswordChangeProvider is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it static (Shared in Visual Basic). [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
CSC : warning SA0001: XML comment analysis is disabled due to project configuration [/build/src/Unosquare.PassCore.Web/Unosquare.PassCore.Web.csproj]
  Unosquare.PassCore.Web -> /build/src/Unosquare.PassCore.Web/bin/Release/netcoreapp3.0/Unosquare.PassCore.Web.dll
  v10.14.2
ytianxia6 commented 4 years ago
npm ERR! network request to https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz failed, reason: connect ETIMEDOUT 104.16.25.35:443

after long time git the error

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.