Discovery : TCP connection dropped error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 05:42 AM
Hi All,
I have tried the discovery for few of the servers but it's showing the error - Cannot connect, status is TCP_CONNECTION_DROPPED. Connection unexpectedly closed by SSH server in PROD instance.
When I try to discovery the same server in DEV instance, it's updating the CI.
Can anyone please let me know why this is happening or how to trouble shoot it?
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 02:50 AM
Hi @Meenakshi Rajes,
I would try the following first:
- Network access (Firewalls open to discover the systems?)
- Review Credentials & test them
- Update Discovery/Service Mapping Patterns
- Check Agent.log & Wrapper.log from the MID Server at time of Discovery
- Debug the Pattern itself
Some of those checks are quite simple - I know - but I experienced really strange behaviors and at the end it was either some blocked traffic or wrong User/PWD. Hope this helps.
If this answer helps you please mark it as Helpful/Solution.
Thanks & Regards - Manuel
If my answer helped you, please mark it as Helpful/Solution.
Thanks & many Regards - Manuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 07:45 AM
Hi @Meenakshi Rajes,
do you need any more help with this? If my answer helped you, please mark it as Helpful/Solution so other will find it too.
Thanks & many regards - Manuel
If my answer helped you, please mark it as Helpful/Solution.
Thanks & many Regards - Manuel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 11:43 AM
Hi @Meenakshi Rajes , @Manuel Stimac ,
We also have the same issue and we got resolved.
Discovery Error#
Cannot connect, status is TCP_CONNECTION_DROPPED. Connection unexpectedly closed by SSH server
Error Captured on the Server when trigger Discovery#
pam_unix(sshd:account): account <Account Name> has expired (account expired)
Apr 18 2023 10:12:04 <<Server name>> sshd[12575]:fatal: Access denied for user <<cnf_mgmt>> by PAM account configuration [preauth]
Resolution:
Executed following Command on the Target server#
chage -m 0 -M 99999 -I -1 -E -1 <<Account Name>
Note# above is to make sure the discovery account never expire again. then we are able to discover the server
Hope this Help, if so please mark it to Helpl & Solved

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 09:23 AM