Waziup / WaziGate

Waziup LoRa Edge gateway
21 stars 20 forks source link

MQTT Error EOF after connect #136

Closed j-forster closed 3 years ago

j-forster commented 3 years ago

From the wazigate-edge logs on a new v2.1.3 Wazigate:

[UP   ] Connecting to MQTT as "j.forster" ...
[UP   ] (500) Communication Error
MQTT communication error:
EOF

MQTT seems to break right after the connect. Either the cloud closes the connection unexpectedly, or the error originates in the gateway.

j-forster commented 3 years ago

Testing with mosquitto, no connection can be established:

> mosquitto_sub -L mqtt://name:password@api2.waziup.io/devices/5eafcd6a4b9f612a70ab6d96/tunnel-down/+ -v -d
< Client mosqsub|10192-DESKTOP-L sending CONNECT
< Client mosqsub|10192-DESKTOP-L sending CONNECT

It seems to be a server issue.

cdupont commented 3 years ago

let me look

cdupont commented 3 years ago

It seems that the problem is with authentication. Without auth, it works.

j-forster commented 3 years ago

What can be done to fix this? Are there changes on the permission system that have broken the wazigate-tunnel?

cdupont commented 3 years ago

OK, it should work now. A small problem with MQTT logins. I let you close if fixed.

cdupont commented 3 years ago

I see connected gateways came back on the Cloud dashboard :)