SQL Server AlwaysOn Error:35250 I am configuring AlwaysOn in my test environment but getting the following error.

Msg 35250, Level 16, State 7, Line 1
The connection to the primary replica is not active.  The command cannot be processed.


I followed the below link to solve the issue but no luck

https://blogs.msdn.microsoft.com/alwaysonpro/2013/12/09/create-availability-group-fails-with-error-35250-failed-to-join-the-database/

I checked the SQL LOG for error in node1 appears as 


  The Service Broker endpoint is in disabled or stopped state.


checked the same at node2 for error appears as below:


  Database Mirroring login attempt failed with error: 'Connection
  handshake failed. An OS call failed: (80090350) 0x80090350(The system
  cannot contact a domain controller to service the authentication
  request. Please try again later.). State 66.'.  [CLIENT: my server IP
  address(node1)].


Kindly check and suggest to move forward.
This is login and permission related error. What kind of account are you using to connect when you build the AOA features? If you are using a domain account you can fix this error it in two ways. 


Use the same domain account on all of the participating replicas. If you can't (allowed) change the account you could use the second option 
Add the service accounts that you are using on participating servers into the primary replica. 


N.B. make sure those accounts have at least a connect permission to the instances