chirpstack / chirpstack-gateway-bridge

ChirpStack Gateway Bridge abstracts Packet Forwarder protocols into Protobuf or JSON over MQTT.
https://www.chirpstack.io
MIT License
415 stars 269 forks source link

Gateway bridge will suddenly not authenticate with Google Core IOT. #205

Open giimsland opened 2 years ago

giimsland commented 2 years ago

What happened?

  1. After a power outage, the gateway will not connect to Google Core IOT anymore. It fails with "Connection Refused: Username or Password in unknown format"

What did you expect?

Successful authentication

Steps to reproduce this issue

Steps:

  1. Configure gateway bridge according to https://www.chirpstack.io/gateway-bridge/integrate/gcp-cloud-iot-core/

Could you share your log output?

mtcdt:/var/config/chirpstack-gateway-bridge$ sudo /opt/chirpstack-gateway-bridge/chirpstack-gateway-bridge -c /var/config/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml INFO[0000] starting ChirpStack Gateway Bridge docs="https://www.chirpstack.io/gateway-bridge/" version=3.13.1 INFO[0000] backend/semtechudp: starting gateway udp listener addr="0.0.0.0:1700" DEBU[0000] backend/semtechudp: cleanup gateway registry DEBU[0003] [client] Connect() module=mqtt DEBU[0003] [store] memorystore initialized module=mqtt DEBU[0003] [client] about to write new connect msg module=mqtt DEBU[0008] [client] socket connected to broker module=mqtt DEBU[0008] [client] Using MQTT 3.1.1 protocol module=mqtt DEBU[0008] [net] connect started module=mqtt DEBU[0008] [net] received connack module=mqtt ERRO[0008] [client] Connecting to ssl://mqtt.googleapis.com:8883 CONNACK was not CONN_ACCEPTED, but rather Connection Refused: Username or Password in unknown format module=mqtt ERRO[0008] [client] Failed to connect to a broker module=mqtt

Your Environment

Component Version
Gateway Bridge v3.13.1