Lora app server not starting


#1

Hello, I installed all the modules and did the configuration as instructed in the guide. I am getting the following in my log and I am not able to access my app server UI when I enter the IP:port in the browser.

LOGS:
– Logs begin at Tue 2018-08-07 12:35:29 UTC, end at Tue 2018-08-07 13:24:16 UTC. –
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10150]: time=“2018-08-07T13:19:55Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10150]: time=“2018-08-07T13:19:55Z” level=info msg=“connecting to postgresql”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10150]: time=“2018-08-07T13:19:55Z” level=info msg=“setup redis connection pool”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10150]: time=“2018-08-07T13:19:55Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10150]: time=“2018-08-07T13:19:55Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10150]: time=“2018-08-07T13:19:55Z” level=info msg=“applying database migrations”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10150]: time=“2018-08-07T13:19:55Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10150]: time=“2018-08-07T13:19:55Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“connecting to postgresql”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“setup redis connection pool”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“applying database migrations”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“migrations applied” count=0
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“starting application-server api” bind="0.0.0.0:800
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=info msg=“starting join-server api” bind=“0.0.0.0:8003” ca_c
Aug 07 13:19:55 ip-172-31-17-21 lora-app-server[10161]: time=“2018-08-07T13:19:55Z” level=fatal msg=“jwt secret must be set for external api”
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:19:55 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“connecting to postgresql”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“setup redis connection pool”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“applying database migrations”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“migrations applied” count=0
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“starting application-server api” bind="0.0.0.0:800
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=info msg=“starting join-server api” bind=“0.0.0.0:8003” ca_c
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10171]: time=“2018-08-07T13:19:56Z” level=fatal msg=“jwt secret must be set for external api”
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“connecting to postgresql”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“setup redis connection pool”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“applying database migrations”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“migrations applied” count=0
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“starting application-server api” bind="0.0.0.0:800
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=info msg=“starting join-server api” bind=“0.0.0.0:8003” ca_c
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10181]: time=“2018-08-07T13:19:56Z” level=fatal msg=“jwt secret must be set for external api”
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“connecting to postgresql”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“setup redis connection pool”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“applying database migrations”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“migrations applied” count=0
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“starting application-server api” bind="0.0.0.0:800
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=info msg=“starting join-server api” bind=“0.0.0.0:8003” ca_c
Aug 07 13:19:56 ip-172-31-17-21 lora-app-server[10191]: time=“2018-08-07T13:19:56Z” level=fatal msg=“jwt secret must be set for external api”
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: lora-app-server.service: Start request repeated too quickly.
Aug 07 13:19:56 ip-172-31-17-21 systemd[1]: Failed to start LoRa App Server.
Aug 07 13:23:54 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:24:14 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“connecting to postgresql”
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“setup redis connection pool”
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“applying database migrations”
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“migrations applied” count=0
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“starting application-server api” bind="0.0.0.0:800
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=info msg=“starting join-server api” bind=“0.0.0.0:8003” ca_c
Aug 07 13:24:14 ip-172-31-17-21 lora-app-server[10257]: time=“2018-08-07T13:24:14Z” level=fatal msg=“jwt secret must be set for external api”
Aug 07 13:24:14 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:24:14 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:24:14 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“connecting to postgresql”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“setup redis connection pool”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“applying database migrations”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“migrations applied” count=0
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“starting application-server api” bind="0.0.0.0:800
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=info msg=“starting join-server api” bind=“0.0.0.0:8003” ca_c
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10267]: time=“2018-08-07T13:24:15Z” level=fatal msg=“jwt secret must be set for external api”
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“connecting to postgresql”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“setup redis connection pool”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“applying database migrations”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“migrations applied” count=0
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“starting application-server api” bind="0.0.0.0:800
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=info msg=“starting join-server api” bind=“0.0.0.0:8003” ca_c
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10277]: time=“2018-08-07T13:24:15Z” level=fatal msg=“jwt secret must be set for external api”
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“connecting to postgresql”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“setup redis connection pool”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“applying database migrations”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“migrations applied” count=0
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“starting application-server api” bind="0.0.0.0:800
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=info msg=“starting join-server api” bind=“0.0.0.0:8003” ca_c
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10287]: time=“2018-08-07T13:24:15Z” level=fatal msg=“jwt secret must be set for external api”
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: Started LoRa App Server.
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“starting LoRa App Server” docs="https://www.lorase
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“connecting to postgresql”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“setup redis connection pool”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: TLS config is empty”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: connecting to mqtt broker” server="t
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“applying database migrations”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: connected to mqtt broker”
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“handler/mqtt: subscribing to tx topic” qos=0 topic
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“migrations applied” count=0
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“starting application-server api” bind="0.0.0.0:800
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=info msg=“starting join-server api” bind=“0.0.0.0:8003” ca_c
Aug 07 13:24:15 ip-172-31-17-21 lora-app-server[10297]: time=“2018-08-07T13:24:15Z” level=fatal msg=“jwt secret must be set for external api”
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Unit entered failed state.
Aug 07 13:24:15 ip-172-31-17-21 systemd[1]: lora-app-server.service: Failed with result ‘exit-code’.
Aug 07 13:24:16 ip-172-31-17-21 systemd[1]: lora-app-server.service: Service hold-off time over, scheduling restart.
Aug 07 13:24:16 ip-172-31-17-21 systemd[1]: Stopped LoRa App Server.
Aug 07 13:24:16 ip-172-31-17-21 systemd[1]: lora-app-server.service: Start request repeated too quickly.
Aug 07 13:24:16 ip-172-31-17-21 systemd[1]: Failed to start LoRa App Server.

Please let me know where I am going wrong.
Both loraserver and app server are on the same server.

Thank you


#2

https://forum.loraserver.io/search?q=jwt%20secret%20must%20be%20set%20for%20external%20api


#3