-
Notifications
You must be signed in to change notification settings - Fork 341
SSL Authentication Error - A call to SSPI failed, see inner exception. #428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What version of MySqlConnector are you using? (It does not appear to be a recent one.) SSL is on by default (if the server supports it); use Otherwise, it looks like this is an error from |
Thank you for the help! We are using 0.29.4 of MysqlConnector and Aurora MySQL 5.6.10a. We should probably update here soon! Thank you for making this library btw! You are awesome! I think for my situation I will make sure not to use ssl since we don't connect outside our network vpc right now. so that solution should work, I will try it and get back to this thread. |
Try setting the TLS version to 1.2 globally?
|
@infiniteloopltd That only affects HTTPS connections (so is not relevant to MySqlConnector); see https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls for more details. |
@kg6zgj Is this solved? I got the same issue recently. |
This appears to be an Aurora-related issue: #576 (comment) The workaround is to retry opening the connection. If you're using Pomelo.EntityFrameworkCore.MySql, you might want to try setting |
I using MySql.Data and ADO.NET , it has error on mySqlConnection.Open();
…------------------ 原始邮件 ------------------
发件人: "notifications"<notifications@github.com>;
发送时间: 2019年5月18日(星期六) 凌晨0:15
收件人: "mysql-net/MySqlConnector"<MySqlConnector@noreply.github.com>;
抄送: "Mr.guo"<burst_city@foxmail.com>;"Comment"<comment@noreply.github.com>;
主题: Re: [mysql-net/MySqlConnector] SSL Authentication Error - A call toSSPI failed, see inner exception. (#428)
This appears to be an Aurora-related issue: #576 (comment)
The workaround is to retry opening the connection. If you're using Pomelo.EntityFrameworkCore.MySql, you might want to try setting MySqlDbContextOptionsBuilder.EnableRetryOnFailure.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This is a portion of the exception json log.
The strange thing is i am not using ssl.
The text was updated successfully, but these errors were encountered: