IOException while requesting key: Invalid device key response

前端 未结 1 1217
轮回少年
轮回少年 2021-01-11 12:22

I\'m using a Pi 3 with google IOT to operate some relays that control valves on an irrigation system. The system uses the internet to get a weather forecast to work how much

1条回答
  •  不知归路
    2021-01-11 13:03

    Simple. This means that the key on the Google Console that is associated with the IOT service is not matching the one stored locally on your Mac/Pi 3.

    Just run: keytool -list -v -keystore -storepass and copy the key under SHA1 or SHA256 to the Google Console.

    You can create a keystore if none is present by keytool -genkeypair.

    For other useful commands run keytool -h.

    0 讨论(0)
提交回复
热议问题