Accessing the lora-app-server


#1

Hello,

I am download and intsall the three servers loraserver, lora-app-server and lora-gateway-server on three different folders on desktop and create three configuration files for each, then completing the all required configurations. after that I am open the terminal and access the lora-app-server directory by typing cd Desktop/lora-app-server then type lora-app-server the result as below without any error:

INFO[0000] starting LoRa App Server docs=“https://www.loraserver.io/” version=2.4.0
INFO[0000] connecting to postgresql
INFO[0000] setup redis connection pool
INFO[0000] handler/mqtt: TLS config is empty
INFO[0000] handler/mqtt: connecting to mqtt broker server=“tcp://localhost:1883”
INFO[0000] applying database migrations
INFO[0000] handler/mqtt: connected to mqtt broker
INFO[0000] handler/mqtt: subscribing to tx topic qos=0 topic=application/+/device/+/tx
INFO[0000] migrations applied count=0
INFO[0000] starting application-server api bind=“0.0.0.0:8001” ca-cert= tls-cert= tls-key=
INFO[0000] starting join-server api bind=“0.0.0.0:8003” ca_cert= tls_cert= tls_key=
INFO[0000] starting client api server bind=“0.0.0.0:8080” tls-cert= tls-key=
INFO[0000] registering rest api handler and documentation endpoint path=/api

But When I used this command journalctl -u lora-app-server -f -n 50 the below error appear:

`Dec 30 12:49:06 mohammad16 lora-app-server[1717]: time="2018-12-30T12:49:06-05:00" level=error msg="ping database error, will retry in 2s: pq: password authentication failed for user \"appserver\""`

my first question, Whats the different between two commands and is there really any error in my configuration? Note: The web UI works normally on the browser
my second question, why this line below not appear on terminal when runing this server
msg="connecting to network-server api" ca-cert= server="127.0.0.1:8000" tls-cert= tls-key=

Where I am creating a network server on web UI with localhost:8000
How can make sure loraserver connected to lora-app-server?

Please help me… and think you