traderepublic / Cilicon

🛠️ Self-Hosted ephemeral macOS CI on Apple Silicon
MIT License
969 stars 29 forks source link

Migrating from v1.1.0 to v2.0 does lead to NIOConnectionError #25

Closed rubenvde closed 1 year ago

rubenvde commented 1 year ago

I'm trying to convert from v1.1.0 to v2.0 but I wasn't able to because the vm wouldn't start. I changed the yml file vmBundlePath to source, it tries to convert the VM to the new standard so I clicked yes, but then it is not able to connect and I get this error all the time:

Screenshot 2023-06-19 at 14 14 12

I'm running this on a M2 Pro Mac mini. Ventura 13.2.1.

Joannis commented 1 year ago

@Marcocanc I assume this is caused by Citadel calling SwiftNIO. My tip would be to make/expose a human readable error message for these underlying error cases

Marcocanc commented 1 year ago

@rubenvde Have you enabled SSH on the VM and either set the default credentials (admin:admin) or configured your own in the config file? If not you will have to enter editorMode first to make these changes. Sorry, the documentation is not particularly clear on this. I will amend this info soon.

@Joannis I thought I was printing the localizedDescription. Will have a look at what's going on.

Joannis commented 1 year ago

@Marcocanc I don't think it has a localisedDescription representation.

rubenvde commented 1 year ago

@Marcocanc It looks like that resolves the issue. Yeah I had no idea that I had to do that. Please add it in some form of documentation. But thanks for the quick response!