1

I am working on google iot with raspberry pi 4. After following this tutorial, I succeeded to connect to GCP with mqtt at first time. After that I got an error on connect:

connection refused: bad user name or password.

Is there any solution to this error?

Jofre
  • 3,718
  • 1
  • 23
  • 31
  • Which tutorials were you following? How did you set up your authentication? – Tarmo Jan 20 '21 at 12:18
  • https://cloud.google.com/community/tutorials/cloud-iot-gateways-rpi I am using this as tutorials. – Terry Wai Lun Kung Jan 21 '21 at 06:12
  • Could you share the stack trace of the error? This post might help, [things to triple check](https://stackoverflow.com/a/53889957/11928117). Unfortunately, I don't have the material to follow your tutorial so I can't reproduce it but are you able to do our [Using gateways tutorials](https://cloud.google.com/iot/docs/how-tos/gateways) where you can create a device? – Ksign Feb 03 '21 at 10:04

0 Answers0