Today I did my first installation of the Lora server and the Lora Application Server and the Lora Server Gateway. Apparently everything is running ok. But the web page does not load and in the log files I see this message.
ubuntu lora-app-server [13835]: time = “2017-09-14T22: 12: 01-03: 00” level = error msg = "ping database error, will retry in 2s: dial tcp: address tcp / lora: unknown port "
My installation is done on top of a proxmox virtual server running ubuntu server 16.04.
Follow the tutorials on the page and I have already seen and reviewed the settings and I can not understand why it is not working.
Something important I noticed is that you cant, even accidentally, insert a ‘#’ to any of your postgreSQL password. If you do, in your config files, it will be recognized as an incorrect config file which has all settings commented after the ‘3’. I received this exact error because of it. I spent so much time debugging it and finally realised it. May be this wont solve your issue, but I am stating it in case.
Hi, first of all thanks for the answers.
I have reviewed my password settings and I have a special character as #.
So I logged in to the loraserver settings and inserted the \ before # by getting ******* \ # **** and still has the same connection error to the database.
Honestly I would not want to have a password with no character # because at my view would be a step back in the security issue of the Lora server.
If someone has any light please provide the solution.
Hello everyone. I am new to lora server and I am trying to figure out how it works.After the successfull installation of loraserver and lora-app-server I am struggling to start both of them. It seems that they are not able to read the configuration file in /etc/defaults/ directory. I changed the settings as suggested in the https://docs.loraserver.io/loraserver/overview/ .
the behavior of my LoRa Server & LoRa App Server seems to be not ok according to the log file.
I’m little bit confuse because the status of Servers is active please could you tell me if something is wrong ?
I have only change PostgreSQL dsn in each respective configuration file:
dsn=“postgres://loraserver_ns:heremyreal_ns_dbpassword@Debian03/loraserver?sslmode=disable”
dsn=“postgres://loraserver_as:heremyreal_as_dbpassword@Debian03/loraserver?sslmode=disable”
FYI I am retrieving the same kind of log with journalctl -u loraserver.