Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOF errors? #414

Open
aarnwri opened this issue May 19, 2023 · 1 comment
Open

EOF errors? #414

aarnwri opened this issue May 19, 2023 · 1 comment

Comments

@aarnwri
Copy link

aarnwri commented May 19, 2023

I'm updating a Rails app, and finding that I can't update OpenSSL, without getting EOF errors:

SSL_connect returned=1 errno=0 peeraddr=<IP_ADDR>:636 state=error: unexpected eof while reading

I need TLSv1_2 to work, maybe that's part of the problem... If I'm using OpenSSL 1.0.2u, it works fine. If I try to update it to 1.1.1t or 3.0.5, I get these eof errors.

net-ldap is version 0.18.0. ruby version is 3.1.4. Usage is as follows:

    ldap = Net::LDAP.new(
      :host       => '<ldap_server>',
      :port       => 636,
      :base       => "<base>",
      :encryption => {
        :method      => :simple_tls,
        :tls_options => { ssl_version: :TLSv1_2 }
      }
    )

I saw, it looked like there may be similar issues else where... redis/redis-rb#1106

Is this maybe an issue with this library? Any thoughts? Thanks!

@HarlemSquirrel
Copy link
Member

What version of OpenSSL are you running where you see this issue?

We may need to add something like this https://github.com/redis/redis-rb/pull/1107/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants