Skip to content

Crash on client reset => needs better handling #297

@ThomasAlxDmy

Description

@ThomasAlxDmy

Hi there,

Still getting some crash when connection is unstable

Error: #<Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:68 >

/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ber/ber_parser.rb:169:in `getbyte'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ber/ber_parser.rb:169:in `read_ber'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/connection.rb:234:in `block in read'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/instrumentation.rb:19:in `instrument'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/connection.rb:233:in `read'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/connection.rb:201:in `queued_read'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/auth_adapter/simple.rb:23:in `bind'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/connection.rb:278:in `block in bind'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/instrumentation.rb:19:in `instrument'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/connection.rb:275:in `bind'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap.rb:1301:in `use_connection'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap.rb:783:in `block in search'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/instrumentation.rb:19:in `instrument'
/my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap.rb:782:in `search'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions