Socket Exception - The operation completed successfully
Posted: Thu 28 Feb 2019 15:04
This is a bug, which happens only on .NET Core, I have asp.net 4.5 application with same version of mysql dot connect, it is working correctly but in .net core, after few minutes (roughly after 30 minutes) this error starts coming and after restarting website in IIS it starts working again.
SocketException: The operation completed successfully
. (byte[] , int , int )
MySqlException: Can't connect to MySQL server on '127.0.0.1' (10061): Authentication failed.
I haven't changed any timeout values anywhere, everywhere it is standard timeout. And there is only one use (me) testing it with the live database. So there is no load on web server and mysql server.
SocketException: The operation completed successfully
. (byte[] , int , int )
MySqlException: Can't connect to MySQL server on '127.0.0.1' (10061): Authentication failed.
I haven't changed any timeout values anywhere, everywhere it is standard timeout. And there is only one use (me) testing it with the live database. So there is no load on web server and mysql server.