Closed yzk0281 closed 8 years ago
If you mean to see the GUI for the Loraserver, try port 3000
@Mehradzie thanks but port 3000 does not work
I want to modify nodes
Should I put the static folder somewhere? I only have a pre-compiled binary file 'loraserver' now~
I am sorry. I have no idea why I thought that is port 3000
. I have it open on front of me on 8000
. Must be getting old :)
I must be dreaming again but from you said above
./loraserver --net-id 010203 --band EU_863_870 --http-bind 0.0.0.0:8000
so you chose your http server to be on 8000, however, the loraserver log shows that it's trying to open port 8001
instead :O
time="2016-07-12T14:30:10+08:00" level=info msg="starting http server" bind="0.0.0.0:8001"
Could you try the the link below to kinda jump to the applications page, in case there is a problem with loading the main page?
<your ip address>:8000/#/applications
blank still
any way to see the http log of loraserver?
quite confused
Could you provide an screenshot?
but when I visit http://ip:8001, I got a blank page(only with a title'LoRa Server'),
just like this
Is loraserver running on a VM? if so, have you given permissions to port 8000
, 8001
or any port that you chose to use to be accessed from outside world? :)
Other than than, I am sorry @yzk0281. I don't have any other ideas in mind. I have never had a problem accessing that page in the past. Let's see what others think about this.
@Mehradzie thank you~ this is a strange problem~
or I got wrong go version? @Mehradzie which version do you use?
Just get the fully compiled loraserver from the releases tab in the loraserver github page and do a testing with that first.
I mean the go version
anyone get any idea? SOS
seems to be the problem of ‘https://ajax.googleapis.com’, can not access in China~ thanks @Mehradzie
Hi @yzk0281, how did you solve this problem please? The link given in your precedent comment does not work anymore.
./loraserver --net-id 010203 --band EU_863_870 --http-bind 0.0.0.0:8000 --postgres-dsn postgres://loraserver:dbpassword@localhost/loraserver?sslmode=disable --redis-url redis://localhost:6479 --db-automigrate I start loraserver with the commend above from the precompiled binary file All things seem work well according to log: time="2016-07-12T14:30:10+08:00" level=info msg="starting LoRa Server" band="EU_863_870" net_id=010203 version=0.8.1 time="2016-07-12T14:30:10+08:00" level=info msg="connecting to postgresql" time="2016-07-12T14:30:10+08:00" level=info msg="setup redis connection pool" time="2016-07-12T14:30:10+08:00" level=info msg="gateway/mqttpubsub: connecting to mqtt broker" server="tcp://localhost:1883" time="2016-07-12T14:30:10+08:00" level=info msg="application/mqttpubsub: connecting to mqtt broker" server="tcp://localhost:1883" time="2016-07-12T14:30:10+08:00" level=info msg="gateway/mqttpubsub: connected to mqtt server" time="2016-07-12T14:30:10+08:00" level=info msg="gateway/mqttpubsub: subscribing to rx topic" topic="gateway/+/rx" time="2016-07-12T14:30:10+08:00" level=info msg="controller/mqttpubsub: connecting to mqtt broker" server="tcp://localhost:1883" time="2016-07-12T14:30:10+08:00" level=info msg="application/mqttpubsub: connected to mqtt server" time="2016-07-12T14:30:10+08:00" level=info msg="application/mqttpubsub: subscribing to tx topic" topic="application/+/node/+/tx" time="2016-07-12T14:30:10+08:00" level=info msg="applying database migrations" time="2016-07-12T14:30:10+08:00" level=info msg="controller/mqttpubsub: connected to mqtt broker" time="2016-07-12T14:30:10+08:00" level=info msg="controller/mqttpubsub: subscribing to tx topic" topic="application/+/node/+/mac/tx" time="2016-07-12T14:30:10+08:00" level=info msg="migrations applied" count=0 time="2016-07-12T14:30:10+08:00" level=info msg="registering json-rpc handler" path="/rpc" time="2016-07-12T14:30:10+08:00" level=info msg="registering gui handler" path="/" time="2016-07-12T14:30:10+08:00" level=info msg="starting http server" bind="0.0.0.0:8001"
but when I visit http://ip:8001, I got a blank page(only with a title'LoRa Server'), anyone has suggestions?