Hey,
during the quick installation I get an error after starting the LoRaserver.
I installed everything on a Raspberry Pi 3 with Raspbian Stretch.
When I type journalctl -u loraserver
i get the following errormessage:
time=“2017-11-30T07:50:14+01:00” level=error msg=“backend/gateway: connecting to mqtt broker failed, will retry in 2s: Identifier rejected”
Steps so far:
Mosquitto configuration:
I added users:
sudo mosquitto_passwd /etc/mosquitto/pwd loragw
sudo mosquitto_passwd /etc/mosquitto/pwd loraserver
sudo mosquitto_passwd /etc/mosquitto/pwd loraappserver
With passwords:
mypassword1
for loragw
mypassword2
for loraserver
mypassword3
for loraappserver
PostgreSQL databases and users:
create role loraserver_as with login password ‘dbpassword’;
create role loraserver_ns with login password ‘dbpassword’;
create database loraserver_as with owner loraserver_as;
create database loraserver_ns with owner loraserver_ns;
Installing LoRa Gateway Bridge:
In the configuration file i only set UDP_BIND=0.0.0.0:1700
Installing LoRa Server:
Because I live in the EU i did set BAND=EU_863_870
BIND=localhost:8000
POSTGRES_DSN=postgres://loraserver_ns:dbpassword@localhost/loraserver_ns?sslmode=disable
I did not set GW_MQTT_USERNAME
and GW_MQTT_PASSWORD
GW_SERVER_JWT_SECRET=openssl rand -base64 32
And now after starting the LoRa server and executing the journalctl -u loraserver
command I get the error mentioned above.
I know in the guide it says
Note that you may see errors at this point along the lines of: error message
But my error doesnt look like that at all so I guessed it was not normal.
Can you help me ?
Cheers