SQL AlwaysOn setup - This secondary replica is not connected to the primary replica. The connected state is DISCONNECTED.

SSG 1 Reputation point
2021-11-30T08:18:18.42+00:00

Hi All,

This secondary replica is not connected to the primary replica. The connected state is DISCONNECTED.

When checked the logs found the below error:

A connection timeout has occurred while attempting to establish a connection to availability replica 'XXXX'
with id [XXXXXX]. Either a networking or firewall issue exists, or the endpoint address provided
for the replica is not the database mirroring endpoint of the host server instance.

Database Mirroring login attempt failed with error: 'Connection handshake failed. An OS call failed:
(80090302) 0x80090302(The function requested is not supported). State 66.'. [SERVER: XXXXX]

Any idea how to fix this?

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,586 Reputation points
    2021-12-01T02:48:04.43+00:00

    Hi @SSG ,

    Welcome to Microsoft Q&A!
    Your error indicates that you may not use the same account on all machines. Check in the following way.
    153895-1.png
    153896-2.png

    You should log in with the same domain account on all nodes.
    In my case, my domain account password has expired or if I actively change it, there will be such an error.
    Finally, hope your problem could be solved.

    Best regards,
    Seeya


    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

  2. Gabriel PURAN 0 Reputation points
    2024-06-03T10:15:01.86+00:00

    Another potential root cause for these messages could be a local policy named

    Network Security: Restrict NTLM: Incoming NTLM traffic with 'Deny all accounts' value instead of 'Allow all'.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.