kanidm / ldap3

Rust LDAP3 Server Protocol Library
Mozilla Public License 2.0
53 stars 11 forks source link

An error occurred writing to the transport #53

Closed kolapapa closed 8 months ago

kolapapa commented 8 months ago

I recently encountered an issue while using ldap_client: After storing two LdapClient instances, I automatically select which LdapClient to use for processing based on the content of the search request. However, I often encounter the error "An error occurred writing to the transport". This error seems to indicate that the TCP stream has been disconnected. I would like to know how to optimize this issue.

Firstyear commented 8 months ago

Sorry I didn't respond in time. Did you resolve this?

kolapapa commented 8 months ago

Sorry I didn't respond in time. Did you resolve this?

Yes, I realize it's my fault. 🥲

Firstyear commented 8 months ago

No problem at all, glad you solved it. Was there anything this library could have done to make it easier to find the fault?