Home rpush openssl Error with password
Reply: 0

rpush openssl Error with password

user1257
1#
user1257 Published in August 14, 2018, 8:26 am

while using rpush to send push via APNS (apple-app) I got errors like below. It seems errors are due to problem with ruby updates, (2.4.0) However, I'm not sure why this password length problem has occurred and how to deal with this.

OpenSSL::OpenSSLError, password must be at least 4 bytes
/home/deploy/project/shared/bundle/ruby/2.4.0/gems/rpush-3.0.2/lib/rpush/daemon/tcp_connection.rb:128:in `initialize'
/home/deploy/project/shared/bundle/ruby/2.4.0/gems/rpush-3.0.2/lib/rpush/daemon/tcp_connection.rb:128:in `new'
/home/deploy/project/shared/bundle/ruby/2.4.0/gems/rpush-3.0.2/lib/rpush/daemon/tcp_connection.rb:128:in `setup_ssl_context'
/home/deploy/project/shared/bundle/ruby/2.4.0/gems/rpush-3.0.2/lib/rpush/daemon/tcp_connection.rb:39:in `connect'
/home/deploy/project/shared/bundle/ruby/2.4.0/gems/rpush-3.0.2/lib/rpush/daemon/apns/feedback_receiver.rb:57:in `check_for_feedback'

Current version of openssl is like below

2.4.0 :001 > require 'openssl'
 => true
2.4.0 :002 > RUBY_VERSION
 => "2.4.0"
2.4.0 :003 > OpenSSL::OPENSSL_VERSION
 => "OpenSSL 1.0.2g  1 Mar 2016"
2.4.0 :004 > OpenSSL::VERSION
 => "2.0.2"
2.4.0 :005 >
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.289749 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO