I have chirpstack installed on ubuntu. My end devices connect to a mikrotik wAP LR9 gateway. Chirpstack is recieving the packets from the devices but is only intermittenly forwarding the packet to the application server which is running a php file/page. So i will get three events forwarded to the application server, then it will skip one or more packets then it will skip one or more then will be successful. So the application server is configured correctly since it is recieving some packets. It seems that chirpstack is not forwarding packets once recieved. Any ideas on how to track this?
Some more information in case anyone has any ideas. I set up a requestbin bin and added the link to the http integrations. Requestbin gets the hourly posts but the php site (my server) is still getting intermittent packets. So i am guessing it is something to do with the php site. Any ideas what to look for? I can paste the php code if anyone is interested. It basically decodes the json and writes it to a csv file.
requestbin which you are using doesnt seem to consestently capturing incoming requests from chirpstack
Actually, requestbin has been capturing the packets consistently, it has not missed one. The issue seems to be with my php site. For some reason it is not responding to the post from chirpstack is the only thing i can think of. The first line in the php file is a timestamp and it is not even processing that. The web server is IIS and is on the same subnet as the chirpstack server.
The first thing I do in PHP is to copy the json to a file for debugging.
I am doing that also - i write a timestamp to a file, then i append the raw json, then i append decoded json, then i parse the data and write the parsed data to another file. Sometimes the php executes and sometimes it doesn’t. I am not sure how to check if maybe it is erroring out with invalid json input.