I’m trying to upgrade from jruby 1.5.1 to 1.6 but I’m seeing some
strange errors when using capistrano. The jruby-openssl version is
0.7.2 and the capistrano version is 2.5.21 for both so the only relevant
difference seems to be the jruby upgrade. Also, I think this is only a
problem when deploying from a mac to linux machines. The problem seems
somewhat random as to the specific error and machine.
Anybody with some idea of what I could do to resolve this issue? I sure
would like to upgrade!
Here are some examples:
~> cap utility cmd=‘echo foo’
- executing `utility’
- executing “echo foo”
servers: [“web1”, “web2”, “web3”, “web4”, “web5”, “web6”, “db1”,
“db2”, “db3”, “db4”, “app1”, “app2”, “app3”, “app4”, “app5”, “app6”,
“app7”, “app8”, “app9”, “app10”, “msg1”, “msg2”, “ftp”]
connection failed for: msg2 (Net::SSH::HostKeyMismatch: fingerprint …
does not match for “msg2”), app1 (OpenSSL::Cipher::CipherError: Input
length not multiple of 16 bytes), app8 (OpenSSL::Cipher::CipherError:
Input length not multiple of 16 bytes), app10
(OpenSSL::Cipher::CipherError: Input length not multiple of 16 bytes)
~> cap utility cmd=‘echo foo’ - executing `utility’
- executing “echo foo”
servers: [“web1”, “web2”, “web3”, “web4”, “web5”, “web6”, “db1”,
“db2”, “db3”, “db4”, “app1”, “app2”, “app3”, “app4”, “app5”, “app6”,
“app7”, “app8”, “app9”, “app10”, “msg1”, “msg2”, “ftp”]
connection failed for: db2 (Net::SSH::Disconnect: disconnected: Packet
corrupt (2)), app5 (Net::SSH::Disconnect: connection closed by remote
host), web1 (OpenSSL::Cipher::CipherError: Input length not multiple of
16 bytes)
~> cap utility cmd=‘echo foo’ - executing `utility’
- executing “echo foo”
servers: [“web1”, “web2”, “web3”, “web4”, “web5”, “web6”, “db1”,
“db2”, “db3”, “db4”, “app1”, “app2”, “app3”, “app4”, “app5”, “app6”,
“app7”, “app8”, “app9”, “app10”, “msg1”, “msg2”, “ftp”]
connection failed for: app2 (Net::SSH::Disconnect: disconnected: Packet
corrupt (2)), msg2 (Net::SSH::HostKeyMismatch: fingerprint … does not
match for “msg2”), app5 (OpenSSL::Cipher::CipherError: Input length not
multiple of 16 bytes), ftp (OpenSSL::Cipher::CipherError: Input length
not multiple of 16 bytes), app3 (OpenSSL::Cipher::CipherError: Input
length not multiple of 16 bytes)
~> cap utility cmd=‘echo foo’ - executing `utility’
- executing “echo foo”
servers: [“web1”, “web2”, “web3”, “web4”, “web5”, “web6”, “db1”,
“db2”, “db3”, “db4”, “app1”, “app2”, “app3”, “app4”, “app5”, “app6”,
“app7”, “app8”, “app9”, “app10”, “msg1”, “msg2”, “ftp”]
connection failed for: ftp (Net::SSH::Disconnect: connection closed by
remote host), app7 (Net::SSH::Disconnect: connection closed by remote
host)