錯誤記錄——fail: Microsoft.AspNetCore.Server.Kestrel[13]

 1 fail: Microsoft.AspNetCore.Server.Kestrel[13]  2       Connection id "0HLPN4417RVEM", Request id "0HLPN4417RVEM:00000001": An unhandled exception was thrown by the application.  3 MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'xx.xx.xx.99' for user 'xxxuser' using method 'mysql_native_password' failed with message: Reading from the stream has failed. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.  4  at MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count)  5  at MySql.Data.MySqlClient.MySqlStream.LoadPacket()  6  at MySql.Data.MySqlClient.MySqlStream.LoadPacket()  7  at MySql.Data.MySqlClient.MySqlStream.ReadPacket()  8  at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()  9  at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex) 10  at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() 11  at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset) 12  at MySql.Data.MySqlClient.NativeDriver.Open() 13  at MySql.Data.MySqlClient.Driver.Open() 14  at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) 15  at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() 16  at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() 17  at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() 18  at MySql.Data.MySqlClient.MySqlPool.GetConnection() 19  at MySql.Data.MySqlClient.MySqlConnection.Open() 20  at System.Data.Common.DbConnection.OpenAsync(CancellationToken cancellationToken) 21 --- End of stack trace from previous location where exception was thrown ---
22    at AAAA.Controllers.ValuesController.XXXStatus() in D:\………\ValuesController.cs:line 108
23  at lambda_method(Closure , Object ) 24  at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult() 25  at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 26    at System.Threading.Tasks.ValueTask`1.get_Result() 27  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() 28  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() 29  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) 30    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 31  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync() 32  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter() 33  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context) 34    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 35  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync() 36  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync() 37  at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext) 38  at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext) 39    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
相關文章
相關標籤/搜索