-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
[bug] SSL error: decryption failed or bad record mac during firmware upgrade #244
Comments
this issue get fixed by adding the
|
@minhng99 is this happening with the latest master or which version? |
May be related: #31637 Registering database connections for cleanup on fork. |
It's the released Ansible version 22.05.3
|
It seems link to #244 (comment) as @nemesifier said. Because the _call_reflash_command is called from a subprocess it causes the issue. The workaround was to use a subprocess but in fact it never ends because of Paramiko channel recv_exit_status method never released (timeout is not used their => paramiko/paramiko#1787), the root cause seems to be linked to the sysupgrade command that return the exit code after it stops the SSH service. I think that if we don't use a subprocess but rewrite |
After some investigation I can confirm that sysupgrade close ssh before returning the exit code: I tried to replace
And it just suceed |
I'm getting this issue during assigning firmware to a device, running on Debian 11 and installed using the ansible script, using psql 13 as db backend.
This resulted in the firmware upgrade process on OpenWISP being stuck at status
in progress
and never timed out.The text was updated successfully, but these errors were encountered: