Hi friends, in this article, we will be discussing about how to troubleshoot the following error message: “Event ID: 9642. An error occurred in a SQL Server Service Broker/Database Mirroring transport connection endpoint.“.
About the Service Broker/Database Mirroring transport connection endpoint error
We can see from the error message, that it refers to a Service Broker/Database Mirroring endpoint connection error. To this end, the first that comes in mind, is that this is something that might have to do with Service Broker or Database Mirroring (i.e. Always On Availability Groups replication) in SQL Server.
However, note that, the specific error message talks about an error in establishing a connection to a specific endpoint. This of course, does not necessarily mean that there’s something wrong with the configuration of Service Broker or Availability Groups replication on the SQL Server instance, but it might be something else.
How to Troubleshoot the Error
The first thing to do, towards troubleshooting the error, is to first make sure that indeed the configuration of Service Broker or Availability Groups deployments (if applicable) is OK without any issues.
If the above health check is successful, then a possible scenario for getting these error messages, is that a network/vulnerability scanner is attempting to connect to the ports that are defined in a Service Broker or Database Mirroring (i.e. Availability Groups) configuration on the SQL Server instance. Since these connection requests are not valid network traffic, this causes errors to be generated regarding these endpoints.
To this end, in such case, you should contact the Information Security Team, to confirm that the errors, are indeed generated due to a vulnerability scanning activity that tries to connect to the specific endpoints.
Extra Knowledge Tip – Finding Info about the Endpoints
In order to check if and which endpoints you have configured in your SQL Server instance, you can run the following T-SQL statements.
Retrieving Service Broker Endpoint Info
You can easily retrieve Service Broker Endpoint info with the below T-SQL statement:
SELECT * FROM sys.database_mirroring_endpoints;
GO
Retrieving Database Mirroring Endpoint Info
You can retrieve Database Mirroring Endpoint info with the below T-SQL statement:
SELECT * FROM sys.database_mirroring_endpoints;
GO
Retrieving TCP Endpoint Info
You can retrieve TCP Endpoint info with the below T-SQL statement:
SELECT * FROM sys.tcp_endpoints;
GO
Strengthen your SQL Server Administration Skills – Enroll to our Online Course!
Via the course, you will learn essential hands-on SQL Server Administration tips on SQL Server maintenance, security, performance, integration, error handling and more. Many live demonstrations and downloadable resources included!
(Lifetime Access/ Live Demos / Downloadable Resources and more!)
Artemakis Artemiou is a seasoned Senior Database and AI/Automation Architect with over 20 years of expertise in the IT industry. As a Certified Database, Cloud, and AI professional, he has been recognized as a thought leader, earning the prestigious Microsoft Data Platform MVP title for nine consecutive years (2009-2018). Driven by a passion for simplifying complex topics, Artemakis shares his expertise through articles, online courses, and speaking engagements. He empowers professionals around the globe to excel in Databases, Cloud, AI, Automation, and Software Development. Committed to innovation and education, Artemakis strives to make technology accessible and impactful for everyone.
Views:3,593
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent. Read More
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.