meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:backup:duply:issues [2021/05/27 11:07] – created niziak | linux:backup:duply:issues [2024/01/10 08:50] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Issues ====== | ====== Issues ====== | ||
| + | |||
| + | ===== ValueError: q must be exactly 160, 224, or 256 bits long ===== | ||
| + | |||
| + | Exception raised on client: | ||
| + | < | ||
| + | ssh: Unknown exception: q must be exactly 160, 224, or 256 bits long | ||
| + | ssh: Traceback (most recent call last): | ||
| + | ssh: File "/ | ||
| + | ssh: | ||
| + | ssh: File "/ | ||
| + | ssh: sig = self.private_key.sign_ssh_data(blob) | ||
| + | ssh: File "/ | ||
| + | ssh: key = dsa.DSAPrivateNumbers( | ||
| + | ssh: File "/ | ||
| + | ssh: | ||
| + | ssh: File "/ | ||
| + | ssh: | ||
| + | ssh: File "/ | ||
| + | ssh: | ||
| + | ssh: File "/ | ||
| + | ssh: raise ValueError(" | ||
| + | ssh: ValueError: q must be exactly 160, 224, or 256 bits long | ||
| + | ssh: | ||
| + | BackendException: | ||
| + | |||
| + | </ | ||
| + | |||
| + | Client is Debian 11 (paramiko version 2.7.2) | ||
| + | Remote side was upgraded to Debian 12 (paramiko version 2.12.0) | ||
| + | |||
| + | Upgrading paramiko on client helps: | ||
| + | <code bash> | ||
| + | python3 -m pip install -U paramiko | ||
| + | </ | ||
| + | |||
| + | ===== Invalid packet blocking ===== | ||
| + | |||
| + | < | ||
| + | ssh: Exception: Invalid packet blocking | ||
| + | ssh: Traceback (most recent call last): | ||
| + | ssh: File "/ | ||
| + | ssh: | ||
| + | ssh: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| + | ssh: File "/ | ||
| + | ssh: raise SSHException(" | ||
| + | ssh: paramiko.ssh_exception.SSHException: | ||
| + | ssh: | ||
| + | Attempt of put Nr. 1 failed. EOFError: | ||
| + | Attempt of put Nr. 2 failed. OSError: Socket is closed | ||
| + | Attempt of put Nr. 3 failed. OSError: Socket is closed | ||
| + | Attempt of put Nr. 4 failed. OSError: Socket is closed | ||
| + | Giving up after 5 attempts. OSError: Socket is closed | ||
| + | Attempt of put Nr. 1 failed. OSError: Socket is closed | ||
| + | Attempt of put Nr. 2 failed. OSError: Socket is closed | ||
| + | </ | ||
| + | |||
| + | Not known reason or solution. SSH connection on remote side gently disconnects. | ||
| + | |||
| + | **Workaround: | ||
| + | Bump duplicity version on client side (from 0.8.22 to 1.2.2) | ||
| + | |||
| + | |||
| + | |||
| ===== failed: not a valid RSA private key file ===== | ===== failed: not a valid RSA private key file ===== | ||
| + | < | ||
| --- Start running command BKP at 02: | --- Start running command BKP at 02: | ||
| BackendException: | BackendException: | ||
| 02: | 02: | ||
| --- Finished state FAILED 'code 23' at 02: | --- Finished state FAILED 'code 23' at 02: | ||
| + | </ | ||
| Reason: paramiko doesn' | Reason: paramiko doesn' | ||
| Solution: '' | Solution: '' | ||