I am unable to connect to Azure Data Studio due to "Connection Timeout Expired." error.

Bhattacharjee, Rupajiet 0 Reputation points
2024-02-16T08:22:55.45+00:00

Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=615; handshake=29403;

I am receiving the above error while trying to connect to Azure Data Studio by using Microsoft Entra ID. Can someone kindly help? I am using free trial account via my personal gmail email ID.

Azure SQL Database
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
99 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ShaktiSingh-MSFT 13,751 Reputation points Microsoft Employee
    2024-02-16T09:15:23.2033333+00:00

    Hi
    Bhattacharjee, Rupajiet
    ,

    Welcome to Microsoft Q&A forum.

    As I understand, you are unable to connect to Azure Data Studio due to connection time out.

    Could you please let us know if it was working fine earlier? If it was working fine, please try to update Azure Data Studio to the latest version and see if the issue resolves.

    Also refer to the https://techcommunity.microsoft.com/t5/azure-sql-blog/troubleshooting-problems-related-to-azure-ad-authentication-with/ba-p/1062991 here which might help in troubleshooting.

    Also if above does not help, I will suggest you to raise question over https://github.com/microsoft/azuredatastudio/issues

    so that concerned team can help.

    Thanks

    0 comments No comments

  2. ShaktiSingh-MSFT 13,751 Reputation points Microsoft Employee
    2024-02-19T04:08:01.93+00:00

    Hi
    Bhattacharjee, Rupajiet
    ,

    Thanks for the details. As suggested above, refer to the options mentioned here:

    https://techcommunity.microsoft.com/t5/azure-sql-blog/troubleshooting-problems-related-to-azure-ad-authentication-with/ba-p/1062991

    Also if above does not help, please raise question over https://github.com/microsoft/azuredatastudio/issues Thanks

    0 comments No comments