vmware-tanzu-labs/cf-mgmt

ldap: connection closed

mbobbili opened this issue · 7 comments

Getting below errors while running cf-mgmt update-org-users. How do we debug it? Appreciate your insights.

290 initialize.go:72] Password parameter is deprecated, create uaa client and client-secret instead

write tcp :58720->:636: write: broken pipe
290 ldap.go:58] LDAP Result Code 200 "Network Error": ldap: connection closed

error: Error syncing users for org role org-auditors: adding ldap users: LDAP Result Code 200 "Network Error": ldap: connection closed

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

Hi @mbobbili,

What cf-mgmt version are you using?

Is your LDAP server accessible by whatever computer is running cf-mgmt? Is this the only stage that is failing?

Version 1.0.16
Yes, LDAP is accessible, it was tested (curl) many times before the post.
Yes, for now, it is the only env.

Think you need to upgrade to later version that supports reconnecting for "long" running tasks. https://github.com/vmware-tanzu-labs/cf-mgmt/releases/tag/v1.0.46

@calebwashburn - long time no see. Great to hear from you. We will upgrade to the latest version.

Closing for now, feel free to re-open

Upgrading to 1.0.46 resolved the issue. Thank you all.