lorawan-server icon indicating copy to clipboard operation
lorawan-server copied to clipboard

The lorawan-server HTTP output stops when the client is restarted

Open hjojohan opened this issue 4 years ago • 5 comments

Hi I experience trouble at time when my httplistner client needs to be restarted. The lorawan server runs in the background and I can se sensorframes arriving but there is no data pushed out to my httplistner software http://localhost:3100/

Then if a press "save changes" button in the "edit connector" dialog the sensordata arrives in my httpclient and runs fine until next time i need to do a restart of the client.

Seems like the lorawan server gives up trying to send data over HTTP if the client software is not running for a while. It makes a autostart scenario difficult to achive

Is there anyone out there that have a solution for this behaviour ? thanks in advance :-)

hjojohan avatar Aug 09 '19 07:08 hjojohan

Hello. Two questions first:

  • I suppose there is no Failed flag in your connector, right?
  • Are there some errors and/or warnings in the log regarding to this?

gotthardp avatar Aug 09 '19 08:08 gotthardp

The Lorawan server shows 'connecting' flag, but it never reconnects and my application dont recieve data unless I manually press "save changes" button, then the data is flowing again.

My http client starts, opens the reciving port and wait for json data to arrive from the lorawan server connecting normal

hjojohan avatar Aug 09 '19 10:08 hjojohan

Where can i find the log file and what is the filename ?

hjojohan avatar Aug 09 '19 10:08 hjojohan

Depending on your installation the server logs are stored in /var/log/lorawan-server, /var/lib/lorawan-server/log or just lorawan-server/log. By default three log files are provided: debug.log, error.log and crash.log.

gotthardp avatar Aug 09 '19 11:08 gotthardp

Hello @hjojohan ,

Did u resolve the issue as I m also facing the same problem?

if yes, could you please share snapshots of the Connector and handler tab?

Data is arriving on the Lorawan server, but there is no data pushed out to my HTTP listener software.

saini-jitendra avatar Sep 13 '21 06:09 saini-jitendra