Skip to content
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

On piglet join I get a TlsCertificateNotVerified #10

Open
AmmarKothari opened this issue Mar 7, 2025 · 3 comments
Open

On piglet join I get a TlsCertificateNotVerified #10

AmmarKothari opened this issue Mar 7, 2025 · 3 comments

Comments

@AmmarKothari
Copy link

AmmarKothari commented Mar 7, 2025

Hello,

Overall, i am excited to try out Piglet + pigAI. I have been trying to get things running.

I have setup a VM with windows 11 on my ubuntu host using VirtualBox. When i run piglet join --secret i repeatedly get

Failed to connect to control server: TlsCertificateNotVerified
Retrying control connection

Do you know what I might be doing wrong?

Thank you!

@AmmarKothari
Copy link
Author

As a followup, i created an instance on EC2 and saw the same behavior. I feel like i might have missed a setup step, but I am not sure what it is.

@erik-dunteman
Copy link
Contributor

This is a known issue related to the TLS certificates on freshly-created machines (VMs, EC2) where the machines have yet to build up the certs from Well-Known providers.

I don't have a known process to resolve it yet - with enough usage (reboots, OS updates), the machines eventually acquire the right certs.

Will continue to investigate. If you find a workflow that seems to fix it, please share here.

@erik-dunteman
Copy link
Contributor

Update: a few users have hit and overcome this, again always on fresh VMs, and the solution is vaguely "waiting", doing some web browsing, rebooting the VM. Will keep issue open till we have a clear solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants