gotthardp / lorawan-server

Compact server for private LoRaWAN networks
https://gotthardp.github.io/lorawan-server
MIT License
956 stars 329 forks source link

Gateway showing disconnected #817

Open Sonia-Hmidi opened 2 years ago

Sonia-Hmidi commented 2 years ago

Hello, i have installed the server on my virtual machine (ubuntu 20.04 release). i am using the LoRa\LoRaWAN Gateway-868MHz with RPi3. i've changed the server ip @ to the VM ip @ in the local_conf.json but my gateway is showing status disconnected.

Sonia-Hmidi commented 2 years ago

Update : when i installed the server on my windows machine the previous problem is solved but another issue appeared. When i send an uplink message an error message ack_lost appears. As shown in the figure bellow, in the frames it shows me the values of SNR, RSSI... but not the actual data. I tried to increase the push_timout_ms value but the issue wasn't solved.Does this mean that the message was lost? and if so how to solve this issue? @gotthardp 277661459_389634212695799_4514642118963925440_n

sn3kyJ3di commented 2 years ago

Is this happening on one sensor or all?

fthiebolt commented 2 years ago

We're facing a similar issue with gateways not belonging to our internal network. Right now, we're using a docker container whose 172.17.0.1 is the docker0 bridge. Even gateways featuring a public IP are told to have 172.17.0.1 as address: when you have only one, it works but if you add a second one (like here), multiple disconnect appeared :| Screenshot_20220429_203714