Dear Team,
Our application team is facing strange intermittent connection drop issue with below logs being captured from application side. However, from database side we dont see any errors or load on the srevers is very minimal.
Below is the configuration:
Innodb Cluster ( 3 node - 1 RW and 2 RO) with GTID replication. We have mysqlrouter with keepalive configured.
Below is the log extract:
Error Message: ------------------------------ERROR START-----------------------------------
Error Message: CheckSocialSubscriberCredentials
Error Message: HandlingInstanceID: 1cb6322a-584a-4dce-bb50-38dffd227325
An exception of type ‘MySql.Data.MySqlClient.MySqlException’ occurred and was caught.
09/01/2023 17:52:18
Type : MySql.Data.MySqlClient.MySqlException, MySql.Data, Version=8.0.32.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d
Message : Unable to connect to any of the specified MySQL hosts.
Source : MySql.Data
Help link :
Number : 1042
SqlState :
Code : 0
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Void Open()
HResult : -2147467259
Stack Trace : at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Microsoft.Practices.EnterpriseLibrary.Data.Database.GetNewOpenConnection()
at Microsoft.Practices.EnterpriseLibrary.Data.Database.GetWrappedConnection()
at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(DbCommand command)
at Helper.Database.MySqlManager.ExecuteReader(DbCommand dbCommand)
at eMDMS.Domain.SubscriberDetails.DAL.GetExternalLoginInformationusingUAEPASS(LoginRequestDTO data)
at eMDMS.Domain.SubscriberDetails.SubscriberBL.eMDMS.Domain.SubscriberDetails.ISubscriber.GetExternalLoginInformationusingUAEPASS(LoginRequestDTO loginData)
at eMDMS.Facade.SubscriberFacade.GetExternalLoginInformationusingUAEPASS(LoginRequestDTO data)
at eMDMS.Discovery.Subscriber.GetExternalLoginInformationusingUAEPASS(LoginRequestDTO data)
Additional Info:
MachineName : XXXXXXXXXS001B
TimeStamp : 01-09-2023 13:52:18
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : /LM/W3SVC/2/ROOT-1-133380380334763419
ThreadIdentity :
WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
Inner Exception
---------------
Type : MySql.Data.MySqlClient.MySqlException, MySql.Data, Version=8.0.32.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d
Message : Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Source : MySql.Data
Help link :
Number : 0
SqlState :
Code : 0
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : System.IO.Stream GetTcpStream(MySql.Data.MySqlClient.MySqlConnectionStringBuilder, MySql.Data.Common.MyNetworkStream ByRef)
HResult : -2147467259
Stack Trace : at MySql.Data.Common.StreamCreator.GetTcpStream(MySqlConnectionStringBuilder settings, MyNetworkStream& networkStream)
at MySql.Data.MySqlClient.NativeDriver.Open()
Inner Exception
---------------
Type : System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : The operation has timed out.
Source :
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite :
HResult : -2146233083
Stack Trace : The stack trace is unavailable.
Error Message: -------------------------------ERROR END------------------------------------
Kindly help me to understand the issue and suggestions on the error resolution.