Problem connecting to Azure SQL Server database from an android application
SSL certificate problem when connecting to the azure sql server database from an android application. The connection works with a virtual phone. But with my physical Redmi phone it doesn't work. I receive the following error:
(network error IOExecption: SSL handshake aborted: ssl=0xbe8644608 I/O error during system call broken pipe).
my Azure Sql Server database connection string is:
ConnectURL = "jdbc:jtds:sqlserver://myserver.database.windows.net:1433;ssl=require;DatabaseName=MYDATABASENAME;user=MyUserName;password=Mypassword;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database .windows.net;loginTimeout=1800;Language=English;";
The android version is:
'com.android.application' version '7.3.1'
Help me please