JSON issues in web view

I just upgraded my site with an RPi3 and ProStick built with the new 2.1-5 FA build, and also loaded the adsbreceiver.net portal on it. I’m running into some errors currently that are vexing. First one:

  • Constantly getting JSON errors in the Mutability web interface via lighttpd. See this screen recording video: https://youtu.be/sjMZH77m1Iw
    Is it related to Lighttpd dropping the connection, or to the symlink from /var/www/html/data to /run/dump1090-mutability, or something else?

Also, having trouble with one of the stats graphs (the Signal graph). Collectd isn’t creating rrd files for dbfs-noise, causing make-graphs to fail. Any ideas there?

Happy so far with the ProStick. Seeing max range out to 190NM off of a Cantenna with FA Filter and LMR240, where previously I only saw 150NM w Cantenna+FA Filter+F Coax to MCX

Thanks!

This is what I am used to seeing dump1090-mutability looking like particularly the column to the right.

https://www.swiftbyte.com/misc/dump1090-mutability-corner.png

Yours looks like a modified version of the dump1090-mutability web interface not the one used by Obj’s dump1090-mutability this being said I honestly wouldn’t know where to start troubleshooting your JSON problem being I have no experience with the fork you are using or any modifications whach may or may not have been made. Anyways it looks like your browser is receiving malformed and intermittent JSON data from dump1090. Maybe a resource or networking problem between your browser and the device? What does your systems CPU and memory load look like?

As for the graph being this appears to not be Obj’s version of dump1090-mutability which would have been installed using my scripts I am guessing the reason you are not receiving signal data is due to the fact a startup attribute needed by the dump1090-tools collectd plugin to gather signal data is not in place. In the file “/etc/init.d/dump1090-mutability” you need to add "–measure-noise " to the startup arguments stored in the line starting with “ARG=”.

jprochazka - I’m using lignumaqua’s dump1090 mods on top of the adsbreceiver.net scripts, installed on top of the FA 2.1-5 image. I’m experiencing the problem from multiple machines. As far as system resources, CPU never exceeds 25% and Memory’s about 300MB used. 3G out of 16GB used on the MicroSD card. Bandwidth (Pi is connected with ethernet) is about 4-5kb/s.

I experience the same problem with Chrome and Safari, and also for some reason I can’t properly access this new system remotely ( http://radar.isler.nyc ). The portal loads, and the map loads but without data. Perhaps this issue’s intertwined with my original problem.

Thanks for the tip on the signal data! I added the ARG and it’s now rendering that graph properly.

I recently had a similar problem. I solved my issue by installing a more recent copy of dump1090-mutability. Since you recently updated your system, I’m not sure if it will fix yours. I got the idea starting with…
http://discussions.flightaware.com/post190201.html#p190201
thru here…
http://discussions.flightaware.com/post190318.html#p190318

Note that if you want to keep your lignumaqua mods, you need to copy the /usr/share/dump1090-mutability/html/ js, css, and html files somewhere and then replace/merge them back. I suggest you let a clean install of dump1090-mutability load the stock set of files and see if you again have data. If so you’re likely on the correct path to resolving and can merge the lignumaqua files back in.