i fallowed this tutorial
https://github.com/ARM-software/Cloud-IoT-Core-Kit-Examples/blob/master/readme.md to connect my Pi to google cloud iot core, but when i tried to add repository with this command
sudo gcloud components repositories add https://storage.googleapis.com/cloud-iot-gcloud/components-2.json
i got this massage : ERROR: (gcloud.components.repositories.add) Account [tiosahelal@gmail.com] does not have permission to install this component.
but when i skipped that part of the tutorial, i can make new devices in google cloud iot, but when i test it with this tutorial https://github.com/ARM-software/Cloud-IoT-Core-Kit-Examples/tree/master/CPUTemp
i got :
('on_connect', '5: The connection was refused.')
('on_disconnect', '5: The connection was refused.')