Why JTDS connection error SSL on android version 10

122 Views Asked by At

I am using jtds-1.3.1.jar to connect my android app to sql server DB. My app is working really fine on my pixel 5, Its android version is 12. But when I install the same app on android version 10 device it gives me the error

conclass: Network error IOException: SSL handshake aborted: ssl=0x7af1b3fb88: I/O error during system call, Broken pipe

My connection string is something like this

 ConnectionURL= "jdbc:jtds:sqlserver://"+ip+":"+port+";"+"databaseName="+ db+ ";user="+un+";password="+pass+";ssl=require";

Can someone please guide me.

0

There are 0 best solutions below