Using SQL server with .NET MAUI, encountering TCP error 35 on Android phone

Jim Ng Ying Gee 0 Reputation points

I am accessing a SQL server with .NET MAUI and encountering a TCP transport layer error 35 on my Android phone. This issue does not occur when accessing the SQL server using PC winUI. When testing, I found that read/write access of around 1000 bytes is okay, but when exceeding 1000 bytes, this problem occurs. See the following TCP error image for reference:

TCP error

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
11,592 questions
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,167 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 58,256 Reputation points Microsoft Vendor


    This issue was filed in the SqlServer GitHub repo. See: SQL Server pre-login handshake failed Android 5,6,8.1 #1656.

    You can try to use this workaround from devmartinto fix this issue.

    Best Regards,

    Leon Lu

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments