FlightAware Discussions

Dump978 connection closed

hello.

Periodically, dump978 has problems.

978mhz dongle : FlightAware Pro Stick (30cm usb extension cable)
Raspberry pi 4(3A power supply)

ADS-B and UAT are in operation together.
1090mhz dongle : FlightAware Pro Stick Plus (30cm usb extension cable)
The dump1090-fa has no problem.

If the following log occurs, you must restart the dump978-fa or reconnect the dongle, but this problem also occurs again.

pi@raspberrypi:~ $ sudo systemctl status dump978-fa
● dump978-fa.service - dump978 ADS-B UAT receiver
Loaded: loaded (/lib/systemd/system/dump978-fa.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-09-13 18:56:37 KST; 2h 46min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 19383 (dump978-fa)
Tasks: 4 (limit: 4915)
CGroup: /system.slice/dump978-fa.service
└─19383 /usr/bin/dump978-fa --sdr driver=rtlsdr,serial=00000978 --format CS8 --raw-port 30978 --json-port 30979

9월 13 19:19:15 raspberrypi dump978-fa[19383]: [::]:30978: accepted a connection from [::1]:41264
9월 13 19:19:16 raspberrypi dump978-fa[19383]: [::1]:41264: connection closed
9월 13 19:19:16 raspberrypi dump978-fa[19383]: [::]:30978: accepted a connection from [::1]:41268
9월 13 19:19:17 raspberrypi dump978-fa[19383]: [::1]:41268: connection closed
9월 13 19:19:17 raspberrypi dump978-fa[19383]: [::]:30978: accepted a connection from [::1]:41270
9월 13 19:19:17 raspberrypi dump978-fa[19383]: [::1]:41270: connection closed
9월 13 19:19:17 raspberrypi dump978-fa[19383]: [::]:30978: accepted a connection from [::1]:41272
9월 13 19:19:18 raspberrypi dump978-fa[19383]: [::1]:41272: connection closed
9월 13 19:19:18 raspberrypi dump978-fa[19383]: [::]:30978: accepted a connection from [::1]:41276
9월 13 19:19:19 raspberrypi dump978-fa[19383]: [::1]:41276: connection closed

Well, that’s telling you that there’s some other local process connecting to dump978-fa to receive data, then immediately disconnecting. What’s that other process?

1 Like

After the connection closed message, an error occurs on the Web Interface as shown below.

Problem fetching data from dump978.
AJAX call failed (error: Not Found). Maybe dump978 is no longer running?
The displayed map data will be out of date

What does syslog say?

I guess that the skyaware978 process is restarting for some reason. Looking in /var/log/syslog, and the output of systemctl status skyaware978 and journalctl -u skyaware978, should tell you something about why that is happening.

(I’d also note that UAT is only really used in the US, I doubt you are seeing any real UAT signals at your location)

Found Under-voltage problem in syslog,

Under-voltage detected! (0x00050005)
Voltage normalised (0x00000000000000)

im using the original Power Supply:(

(i found out this time that UAT Positions can be received even in S.Korea)
uat

syslog
Sep 17 11:08:40 raspberrypi kernel: [ 4226.523846] usb 1-1.4: USB disconnect, device number 4
Sep 17 11:08:40 raspberrypi dump978-fa[1644]: cb transfer status: 1, canceling…
Sep 17 11:08:40 raspberrypi dump1090-fa[491]: cb transfer status: 5, canceling…
Sep 17 11:08:40 raspberrypi dump1090-fa[491]: rtlsdr: rtlsdr_read_async returned unexpectedly, probably lost the USB device, bailing out
Sep 17 11:08:40 raspberrypi dump1090-fa[491]: Thu Sep 17 11:08:40 2020 KST Waiting for receive thread termination
Sep 17 11:08:40 raspberrypi dump1090-fa[491]: Thu Sep 17 11:08:40 2020 KST Abnormal exit.
Sep 17 11:08:40 raspberrypi systemd[1]: dump1090-fa.service: Main process exited, code=exited, status=1/FAILURE
Sep 17 11:08:40 raspberrypi systemd[1]: dump1090-fa.service: Failed with result ‘exit-code’.
Sep 17 11:08:40 raspberrypi kernel: [ 4226.882610] usb 1-1.4: new high-speed USB device number 6 using xhci_hcd
Sep 17 11:08:40 raspberrypi kernel: [ 4227.024479] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=2832, bcdDevice= 1.00
Sep 17 11:08:40 raspberrypi kernel: [ 4227.024498] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 17 11:08:40 raspberrypi kernel: [ 4227.024514] usb 1-1.4: Product: RTL2832U
Sep 17 11:08:40 raspberrypi kernel: [ 4227.024529] usb 1-1.4: Manufacturer: Realtek
Sep 17 11:08:40 raspberrypi kernel: [ 4227.024544] usb 1-1.4: SerialNumber: 00001090
Sep 17 11:08:40 raspberrypi kernel: [ 4227.034154] usb 1-1.2: USB disconnect, device number 3
Sep 17 11:08:40 raspberrypi mtp-probe: checking bus 1, device 6: “/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4”
Sep 17 11:08:40 raspberrypi mtp-probe: bus: 1, device: 6 was not an MTP device
Sep 17 11:08:40 raspberrypi mtp-probe: checking bus 1, device 6: “/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4”
Sep 17 11:08:40 raspberrypi mtp-probe: bus: 1, device: 6 was not an MTP device
Sep 17 11:08:40 raspberrypi kernel: [ 4227.332608] usb 1-1.2: new high-speed USB device number 7 using xhci_hcd
Sep 17 11:08:40 raspberrypi kernel: [ 4227.474386] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=2832, bcdDevice= 1.00
Sep 17 11:08:40 raspberrypi kernel: [ 4227.474405] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 17 11:08:40 raspberrypi kernel: [ 4227.474421] usb 1-1.2: Product: RTL2832U
Sep 17 11:08:40 raspberrypi kernel: [ 4227.474436] usb 1-1.2: Manufacturer: Realtek
Sep 17 11:08:40 raspberrypi kernel: [ 4227.474450] usb 1-1.2: SerialNumber: 00000978
Sep 17 11:08:41 raspberrypi mtp-probe: checking bus 1, device 7: “/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2”
Sep 17 11:08:41 raspberrypi mtp-probe: bus: 1, device: 7 was not an MTP device
Sep 17 11:08:41 raspberrypi mtp-probe: checking bus 1, device 7: “/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2”
Sep 17 11:08:41 raspberrypi mtp-probe: bus: 1, device: 7 was not an MTP device
Sep 17 11:08:41 raspberrypi kernel: [ 4227.992725] Under-voltage detected! (0x00050005)
Sep 17 11:08:45 raspberrypi dump978-fa[1644]: Message source reports error: TIMEOUT
Sep 17 11:08:45 raspberrypi dump978-fa[1644]: Abnormal exit
Sep 17 11:08:45 raspberrypi skyaware978[497]: Connection failed: End of file
Sep 17 11:08:45 raspberrypi systemd[1]: dump978-fa.service: Main process exited, code=exited, status=1/FAILURE
Sep 17 11:08:45 raspberrypi systemd[1]: dump978-fa.service: Failed with result ‘exit-code’.
Sep 17 11:08:45 raspberrypi kernel: [ 4232.152696] Voltage normalised (0x00000000)

pi@raspberrypi:~ $ journalctl -u skyaware978
– Logs begin at Thu 2020-09-17 13:33:30 KST, end at Thu 2020-09-17 17:12:32 KST. –
9월 17 13:33:34 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 13:33:35 raspberrypi skyaware978[486]: Connecting to localhost:30978
9월 17 13:33:35 raspberrypi skyaware978[486]: Connected to [::1]:30978
9월 17 13:37:34 raspberrypi skyaware978[486]: Connection failed: End of file
9월 17 13:38:04 raspberrypi skyaware978[486]: Connecting to localhost:30978
9월 17 13:38:04 raspberrypi skyaware978[486]: connection to [::1]:30978 failed: Connection refused
9월 17 13:38:04 raspberrypi skyaware978[486]: connection to 127.0.0.1:30978 failed: Connection refused
9월 17 13:38:04 raspberrypi skyaware978[486]: Connection failed: Connection refused
9월 17 13:38:34 raspberrypi skyaware978[486]: Connecting to localhost:30978
9월 17 13:38:34 raspberrypi skyaware978[486]: Connected to [::1]:30978
9월 17 15:58:49 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
9월 17 15:58:49 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
9월 17 15:58:49 raspberrypi systemd[1]: skyaware978.service: Succeeded.
9월 17 15:58:49 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
9월 17 15:58:49 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 15:58:49 raspberrypi skyaware978[2435]: Connecting to localhost:30978
9월 17 15:58:49 raspberrypi skyaware978[2435]: Connected to [::1]:30978
9월 17 15:58:50 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
9월 17 15:58:50 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
9월 17 15:58:50 raspberrypi systemd[1]: skyaware978.service: Succeeded.
9월 17 15:58:50 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
9월 17 15:58:50 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 15:58:50 raspberrypi skyaware978[2487]: Connecting to localhost:30978
9월 17 15:58:50 raspberrypi skyaware978[2487]: Connected to [::1]:30978
9월 17 15:58:57 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
9월 17 15:58:57 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
9월 17 15:58:57 raspberrypi systemd[1]: skyaware978.service: Succeeded.
9월 17 15:58:57 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
9월 17 15:58:57 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 15:58:57 raspberrypi skyaware978[2551]: Connecting to localhost:30978
9월 17 15:58:57 raspberrypi skyaware978[2551]: Connected to [::1]:30978
9월 17 15:58:58 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
9월 17 15:58:58 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
9월 17 15:58:58 raspberrypi systemd[1]: skyaware978.service: Succeeded.
9월 17 15:58:58 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
9월 17 15:58:58 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 15:58:58 raspberrypi skyaware978[2601]: Connecting to localhost:30978
9월 17 15:58:58 raspberrypi skyaware978[2601]: Connected to [::1]:30978
9월 17 15:58:58 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
9월 17 15:58:58 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
9월 17 15:58:58 raspberrypi systemd[1]: skyaware978.service: Succeeded.
9월 17 15:58:58 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
9월 17 15:58:58 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 15:58:58 raspberrypi skyaware978[2646]: Connecting to localhost:30978
9월 17 15:58:58 raspberrypi skyaware978[2646]: Connected to [::1]:30978
9월 17 15:58:59 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
9월 17 15:58:59 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
9월 17 15:58:59 raspberrypi systemd[1]: skyaware978.service: Succeeded.
9월 17 15:58:59 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
9월 17 15:58:59 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 15:58:59 raspberrypi skyaware978[2690]: Connecting to localhost:30978
9월 17 15:58:59 raspberrypi skyaware978[2690]: Connected to [::1]:30978
9월 17 15:59:14 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
9월 17 15:59:14 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
9월 17 15:59:14 raspberrypi systemd[1]: skyaware978.service: Succeeded.
9월 17 15:59:14 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
9월 17 15:59:14 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 15:59:14 raspberrypi skyaware978[2742]: Connecting to localhost:30978
9월 17 15:59:14 raspberrypi skyaware978[2742]: Connected to [::1]:30978
9월 17 15:59:15 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
9월 17 15:59:15 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
9월 17 15:59:15 raspberrypi systemd[1]: skyaware978.service: Succeeded.
9월 17 15:59:15 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
9월 17 15:59:15 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 15:59:15 raspberrypi skyaware978[2794]: Connecting to localhost:30978
9월 17 15:59:15 raspberrypi skyaware978[2794]: Connected to [::1]:30978

pi@raspberrypi:~ $ systemctl status skyaware978
● skyaware978.service - skyaware978 ADS-B UAT web display
Loaded: loaded (/lib/systemd/system/skyaware978.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Thu 2020-09-17 17:00:13 KST; 12min ago
Docs: https://flightaware.com/adsb/piaware/
Process: 6936 ExecStart=/usr/share/skyaware978/start-skyaware978 --json-dir /run/skyaware978 (code=killed, signal=TERM)
Main PID: 6936 (code=killed, signal=TERM)

9월 17 17:00:12 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
9월 17 17:00:12 raspberrypi skyaware978[6936]: Connecting to localhost:30978
9월 17 17:00:12 raspberrypi skyaware978[6936]: Connected to [::1]:30978
9월 17 17:00:13 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
9월 17 17:00:13 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
9월 17 17:00:13 raspberrypi systemd[1]: skyaware978.service: Succeeded.
9월 17 17:00:13 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
9월 17 17:00:13 raspberrypi systemd[1]: skyaware978.service: Start request repeated too quickly.
9월 17 17:00:13 raspberrypi systemd[1]: skyaware978.service: Failed with result ‘start-limit-hit’.
9월 17 17:00:13 raspberrypi systemd[1]: Failed to start skyaware978 ADS-B UAT web display.

add new syslog

Sep 17 17:00:10 raspberrypi dump1090-fa[6498]: Thu Sep 17 17:00:10 2020 KST Caught SIGTERM, shutting down…
Sep 17 17:00:10 raspberrypi systemd[1]: Stopping dump1090 ADS-B receiver (FlightAware customization)…
Sep 17 17:00:10 raspberrypi dump1090-fa[6498]: Thu Sep 17 17:00:10 2020 KST Waiting for receive thread termination
Sep 17 17:00:10 raspberrypi dump978-fa[6599]: [::1]:36454: connection closed
Sep 17 17:00:10 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
Sep 17 17:00:10 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
Sep 17 17:00:10 raspberrypi systemd[1]: skyaware978.service: Succeeded.
Sep 17 17:00:10 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
Sep 17 17:00:10 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
Sep 17 17:00:10 raspberrypi skyaware978[6743]: Connecting to localhost:30978
Sep 17 17:00:10 raspberrypi dump978-fa[6599]: [::]:30978: accepted a connection from [::1]:36760
Sep 17 17:00:10 raspberrypi skyaware978[6743]: Connected to [::1]:30978
Sep 17 17:00:11 raspberrypi dump1090-fa[6498]: Thu Sep 17 17:00:11 2020 KST Normal exit.
Sep 17 17:00:11 raspberrypi systemd[1]: dump1090-fa.service: Succeeded.
Sep 17 17:00:11 raspberrypi systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
Sep 17 17:00:11 raspberrypi systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Sep 17 17:00:11 raspberrypi dump1090-fa[6775]: Thu Sep 17 17:00:11 2020 KST dump1090-fa 3.8.1 starting up.
Sep 17 17:00:11 raspberrypi dump1090-fa[6775]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Sep 17 17:00:11 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
Sep 17 17:00:11 raspberrypi dump978-fa[6599]: [::1]:36760: connection closed
Sep 17 17:00:11 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
Sep 17 17:00:11 raspberrypi systemd[1]: skyaware978.service: Succeeded.
Sep 17 17:00:11 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
Sep 17 17:00:11 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
Sep 17 17:00:11 raspberrypi skyaware978[6795]: Connecting to localhost:30978
Sep 17 17:00:11 raspberrypi skyaware978[6795]: Connected to [::1]:30978
Sep 17 17:00:11 raspberrypi dump978-fa[6599]: [::]:30978: accepted a connection from [::1]:36764
Sep 17 17:00:11 raspberrypi dump1090-fa[6775]: Found Rafael Micro R820T tuner
Sep 17 17:00:11 raspberrypi dump1090-fa[6775]: Thu Sep 17 17:00:11 2020 KST Caught SIGTERM, shutting down…
Sep 17 17:00:11 raspberrypi systemd[1]: Stopping dump1090 ADS-B receiver (FlightAware customization)…
Sep 17 17:00:11 raspberrypi dump1090-fa[6775]: rtlsdr: enabling tuner AGC
Sep 17 17:00:11 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
Sep 17 17:00:11 raspberrypi dump978-fa[6599]: [::1]:36764: connection closed
Sep 17 17:00:11 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
Sep 17 17:00:11 raspberrypi systemd[1]: skyaware978.service: Succeeded.
Sep 17 17:00:11 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
Sep 17 17:00:11 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
Sep 17 17:00:11 raspberrypi skyaware978[6847]: Connecting to localhost:30978
Sep 17 17:00:11 raspberrypi skyaware978[6847]: Connected to [::1]:30978
Sep 17 17:00:11 raspberrypi dump978-fa[6599]: [::]:30978: accepted a connection from [::1]:36766
Sep 17 17:00:12 raspberrypi dump1090-fa[6775]: Allocating 4 zero-copy buffers
Sep 17 17:00:12 raspberrypi dump1090-fa[6775]: Thu Sep 17 17:00:12 2020 KST Waiting for receive thread termination
Sep 17 17:00:12 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
Sep 17 17:00:12 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
Sep 17 17:00:12 raspberrypi dump978-fa[6599]: [::1]:36766: connection closed
Sep 17 17:00:12 raspberrypi systemd[1]: skyaware978.service: Succeeded.
Sep 17 17:00:12 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
Sep 17 17:00:12 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
Sep 17 17:00:12 raspberrypi skyaware978[6893]: Connecting to localhost:30978
Sep 17 17:00:12 raspberrypi skyaware978[6893]: Connected to [::1]:30978
Sep 17 17:00:12 raspberrypi dump978-fa[6599]: [::]:30978: accepted a connection from [::1]:36768
Sep 17 17:00:12 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
Sep 17 17:00:12 raspberrypi dump978-fa[6599]: [::1]:36768: connection closed
Sep 17 17:00:12 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
Sep 17 17:00:12 raspberrypi systemd[1]: skyaware978.service: Succeeded.
Sep 17 17:00:12 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
Sep 17 17:00:12 raspberrypi systemd[1]: Started skyaware978 ADS-B UAT web display.
Sep 17 17:00:12 raspberrypi skyaware978[6936]: Connecting to localhost:30978
Sep 17 17:00:12 raspberrypi skyaware978[6936]: Connected to [::1]:30978
Sep 17 17:00:12 raspberrypi dump978-fa[6599]: [::]:30978: accepted a connection from [::1]:36770
Sep 17 17:00:13 raspberrypi dump1090-fa[6775]: Thu Sep 17 17:00:13 2020 KST Normal exit.
Sep 17 17:00:13 raspberrypi systemd[1]: dump1090-fa.service: Succeeded.
Sep 17 17:00:13 raspberrypi systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
Sep 17 17:00:13 raspberrypi systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Sep 17 17:00:13 raspberrypi dump1090-fa[6955]: Thu Sep 17 17:00:13 2020 KST dump1090-fa 3.8.1 starting up.
Sep 17 17:00:13 raspberrypi dump1090-fa[6955]: Thu Sep 17 17:00:13 2020 KST Caught SIGTERM, shutting down…
Sep 17 17:00:13 raspberrypi systemd[1]: Stopping dump1090 ADS-B receiver (FlightAware customization)…
Sep 17 17:00:13 raspberrypi dump1090-fa[6955]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Sep 17 17:00:13 raspberrypi systemd[1]: Stopping skyaware978 ADS-B UAT web display…
Sep 17 17:00:13 raspberrypi dump978-fa[6599]: [::1]:36770: connection closed
Sep 17 17:00:13 raspberrypi systemd[1]: skyaware978.service: Main process exited, code=killed, status=15/TERM
Sep 17 17:00:13 raspberrypi systemd[1]: skyaware978.service: Succeeded.
Sep 17 17:00:13 raspberrypi systemd[1]: Stopped skyaware978 ADS-B UAT web display.
Sep 17 17:00:13 raspberrypi systemd[1]: skyaware978.service: Start request repeated too quickly.
Sep 17 17:00:13 raspberrypi systemd[1]: skyaware978.service: Failed with result ‘start-limit-hit’.
Sep 17 17:00:13 raspberrypi systemd[1]: Failed to start skyaware978 ADS-B UAT web display.
Sep 17 17:00:13 raspberrypi dump1090-fa[6955]: Found Rafael Micro R820T tuner
Sep 17 17:00:13 raspberrypi dump1090-fa[6955]: rtlsdr: enabling tuner AGC
Sep 17 17:00:13 raspberrypi dump1090-fa[6955]: Thu Sep 17 17:00:13 2020 KST Waiting for receive thread termination
Sep 17 17:00:13 raspberrypi dump1090-fa[6955]: Allocating 4 zero-copy buffers
Sep 17 17:00:14 raspberrypi dump1090-fa[6955]: Thu Sep 17 17:00:14 2020 KST Normal exit.
Sep 17 17:00:14 raspberrypi systemd[1]: dump1090-fa.service: Succeeded.
Sep 17 17:00:14 raspberrypi systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
Sep 17 17:00:15 raspberrypi systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Sep 17 17:00:15 raspberrypi dump1090-fa[7118]: Thu Sep 17 17:00:15 2020 KST dump1090-fa 3.8.1 starting up.
Sep 17 17:00:15 raspberrypi dump1090-fa[7118]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Sep 17 17:00:15 raspberrypi dump1090-fa[7118]: Thu Sep 17 17:00:15 2020 KST Caught SIGTERM, shutting down…
Sep 17 17:00:15 raspberrypi systemd[1]: Stopping dump1090 ADS-B receiver (FlightAware customization)…
Sep 17 17:00:15 raspberrypi dump1090-fa[7118]: Found Rafael Micro R820T tuner
Sep 17 17:00:15 raspberrypi dump1090-fa[7118]: rtlsdr: enabling tuner AGC
Sep 17 17:00:15 raspberrypi dump1090-fa[7118]: Thu Sep 17 17:00:15 2020 KST Waiting for receive thread termination
Sep 17 17:00:15 raspberrypi dump1090-fa[7118]: Allocating 4 zero-copy buffers
Sep 17 17:00:16 raspberrypi dump1090-fa[7118]: Thu Sep 17 17:00:16 2020 KST Normal exit.
Sep 17 17:00:16 raspberrypi systemd[1]: dump1090-fa.service: Succeeded.
Sep 17 17:00:16 raspberrypi systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
Sep 17 17:00:16 raspberrypi systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Sep 17 17:00:16 raspberrypi dump1090-fa[7253]: Thu Sep 17 17:00:16 2020 KST dump1090-fa 3.8.1 starting up.
Sep 17 17:00:16 raspberrypi dump1090-fa[7253]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832U, SN 00001090)
Sep 17 17:00:17 raspberrypi dump1090-fa[7253]: Found Rafael Micro R820T tuner
Sep 17 17:00:17 raspberrypi dump1090-fa[7253]: rtlsdr: enabling tuner AGC
Sep 17 17:00:17 raspberrypi dump1090-fa[7253]: Allocating 4 zero-copy buffers

Yeah, that’s a problem (and the likely cause of dump1090/dump978 losing the USB devices seen in the logs you provided).

They are probably not real data. dump978 will pick up a low rate of bad messages just from noise.

edit: Here is an example of a message logged by your UAT receiver:

addrtype	adsb_icao
airGround	A+
alt			39125
clock		1600331733
hexid		E8E114
position	{-39.45032 46.98522 8 186}
speed		3090
track		329.3
vrate_geom	2880

This is basically garbage data (e.g. the position is far offshore in the Indian Ocean), it’ll just be noise being misinterpreted as a UAT message.

Hmm, I don’t understand why it is continuously restarting like this. What does /var/log/piaware.log look like? Do you have anything else installed that might want to restart dump978/skyaware978?

edit: looking at the piaware log messages forwarded to the FA servers, it looks like your GPS module is reporting a large change in position, which causes skyaware et al to be restarted

garbage data too bad :frowning:

You’re right. There were a lot of gpsd reported locations in the log…

im going to try reinstalling the OS first.

/var/log/piaware.log

Sep 17 20:10:34 raspberrypi piaware[660]: gpsd reported location: 36.35824, 127.43715, 116m (WGS84)
Sep 17 20:10:35 raspberrypi piaware[660]: gpsd reported location: 36.35824, 127.43715, 116m (WGS84)
Sep 17 20:10:36 raspberrypi piaware[660]: gpsd reported location: 36.35825, 127.43715, 116m (WGS84)
Sep 17 20:10:37 raspberrypi piaware[660]: gpsd reported location: 36.35826, 127.43714, 116m (WGS84)
Sep 17 20:10:38 raspberrypi piaware[660]: gpsd reported location: 36.35827, 127.43714, 116m (WGS84)
Sep 17 20:10:43 raspberrypi piaware[660]: gpsd reported location: 36.35826, 127.43712, 116m (WGS84)
Sep 17 20:10:44 raspberrypi piaware[660]: gpsd reported location: 36.35826, 127.43713, 116m (WGS84)
Sep 17 20:10:45 raspberrypi piaware[660]: gpsd reported location: 36.35825, 127.43714, 116m (WGS84)
Sep 17 20:10:46 raspberrypi piaware[660]: gpsd reported location: 36.35825, 127.43714, 117m (WGS84)
Sep 17 20:10:47 raspberrypi piaware[660]: gpsd reported location: 36.35824, 127.43714, 117m (WGS84)
Sep 17 20:10:48 raspberrypi piaware[660]: gpsd reported location: 36.35824, 127.43715, 117m (WGS84)
Sep 17 20:10:49 raspberrypi piaware[660]: gpsd reported location: 36.35823, 127.43716, 117m (WGS84)
Sep 17 20:10:53 raspberrypi piaware[660]: gpsd reported location: 36.35818, 127.43730, 115m (WGS84)
Sep 17 20:10:54 raspberrypi piaware[660]: gpsd reported location: 36.35818, 127.43731, 114m (WGS84)
Sep 17 20:10:58 raspberrypi piaware[660]: gpsd reported location: 36.35817, 127.43731, 114m (WGS84)
Sep 17 20:11:10 raspberrypi piaware[660]: gpsd reported location: 36.35832, 127.43715, 109m (WGS84)
Sep 17 20:11:20 raspberrypi piaware[660]: gpsd reported location: 36.35825, 127.43721, 109m (WGS84)
Sep 17 20:11:21 raspberrypi piaware[660]: gpsd reported location: 36.35815, 127.43730, 109m (WGS84)
Sep 17 20:11:22 raspberrypi piaware[660]: gpsd reported location: 36.35817, 127.43729, 109m (WGS84)
Sep 17 20:11:23 raspberrypi piaware[660]: gpsd reported location: 36.35817, 127.43730, 109m (WGS84)
Sep 17 20:11:26 raspberrypi piaware[660]: gpsd reported location: 36.35819, 127.43729, 109m (WGS84)
Sep 17 20:11:27 raspberrypi piaware[660]: gpsd reported location: 36.35822, 127.43726, 108m (WGS84)
Sep 17 20:11:30 raspberrypi piaware[660]: gpsd reported location: 36.35823, 127.43726, 108m (WGS84)
Sep 17 20:11:31 raspberrypi piaware[660]: gpsd reported location: 36.35823, 127.43725, 108m (WGS84)
Sep 17 20:11:32 raspberrypi piaware[660]: gpsd reported location: 36.35823, 127.43725, 108m (WGS84)
Sep 17 20:11:33 raspberrypi piaware[660]: gpsd reported location: 36.35824, 127.43724, 108m (WGS84)
Sep 17 20:11:40 raspberrypi piaware[660]: gpsd reported location: 36.35812, 127.43735, 128m (WGS84)
Sep 17 20:11:41 raspberrypi piaware[660]: gpsd reported location: 36.35814, 127.43733, 127m (WGS84)
Sep 17 20:11:42 raspberrypi piaware[660]: gpsd reported location: 36.35815, 127.43733, 126m (WGS84)
Sep 17 20:11:43 raspberrypi piaware[660]: gpsd reported location: 36.35816, 127.43731, 126m (WGS84)
Sep 17 20:11:44 raspberrypi piaware[660]: gpsd reported location: 36.35817, 127.43731, 125m (WGS84)
Sep 17 20:11:45 raspberrypi piaware[660]: gpsd reported location: 36.35818, 127.43729, 124m (WGS84)
Sep 17 20:11:46 raspberrypi piaware[660]: gpsd reported location: 36.35817, 127.43728, 124m (WGS84)
Sep 17 20:11:47 raspberrypi piaware[660]: gpsd reported location: 36.35818, 127.43728, 124m (WGS84)
Sep 17 20:11:48 raspberrypi piaware[660]: gpsd reported location: 36.35817, 127.43728, 123m (WGS84)
Sep 17 20:11:49 raspberrypi piaware[660]: gpsd reported location: 36.35818, 127.43728, 123m (WGS84)
Sep 17 20:11:50 raspberrypi piaware[660]: gpsd reported location: 36.35819, 127.43726, 123m (WGS84)
Sep 17 20:11:51 raspberrypi piaware[660]: gpsd reported location: 36.35818, 127.43726, 122m (WGS84)
Sep 17 20:11:52 raspberrypi piaware[660]: gpsd reported location: 36.35817, 127.43727, 122m (WGS84)
Sep 17 20:11:53 raspberrypi piaware[660]: gpsd reported location: 36.35817, 127.43727, 122m (WGS84)
Sep 17 20:11:54 raspberrypi piaware[660]: gpsd reported location: 36.35817, 127.43727, 122m (WGS84)
Sep 17 20:11:55 raspberrypi piaware[660]: gpsd reported location: 36.35818, 127.43726, 122m (WGS84)

@youyounggeun,
Your location (gpsd reported location: 36.35818, 127.43726, 122m) would suggest a location that UAT978 is not used. It is odd that you seem to be receiving traffic.

The little jumps in position don’t matter so much, piaware won’t restart anything for a small change in location. I did see some bigger jumps (a few km) which I think were what triggered the restarts.

I created a ticket to see if we can do something smarter here (perhaps rate-limit how often we consider restarting things on location change)

It’s most probably just noise, see earlier comments.