-
Notifications
You must be signed in to change notification settings - Fork 347
Description
On project upgrade from 3.1.1 .NET Core version to .NET 5.0 MySqlConnector driver keeps throwing
"### MySqlConnector ### Couldn't connect to server. More information - Cannot determine the frame size or a corrupted frame was received.". But mind boggling thing was the fact that driver worked when ran from Visual Studio 19.0 but didn't work from docker container.
Base image is .NET5 is 5.0-alpine.
First i thought connection strings are wrong or maybe grants to DB but those generate different kind of exception. I checked connection strings inside container and everything matches. Tried both 1.3.1 and 1.3.9 version of MySqlConnector and same exception happens.
Thought maybe reverse proxy SSL is issue on server (Debian 10.0) but when i used curl from local network i got same error.
Also tried to host container from WSL, same issue persisted.