Background connections when happening quickly causes error

Advertisement

elephantspirit
Joined:
Posts:
2

Background connections when happening quickly causes error

When many background connections are started, errors come up. Usually invalid key, this is all using SFTP.

Can be reproduced by
  1. Have background transfer set above 4, the higher the more likely to trigger the bug. I used 9
  2. Making a folder with 10~ files
  3. Edit them all in a text editor
  4. Save all in editor causing WinSCP to upload them all
  5. Error pop up, clicking OK on all error pop ups gets all uploaded eventually.
I previously made a bug report about this. It's been a bug since after 5.17.
. 2023-12-15 14:29:45.277 [Background 1] Remote version: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4
. 2023-12-15 14:29:45.277 [Background 1] Using SSH protocol version 2
. 2023-12-15 14:29:45.278 [Background 1] Have a known host key of type ssh-ed25519
. 2023-12-15 14:29:45.286 [Background 2] Remote version: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4
. 2023-12-15 14:29:45.286 [Background 2] Using SSH protocol version 2
. 2023-12-15 14:29:45.287 [Background 3] Remote version: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4
. 2023-12-15 14:29:45.287 [Background 3] Using SSH protocol version 2
. 2023-12-15 14:29:45.287 [Background 2] Have a known host key of type ssh-ed25519
. 2023-12-15 14:29:45.288 [Background 3] Have a known host key of type ssh-ed25519
. 2023-12-15 14:29:45.293 [Background 4] Remote version: SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.4
. 2023-12-15 14:29:45.293 [Background 4] Using SSH protocol version 2
. 2023-12-15 14:29:45.293 [Background 4] Have a known host key of type ssh-ed25519
. 2023-12-15 14:29:45.302 [Background 1] Doing NTRU Prime / Curve25519 hybrid key exchange, using hash SHA-512 (unaccelerated)
. 2023-12-15 14:29:45.313 [Background 2] Doing NTRU Prime / Curve25519 hybrid key exchange, using hash SHA-512 (unaccelerated)
. 2023-12-15 14:29:45.321 [Background 3] Doing NTRU Prime / Curve25519 hybrid key exchange, using hash SHA-512 (unaccelerated)
. 2023-12-15 14:29:45.322 [Background 4] Doing NTRU Prime / Curve25519 hybrid key exchange, using hash SHA-512 (unaccelerated)
. 2023-12-15 14:29:45.465 [Background 1] Received invalid elliptic curve point in ECDH reply
. 2023-12-15 14:29:45.465 [Background 1] Attempt to close connection due to fatal exception:
* 2023-12-15 14:29:45.465 [Background 1] Received invalid elliptic curve point in ECDH reply
. 2023-12-15 14:29:45.465 [Background 1] Closing connection.
. 2023-12-15 14:29:45.465 [Background 1] Asking user:
. 2023-12-15 14:29:45.465 [Background 1] Received invalid elliptic curve point in ECDH reply ()
. 2023-12-15 14:29:45.519 [Background 3] Signature from server's host key is invalid
. 2023-12-15 14:29:45.519 [Background 3] Attempt to close connection due to fatal exception:
* 2023-12-15 14:29:45.519 [Background 3] Signature from server's host key is invalid
. 2023-12-15 14:29:45.519 [Background 3] Closing connection.
. 2023-12-15 14:29:45.519 [Background 3] Asking user:
. 2023-12-15 14:29:45.519 [Background 3] Signature from server's host key is invalid ()
. 2023-12-15 14:29:45.529 [Background 2] Signature from server's host key is invalid
. 2023-12-15 14:29:45.529 [Background 2] Attempt to close connection due to fatal exception:
* 2023-12-15 14:29:45.529 [Background 2] Signature from server's host key is invalid
. 2023-12-15 14:29:45.529 [Background 2] Closing connection.
. 2023-12-15 14:29:45.529 [Background 2] Asking user:
. 2023-12-15 14:29:45.529 [Background 2] Signature from server's host key is invalid ()
. 2023-12-15 14:29:45.560 [Background 4] Signature from server's host key is invalid
. 2023-12-15 14:29:45.560 [Background 4] Attempt to close connection due to fatal exception:
* 2023-12-15 14:29:45.560 [Background 4] Signature from server's host key is invalid
. 2023-12-15 14:29:45.561 [Background 4] Closing connection.
. 2023-12-15 14:29:45.561 [Background 4] Asking user:
. 2023-12-15 14:29:45.561 [Background 4] Signature from server's host key is invalid ()
. 2023-12-15 14:29:48.960 [Background 1] Answer: OK

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,330
Location:
Prague, Czechia

Re: Background connections when happening quickly causes error

Thanks for your report.
I see that you have indeed reported this already – and I've responded, but you never came back to me...

Anyway, can you please try to find out what exact version (including beta versions) did introduce the problem?
You can download all past versions of WinSCP from:
https://sourceforge.net/projects/winscp/files/WinSCP/

Reply with quote

Advertisement

You can post new topics in this forum