SDK no longer builds. == 4.5.0.18 key exchange

REPRODUCIBILITY: 100%
OS VERSION: 4.5.0.19
HARDWARE: xperia 10iii, volaphone
UI LANGUAGE: en_US
REGRESSION: yes

DESCRIPTION:

Error connecting to the build engine: SSH connection failure.
kex_exchange_identification: Connection closed by remote host
Connection closed by 127.0.0.1 port 2222

Error running command on the build engine:

PRECONDITIONS:

STEPS TO REPRODUCE:

  1. update to latest sdk, build
  2. clean project
  3. build, fail with above message

EXPECTED RESULT:

build project.

ACTUAL RESULT:

Error running command on the build engine:

MODIFICATIONS:

ADDITIONAL INFORMATION:

testing in the sdk settings, it’s the mersdk@127.0.0.1 connection that fails. the vmshare private keys are new, maybe residual config?

mersdk@127.0.0.1: Permission denied (publickey).

ummm.

What operating system are you using? Are you using Docker or VirtualBox based build engine? Are you sure that the build engine is actually running?

Ubuntu 22/jammy virtualbox. And, of course, the engine is running. I always start it by hand before the IDE. I looked at the authorized key for mersdk … is it possible it didn’t get set correctly in the virtual image? If so, is that editable?

It was because ssh required a confirmation before connecting:

$ ssh -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/sdk mersdk@localhost
The authenticity of host '[localhost]:2222 ([127.0.0.1]:2222)' can't be established.
ED25519 key fingerprint is SHA256:M0/8Gxj2TSEihduJj/FtNHlYzLEsRX4hLVp2T010M2U.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes

Warning: Permanently added '[localhost]:2222' (ED25519) to the list of known hosts.
Last login: Fri Feb 17 10:01:42 2023 from 10.0.2.2
,---
| Sailfish OS 4.5.0.18 (Struven ketju)
'---

Doing it by hand/cli solved the issue.

Sigh, so now it compiles but it’s not gotten faster. I’ve been waiting 30 minutes for this compile to finish. It’s a big one, but yesterday, clean compile was done in 10 minutes. (cmake on the machine with same code, 2 minutes). argh.
EDIT: Over 40 minutes. this is fugged. wtf.