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

OpenSSL issues in Fedora #932

Closed
pvalena opened this issue Aug 7, 2020 · 1 comment · Fixed by #937
Closed

OpenSSL issues in Fedora #932

pvalena opened this issue Aug 7, 2020 · 1 comment · Fixed by #937

Comments

@pvalena
Copy link

pvalena commented Aug 7, 2020

When I run the test suite in Fedora, I get:

  1) Error:
SslTest#test_verified_ssl_connection:
OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3/TLS write client hello
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/connection/ruby.rb:255:in `connect_nonblock'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/connection/ruby.rb:255:in `connect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/connection/ruby.rb:297:in `connect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:349:in `establish_connection'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:107:in `block in connect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:308:in `with_reconnect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:106:in `connect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:381:in `ensure_connected'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:233:in `block in process'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:320:in `logging'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:232:in `process'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:126:in `call'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis.rb:172:in `block in ping'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis.rb:69:in `block in synchronize'
    /usr/share/ruby/monitor.rb:202:in `synchronize'
    /usr/share/ruby/monitor.rb:202:in `mon_synchronize'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis.rb:69:in `synchronize'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis.rb:171:in `ping'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/test/ssl_test.rb:19:in `block in test_verified_ssl_connection'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/test/support/redis_mock.rb:70:in `start_with_handler'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/test/support/redis_mock.rb:128:in `start'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/test/ssl_test.rb:17:in `test_verified_ssl_connection'

  2) Error:
SslTest#test_ssl_blocking:
OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3/TLS write client hello
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/connection/ruby.rb:255:in `connect_nonblock'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/connection/ruby.rb:255:in `connect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/connection/ruby.rb:297:in `connect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:349:in `establish_connection'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:107:in `block in connect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:308:in `with_reconnect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:106:in `connect'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:381:in `ensure_connected'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:233:in `block in process'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:320:in `logging'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:232:in `process'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis/client.rb:126:in `call'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis.rb:848:in `block in set'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis.rb:69:in `block in synchronize'
    /usr/share/ruby/monitor.rb:202:in `synchronize'
    /usr/share/ruby/monitor.rb:202:in `mon_synchronize'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis.rb:69:in `synchronize'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/lib/redis.rb:844:in `set'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/test/ssl_test.rb:44:in `block in test_ssl_blocking'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/test/support/redis_mock.rb:70:in `start_with_handler'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/test/support/redis_mock.rb:128:in `start'
    /builddir/build/BUILD/redis-4.2.1/usr/share/gems/gems/redis-4.2.1/test/ssl_test.rb:42:in `test_ssl_blocking'

Test suite is executed during build like so:

$ export DRIVER=ruby
$ make TIMEOUT=15 BINARY=/usr/bin/redis-server REDIS_CLIENT=/usr/bin/redis-cli 'BUILD_DIR=${TMP}'

This was previously fine, the OpenSSL, but ciphers are probably stricter now.

@pvalena
Copy link
Author

pvalena commented Aug 20, 2020

Any news on this?

supercaracal added a commit to supercaracal/redis-rb that referenced this issue Aug 21, 2020
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

Successfully merging a pull request may close this issue.

1 participant