It looks like the agent was claimed (announced itself to the cloud), but can’t connect. I should have actually understood this from the certificate chain thing. I’m not 100% certain, but can you check Certificate verification error connecting to the cloud to see if it applies?
Then we could look again at if the plugin dies what you expect.