我在Raspbian(RPi v2)上使用了舵3.0.x,我有时会遇到一些奇怪的错误。
我试图理解此错误消息:“EVP_DecryptFinal_ex:错误:0606506D:数字包络例程:EVP_DecryptFinal_ex:错误的最终块长度”。
我正在使用WiFi网状networking通过移动networking访问互联网,所以连接并不是最好的,但我可以ping通方向舵服务器+ dns分辨率,以便在“方向舵代理更新”期间工作。
@xxx-xxxxx:~$ sudo rudder agent update 2015-07-17T16:40:44+0200 error: /default/update/methods/'update'/default/update_action/files/'/var/rudder/ncf/local'[0]: Timeout - remote end did not respond with the expected amount of data (received=0, expecting=8). (recv: Resource temporarily unavailable) 2015-07-17T16:41:14+0200 error: /default/update/methods/'update'/default/update_action/files/'/var/rudder/ncf/local'[0]: Timeout - remote end did not respond with the expected amount of data (received=0, expecting=8). (recv: Resource temporarily unavailable) ^[[B2015-07-17T16:42:36+0200 error: /default/update/methods/'update'/default/update_action/files/'/var/rudder/cfengine-community/inputs'[0]: Timeout - remote end did not respond with the expected amount of data (received=0, expecting=8). (recv: Resource temporarily unavailable) 2015-07-17T16:42:48+0200 error: /default/update/methods/'update'/default/update_action/files/'/var/rudder/cfengine-community/inputs'[0]: Failed to decrypt at final of cipher length 70. (EVP_DecryptFinal_ex: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length) 2015-07-17T16:42:48+0200 error: /default/update/methods/'update'/default/update_action/files/'/var/rudder/cfengine-community/inputs'[0]: Failed to decrypt at final of cipher length 3. (EVP_DecryptFinal_ex: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length)
这是一个OpenSSL错误; 代理无法解密来自服务器的消息(请参阅http://openssl.6102.n7.nabble.com/error-0606506D-td6186.html ),因为它没有合适的长度。 如果networking不可靠,那么连接在传输过程中可能被中断,并且消息的结尾丢失。
您还可以尝试比较代理(您自己构build的)和服务器上的OpenSSL版本。 我不认为这可能是一个不兼容的问题(我相信这会一直令人失望),但值得仔细检查