Skip to content
New issue

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

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

Already on GitHub? # to your account

OpenSSL::SSL::SSLError: SSL_read: unexpected eof while reading with OpenSSL 3.x #90

Open
voxik opened this issue Mar 4, 2022 · 3 comments

Comments

@voxik
Copy link

voxik commented Mar 4, 2022

Executing excon test suite with Ruby 3.1 and OpenSSL 3.0, I observe following errors:

  Excon basics (ssl) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[2022-02-23 03:58:50] ERROR OpenSSL::SSL::SSLError: SSL_read: unexpected eof while reading
	/usr/share/ruby/openssl/buffering.rb:80:in `sysread'
	/usr/share/ruby/openssl/buffering.rb:80:in `fill_rbuff'
	/usr/share/ruby/openssl/buffering.rb:332:in `eof?'
	/usr/share/gems/gems/webrick-1.7.0/lib/webrick/httpserver.rb:82:in `run'
	/usr/share/gems/gems/webrick-1.7.0/lib/webrick/server.rb:310:in `block in start_thread'

This reminds me issues I had with Puma. There is also more details in ruby/openssl ticket

@voxik
Copy link
Author

voxik commented Mar 4, 2022

@geemus FYI

@geemus
Copy link

geemus commented Mar 4, 2022

@voxik Thanks for the heads up. I don't think I've otherwise seen this, but I may just forget. Just let me know if I can help.

@voxik
Copy link
Author

voxik commented Mar 4, 2022

OpenSSL 3.0 is not widely available yet. But it is default on Fedora 36+ and CentOS Stream 9

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

2 participants