Azure SQL DB pre-login handshake provider SSL error 0 the wait operation time out. Microsoft SQL Server, Error: 258

Iceblack 1 Reputation point


I am getting the following error when I try to connect to some Azure SQL DB, connection from the same machine works without any problem

Any help, please?

TITLE: Connect to Server

Cannot connect to


A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) (Microsoft SQL Server, Error: 258)

For help, click:

The wait operation timed out


Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Anurag Sharma 17,576 Reputation points

    Hi @Iceblack , welcome to Microsoft Q&A forum.

    Can you tell us how are you trying to connect to Azure SQL Database, through SSMS or any other platform? Also please check once if you can connect with other Azure Sql Database and is port 1433 open.