Giter Site home page Giter Site logo

docker-radarbox's Introduction

sdr-enthusiasts/docker-radarbox

Docker Image Size (tag) Discord

Docker container running AirNav RadarBox's rbfeeder. Designed to work in tandem with sdr-enthusiasts/readsb-protobuf. Builds and runs on x86_64, arm64 and arm32v7.

rbfeeder pulls ModeS/BEAST information from a host or container providing ModeS/BEAST data, and sends data to RadarBox.

For more information on what rbfeeder is, see here: sharing-data.

Supported tags and respective Dockerfiles

  • latest (main branch, Dockerfile)
  • latest_nohealthcheck is the same as the latest version above. However, this version has the docker healthcheck removed. This is done for people running platforms (such as Nomad) that don't support manually disabling healthchecks, where healthchecks are not wanted.
  • Version and architecture specific tags available

Multi Architecture Support

Currently, this image should pull and run on the following architectures:

  • amd64: Linux x86-64
  • arm32v7, armv7l: ARMv7 32-bit (Odroid HC1/HC2/XU4, RPi 2B/3B)
  • arm64, aarch64: ARMv8 64-bit (RPi 4 64-bit OSes)

Obtaining a RadarBox Sharing Key

First-time users should obtain a RadarBox sharing key.

In order to obtain a RadarBox sharing key, on the first run of the container, rbfeeder will generate a sharing key and print this to the container log.

timeout 300s docker run \
    --rm \
    -it \
    -e BEASTHOST=YOURBEASTHOST \
    -e LAT=YOURLATITUDE \
    -e LONG=YOURLONGITUDE \
    -e ALT=YOURALTITUDE \
    ghcr.io/sdr-enthusiasts/docker-radarbox:latest

This will run the container for five minutes, allowing a sharing key to be generated.

You should obviously replace YOURBEASTHOST, YOURLATITUDE, YOURLONGITUDE and YOURALTITUDE with appropriate values.

Shortly after the container launches, you should be presented with:

[2020-04-02 11:36:31]  Empty sharing key. We will try to create a new one for you!
[2020-04-02 11:36:32]  Your new key is g45643ab345af3c5d5g923a99ffc0de9. Please save this key for future use. You will have to know this key to link this receiver to your account in RadarBox24.com. This key is also saved in configuration file (/etc/rbfeeder.ini)

Take a note of the sharing key, as you'll need it when launching the container.

If you're not a first time user and are migrating from another installation, you can retrieve your sharing key using either of the following methods:

  • SSH onto your existing receiver and run the command rbfeeder --showkey --no-start
  • SSH onto your existing receiver and run the command grep key= /etc/rbfeeder.ini

Up-and-Running with docker run

docker run \
 -d \
 --rm \
 --name rbfeeder \
 -e TZ="YOURTIMEZONE" \
 -e BEASTHOST=YOURBEASTHOST \
 -e LAT=YOURLATITUDE \
 -e LONG=YOURLONGITUDE \
 -e ALT=YOURALTITUDE \
 -e SHARING_KEY=YOURSHARINGKEY \
 ghcr.io/sdr-enthusiasts/docker-radarbox:latest

You should obviously replace YOURBEASTHOST, YOURLATITUDE, YOURLONGITUDE, YOURALTITUDE and YOURSHARINGKEY with appropriate values.

For example:

docker run \
 -d \
 --rm \
 --name rbfeeder \
 -e TZ="Australia/Perth" \
 -e BEASTHOST=readsb \
 -e LAT=-33.33333 \
 -e LONG=111.11111 \
 -e ALT=90 \
 -e SHARING_KEY=g45643ab345af3c5d5g923a99ffc0de9 \
 ghcr.io/sdr-enthusiasts/docker-radarbox:latest

Please note, the altitude figure is given in metres and no units should be specified.

Up-and-Running with Docker Compose

version: '2.0'

services:
  rbfeeder:
    image: ghcr.io/sdr-enthusiasts/docker-radarbox:latest
    tty: true
    container_name: rbfeeder
    restart: always
    environment:
      - TZ=Australia/Perth
      - BEASTHOST=readsb
      - LAT=-33.33333
      - LONG=111.11111
      - ALT=90
      - SHARING_KEY=g45643ab345af3c5d5g923a99ffc0de9

Claiming Your Receiver

Once your container is up and running, you should claim your receiver.

  1. Go to https://www.radarbox.com/
  2. Create an account or sign in
  3. Claim your receiver by visiting https://www.radarbox.com/raspberry-pi/claim and following the instructions

Connection Errors

Before raising an issue regarding connection errors, please wait at least 10 minutes. The rbfeeder binary is configured to attempt to connect to a collection of servers in a round-robin method. It appears normal for some servers to reject the connection, so it may take several minutes to find an available server and connect. In the example below, it took approximately 6 minutes from container start to connection established.

You can try to solve this by setting this parameter:

- RB_SERVER=true

This will enforce the use of a hardcoded IP address that is known to work (as of 22-Nov-2023). It will connect you to a European server if you are located in the Eastern Hemisphere (incl Asia/Oceania), or to a US based server if you are in the Americas.

You may also receive a spurious error Error authenticating Sharing-Key: Invalid sharing-key. Provided you have entered your sharing key correctly, just ignore this for several minutes.

Here is some example output with RBFeeder Version 1.0.10 (build 20231120150000) showing the aforementioned behaviour:

[2023-11-22 21:59:06.966][rbfeeder] [2023-11-22 21:59:06]  Starting RBFeeder Version 1.0.10 (build 20231120150000)
[2023-11-22 21:59:06.966][rbfeeder] [2023-11-22 21:59:06]  Using configuration file: /etc/rbfeeder.ini
[2023-11-22 21:59:06.966][rbfeeder] [2023-11-22 21:59:06]  Network-mode enabled.
[2023-11-22 21:59:06.966][rbfeeder] [2023-11-22 21:59:06]     Remote host to fetch data: 172.20.0.11
[2023-11-22 21:59:06.966][rbfeeder] [2023-11-22 21:59:06]     Remote port: 30005
[2023-11-22 21:59:06.966][rbfeeder] [2023-11-22 21:59:06]     Remote protocol: BEAST
[2023-11-22 21:59:06.966][rbfeeder] [2023-11-22 21:59:06]  Using GNSS (when available)
[2023-11-22 21:59:06.966][rbfeeder] [2023-11-22 21:59:06]  Start date/time: 2023-11-22 21:59:06
[2023-11-22 21:59:06.972][rbfeeder] [2023-11-22 21:59:06]  Socket for ANRB created. Waiting for connections on port 32088
[2023-11-22 21:59:08.039][rbfeeder] [2023-11-22 21:59:08]  Connection established.
[2023-11-22 21:59:18.154][rbfeeder] [2023-11-22 21:59:18]  Could not start connection. Timeout.

...

[2023-11-22 22:05:29.223][rbfeeder] [2023-11-22 22:05:29]  Connection established.
[2023-11-22 22:05:29.456][rbfeeder] [2023-11-22 22:05:29]  Client type: Raspberry Pi
[2023-11-22 22:05:29:29.524][rbfeeder] [2023-11-22 22:05:29]  Connection with RadarBox24 server OK! Key accepted by server.
[2023-11-22 22:05:29.524][rbfeeder] [2023-11-22 22:05:29]  This is your station serial number: EXTRPIxxxxxx

Runtime Environment Variables

There are a series of available environment variables:

Environment Variable Purpose Default
BEASTHOST Required. IP/Hostname of a Mode-S/BEAST provider (dump1090/readsb) readsb
BEASTPORT Optional. TCP port number of Mode-S/BEAST provider (dump1090/readsb) 30005
UAT_RECEIVER_HOST Optional. IP/Hostname of an external UAT decoded JSON provider (eg: dump978-fa).
UAT_RECEIVER_PORT Optional. TCP port number of the external UAT decoded JSON provider. 30979
SHARING_KEY Required. Radarbox Sharing Key
LAT Required. Latitude of the antenna
LONG Required. Longitude of the antenna
ALT Required. Altitude in metres
TZ Optional. Your local timezone GMT
STATS_INTERVAL_MINUTES Optional. How often to print statistics, in minutes. 5
VERBOSE_LOGGING Optional. Set to true for no filtering of rbfeeder logs. false
DEBUG_LEVEL Optional. Set to any number between 0 and 8 to increase verbosity of rbfeeder logs. 0
ENABLE_MLAT Option. Set to true to enable MLAT inside of the container. See MLAT note below true
MLAT_RESULTS_BEASTHOST a hostname or IP, where MLAT results should be sent. (disables 30105 results listen port)
MLAT_RESULTS_BEASTPORT a port number, specify the TCP port number where MLAT results should be sent. 30104
RB_SERVER Optional. If set to true, the container will attempt to connect to one of two Radarbox Servers that are known to work as of 22-Nov-2023. You can also explicitly set it to a hostname or IP address. If unset, the default settings of RadarBox will be used. Unset

Ports

The following TCP ports are used by this container:

  • 32088 - rbfeeder listens on this port, however I can't find the use for this port...
  • 30105 - mlat-client listens on this port to provide MLAT results. (mlat results listen port disabled when MLAT_RESULTS_BEASTHOST is set to work around rbfeeder bug)

MLAT

You may find that MLAT in your container will often times spit out errors in your logs, such as

[rbfeeder] Disconnecting from mlat1.rb24.com:40900: No data (not even keepalives) received for 60 seconds
[rbfeeder] Connected to multilateration server at mlat1.rb24.com:40900, handshaking

This is likely, but not always, not caused by anything you are doing, but is instead caused by the Radarbox server itself and as such there isn't anything you can do to fix it. You will see in your Radarbox stats very little, if any, MLAT targets from your feeder while it is doing this.

To stop the feeder from spamming your logs you can set ENABLE_MLAT=false in your environment configuration for Radarbox and it will stop the MLAT service, and the log messages. Please note that if you do this, and you use MLAT Hub please remove Radarbox from your READSB_NET_CONNECTOR under MLAT Hub.

Using the container on a Raspberry Pi 5

The container internally uses a binary called rbfeeder to send data to the RadarBox service. This binary is provided as closed-source by AirNav (the company that operates RadarBox) and is only available in armhf (32-bit) format using 4kb kernel pages. This will work well on Raspberry Pi 3B+, 4B, and other ARM-based systems that use either 32-bits or 64-bits Debian Linux with a 4kb kernel page size. It also works well on x86 Linux where we use the qemu ARM emulator to run the binary.

Debian Linux for Raspberry Pi 5 uses by default a kernel with 16kb page sizes, and this is not compatible with the rbfeeder binary. You will see failures in your container logs.

You can check your kernel page size with this command: getconf PAGE_SIZE . If the value returned is 4096, then all is good. If it is something else (for example 16384 for 16kb page size), you will need to implement the following work-around:

Add the following to /boot/firmware/config.txt (Debian 12 Bookworm or later) or /boot/config.txt (Debian 11 Bullseye or earlier) to use a kernel with page size of 4kb. This will make CPU use across your Raspberry Pi 5 slightly less efficient, but it will solve the issue for many software packages that have the same issue. After changing this, you must reboot your system for it to take effect:

kernel=kernel8.img

(a one-time command to add this would be:)

echo "kernel=kernel8.img" | sudo tee -a /boot/firmware/config.txt >/dev/null

Logging

  • All processes are logged to the container's stdout, and can be viewed with docker logs [-f] container.

Getting Help

You can log an issue on the project's GitHub.

I also have a Discord channel, feel free to join and converse.

If you're getting continual segmentation faults inside this container, see: #16 (comment)

docker-radarbox's People

Contributors

chrismeller avatar dependabot[bot] avatar fredclausen avatar github-actions[bot] avatar kx1t avatar mikenye avatar scottwallacesh avatar wiedehopf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-radarbox's Issues

[rbfeeder] ERROR: Could not run rbfeeder natively or via qemu

I just deployed and I'm getting the following error when running the container.

[rbfeeder] ERROR: Could not run rbfeeder natively or via qemu

I'm running on bookworm so I'm not sure if that could be the issue or not. Also, I'm on a Pi5.

Tried launching rbfeeder_armhf within the container and received this error:

rbfeeder_armhf: error while loading shared libraries: libpthread.so.0: ELF load command address/offset not page-aligned

qemu: uncaught target signal 11 (Segmentation fault) - core dumped - on new PC

Hi Mike,

I recently retired my old server which was running my ADSB system, I had Radarbox running without any issue (had multiple instances for different receivers). Now when I try to build config on the new system, it constantly gives segmentation faults and as a result doesn't load up.

I tried again on another system and ran into the same problem, I even spun up another docker with the latest pull of docker-radarbox on the original server and it works fine, but the two new servers I constantly get the segmentation faults and no data is ever processed.

Old server was an E3 Xeon, new servers are E5 and E7 Xeons, not sure if that has anything to do with it.

I don't run mikenye/readsb-protobuf, but never did with the old setup either. Tried with a new config and reusing old config with same result.


[rbfeeder] 2022/01/26 02:04:34 [2022-01-26 02:04:34]  Using configuration file: /etc/rbfeeder.ini

[rbfeeder] 2022/01/26 02:04:34 [2022-01-26 02:04:34]  Network-mode enabled.

[rbfeeder] 2022/01/26 02:04:34 [2022-01-26 02:04:34]  		Remote host to fetch data: xx.xx.xx.xx

[rbfeeder] 2022/01/26 02:04:34 [2022-01-26 02:04:34]  		Remote port: 30005

[rbfeeder] 2022/01/26 02:04:34 [2022-01-26 02:04:34]  		Remote protocol: RAW

[rbfeeder] 2022/01/26 02:04:34 [2022-01-26 02:04:34]  System: raspberry

[rbfeeder] 2022/01/26 02:04:34 [2022-01-26 02:04:34]  Start date/time: 2022-01-26 02:04:33

[rbfeeder] 2022/01/26 02:04:34 [2022-01-26 02:04:34]  Socket for ANRB created. Waiting for connections on port 32088

[rbfeeder] 2022/01/26 02:04:34 qemu: uncaught target signal 11 (Segmentation fault) - core dumped

[rbfeeder] 2022/01/26 02:04:35 [2022-01-26 02:04:35]  Starting RBFeeder Version 0.4.3 (build 20210909231001)

[rbfeeder] 2022/01/26 02:04:35 [2022-01-26 02:04:35]  Using configuration file: /etc/rbfeeder.ini

[rbfeeder] 2022/01/26 02:04:35 [2022-01-26 02:04:35]  Network-mode enabled.

[rbfeeder] 2022/01/26 02:04:35 [2022-01-26 02:04:35]  		Remote host to fetch data: xx.xx.xx.xx

[rbfeeder] 2022/01/26 02:04:35 [2022-01-26 02:04:35]  		Remote port: 30005

[rbfeeder] 2022/01/26 02:04:35 [2022-01-26 02:04:35]  		Remote protocol: RAW

[rbfeeder] 2022/01/26 02:04:35 [2022-01-26 02:04:35]  System: raspberry

[rbfeeder] 2022/01/26 02:04:35 [2022-01-26 02:04:35]  Start date/time: 2022-01-26 02:04:34

[rbfeeder] 2022/01/26 02:04:35 [2022-01-26 02:04:35]  Socket for ANRB created. Waiting for connections on port 32088

[rbfeeder] 2022/01/26 02:04:35 qemu: uncaught target signal 11 (Segmentation fault) - core dumped

[rbfeeder] 2022/01/26 02:04:36 [2022-01-26 02:04:36]  Starting RBFeeder Version 0.4.3 (build 20210909231001)

[rbfeeder] 2022/01/26 02:04:36 [2022-01-26 02:04:36]  Using configuration file: /etc/rbfeeder.ini

[rbfeeder] 2022/01/26 02:04:36 [2022-01-26 02:04:36]  Network-mode enabled.

[rbfeeder] 2022/01/26 02:04:36 [2022-01-26 02:04:36]  		Remote host to fetch data: xx.xx.xx.xx

[rbfeeder] 2022/01/26 02:04:36 [2022-01-26 02:04:36]  		Remote port: 30005

[rbfeeder] 2022/01/26 02:04:36 [2022-01-26 02:04:36]  		Remote protocol: RAW

[rbfeeder] 2022/01/26 02:04:36 [2022-01-26 02:04:36]  System: raspberry

[rbfeeder] 2022/01/26 02:04:36 [2022-01-26 02:04:36]  Start date/time: 2022-01-26 02:04:35

[rbfeeder] 2022/01/26 02:04:36 [2022-01-26 02:04:36]  Socket for ANRB created. Waiting for connections on port 32088

[rbfeeder] 2022/01/26 02:04:36 qemu: uncaught target signal 11 (Segmentation fault) - core dumped

[rbfeeder] 2022/01/26 02:04:37 [2022-01-26 02:04:37]  Starting RBFeeder Version 0.4.3 (build 20210909231001)

[rbfeeder] 2022/01/26 02:04:37 [2022-01-26 02:04:37]  Using configuration file: /etc/rbfeeder.ini

[rbfeeder] 2022/01/26 02:04:37 [2022-01-26 02:04:37]  Network-mode enabled.

[rbfeeder] 2022/01/26 02:04:37 [2022-01-26 02:04:37]  		Remote host to fetch data: xx.xx.xx.xx

[rbfeeder] 2022/01/26 02:04:37 [2022-01-26 02:04:37]  		Remote port: 30005

[rbfeeder] 2022/01/26 02:04:37 [2022-01-26 02:04:37]  		Remote protocol: RAW

[rbfeeder] 2022/01/26 02:04:37 [2022-01-26 02:04:37]  System: raspberry

[rbfeeder] 2022/01/26 02:04:37 [2022-01-26 02:04:37]  Start date/time: 2022-01-26 02:04:36

[rbfeeder] 2022/01/26 02:04:37 [2022-01-26 02:04:37]  Socket for ANRB created. Waiting for connections on port 32088

[rbfeeder] 2022/01/26 02:04:37 qemu: uncaught target signal 11 (Segmentation fault) - core dumped

[rbfeeder] 2022/01/26 02:04:38 [2022-01-26 02:04:38]  Starting RBFeeder Version 0.4.3 (build 20210909231001)

[rbfeeder] 2022/01/26 02:04:38 [2022-01-26 02:04:38]  Using configuration file: /etc/rbfeeder.ini

[rbfeeder] 2022/01/26 02:04:38 [2022-01-26 02:04:38]  Network-mode enabled.

[rbfeeder] 2022/01/26 02:04:38 [2022-01-26 02:04:38]  		Remote host to fetch data: xx.xx.xx.xx

[rbfeeder] 2022/01/26 02:04:38 [2022-01-26 02:04:38]  		Remote port: 30005

[rbfeeder] 2022/01/26 02:04:38 [2022-01-26 02:04:38]  		Remote protocol: RAW

[rbfeeder] 2022/01/26 02:04:38 [2022-01-26 02:04:38]  System: raspberry

[rbfeeder] 2022/01/26 02:04:38 [2022-01-26 02:04:38]  Start date/time: 2022-01-26 02:04:37

[rbfeeder] 2022/01/26 02:04:38 [2022-01-26 02:04:38]  Socket for ANRB created. Waiting for connections on port 32088

[rbfeeder] 2022/01/26 02:04:38 qemu: uncaught target signal 11 (Segmentation fault) - core dumped

[rbfeeder] 2022/01/26 02:04:39 [2022-01-26 02:04:39]  Starting RBFeeder Version 0.4.3 (build 20210909231001)

[rbfeeder] 2022/01/26 02:04:39 [2022-01-26 02:04:39]  Using configuration file: /etc/rbfeeder.ini

[rbfeeder] 2022/01/26 02:04:39 [2022-01-26 02:04:39]  Network-mode enabled.

[rbfeeder] 2022/01/26 02:04:39 [2022-01-26 02:04:39]  		Remote host to fetch data: xx.xx.xx.xx

[rbfeeder] 2022/01/26 02:04:39 [2022-01-26 02:04:39]  		Remote port: 30005

[rbfeeder] 2022/01/26 02:04:39 [2022-01-26 02:04:39]  		Remote protocol: RAW

[rbfeeder] 2022/01/26 02:04:39 [2022-01-26 02:04:39]  System: raspberry

[rbfeeder] 2022/01/26 02:04:39 [2022-01-26 02:04:39]  Start date/time: 2022-01-26 02:04:39

[rbfeeder] 2022/01/26 02:04:39 [2022-01-26 02:04:39]  Socket for ANRB created. Waiting for connections on port 32088

[rbfeeder] 2022/01/26 02:04:39 qemu: uncaught target signal 11 (Segmentation fault) - core dumped

[rbfeeder] 2022/01/26 02:04:40 [2022-01-26 02:04:40]  Starting RBFeeder Version 0.4.3 (build 20210909231001)

[rbfeeder] 2022/01/26 02:04:40 [2022-01-26 02:04:40]  Using configuration file: /etc/rbfeeder.ini

[rbfeeder] 2022/01/26 02:04:40 [2022-01-26 02:04:40]  Network-mode enabled.

[rbfeeder] 2022/01/26 02:04:40 [2022-01-26 02:04:40]  		Remote host to fetch data: xx.xx.xx.xx

[rbfeeder] 2022/01/26 02:04:40 [2022-01-26 02:04:40]  		Remote port: 30005

[rbfeeder] 2022/01/26 02:04:40 [2022-01-26 02:04:40]  		Remote protocol: RAW

[rbfeeder] 2022/01/26 02:04:40 [2022-01-26 02:04:40]  System: raspberry

[rbfeeder] 2022/01/26 02:04:40 [2022-01-26 02:04:40]  Start date/time: 2022-01-26 02:04:40

[rbfeeder] 2022/01/26 02:04:40 [2022-01-26 02:04:40]  Socket for ANRB created. Waiting for connections on port 32088

[rbfeeder] 2022/01/26 02:04:40 qemu: uncaught target signal 11 (Segmentation fault) - core dumped

[rbfeeder] 2022/01/26 02:04:41 [2022-01-26 02:04:41]  Starting RBFeeder Version 0.4.3 (build 20210909231001)

[rbfeeder] 2022/01/26 02:04:41 [2022-01-26 02:04:41]  Using configuration file: /etc/rbfeeder.ini

[rbfeeder] 2022/01/26 02:04:41 [2022-01-26 02:04:41]  Network-mode enabled.

[rbfeeder] 2022/01/26 02:04:41 [2022-01-26 02:04:41]  		Remote host to fetch data: xx.xx.xx.xx

[rbfeeder] 2022/01/26 02:04:41 [2022-01-26 02:04:41]  		Remote port: 30005

[rbfeeder] 2022/01/26 02:04:41 [2022-01-26 02:04:41]  		Remote protocol: RAW

[rbfeeder] 2022/01/26 02:04:41 [2022-01-26 02:04:41]  System: raspberry

[rbfeeder] 2022/01/26 02:04:41 [2022-01-26 02:04:41]  Start date/time: 2022-01-26 02:04:41

[rbfeeder] 2022/01/26 02:04:41 [2022-01-26 02:04:41]  Socket for ANRB created. Waiting for connections on port 32088

missing healthcheck

seems like the healthcheck.sh script is missing in this image;

root@3c8709990b8b:~# ls /healthcheck.sh
ls: cannot access '/healthcheck.sh': No such file or directory

Unable to get a sharing key

I am trying to get Radarbox working but seem te get stuck at getting a sharing ID. Here's my output:

root@T630-Ubuntu:/opt/adsb# docker-compose logs -f | grep rbfeeder
Attaching to rbfeeder, tar1090, fr24, piaware, adsbx, readsb
rbfeeder    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
rbfeeder    | [s6-init] ensuring user provided files have correct perms...exited 0.
rbfeeder    | [fix-attrs.d] applying ownership & permissions fixes...
rbfeeder    | [fix-attrs.d] done.
rbfeeder    | [cont-init.d] executing container initialization scripts...
rbfeeder    | [cont-init.d] 00-libsecomp2: executing...
rbfeeder    | [cont-init.d] 00-libsecomp2: exited 0.
rbfeeder    | [cont-init.d] 01-rbfeeder: executing...
rbfeeder    |
rbfeeder    | WARNING: SHARING_KEY environment variable was not set!
rbfeeder    | Please make sure you note down the key generated.
rbfeeder    | Pass the key as environment var SHARING_KEY on next launch!
rbfeeder    |
rbfeeder    | [cont-init.d] 01-rbfeeder: exited 0.
rbfeeder    | [cont-init.d] done.
rbfeeder    | [services.d] starting services
rbfeeder    | [services.d] done.
rbfeeder    | [rbfeeder] 2022/03/13 11:16:09 [2022-03-13 11:16:09]  Starting RBFeeder Version 1.0.7 (build 20220312122700)
rbfeeder    | [rbfeeder] 2022/03/13 11:16:09 [2022-03-13 11:16:09]  Using configuration file: /etc/rbfeeder.ini
rbfeeder    | [rbfeeder] 2022/03/13 11:16:09 [2022-03-13 11:16:09]  Network-mode enabled.
rbfeeder    | [rbfeeder] 2022/03/13 11:16:09 [2022-03-13 11:16:09]  		Remote host to fetch data: 172.24.0.2
rbfeeder    | [rbfeeder] 2022/03/13 11:16:09 [2022-03-13 11:16:09]  		Remote port: 30005
rbfeeder    | [rbfeeder] 2022/03/13 11:16:09 [2022-03-13 11:16:09]  		Remote protocol: BEAST
rbfeeder    | [rbfeeder] 2022/03/13 11:16:09 [2022-03-13 11:16:09]  Using GNSS (when available)
rbfeeder    | [rbfeeder] 2022/03/13 11:16:09 [2022-03-13 11:16:09]  Start date/time: 2022-03-13 11:16:09
rbfeeder    | [rbfeeder] 2022/03/13 11:16:09 [2022-03-13 11:16:09]  Socket for ANRB created. Waiting for connections on port 32088
rbfeeder    | [rbfeeder] 2022/03/13 11:16:11 [2022-03-13 11:16:11]  Connection established.
rbfeeder    | [rbfeeder] 2022/03/13 11:16:11 [2022-03-13 11:16:11]  Empty sharing key. We will try to create a new one for you!
rbfeeder    | [rbfeeder] 2022/03/13 11:16:21 [2022-03-13 11:16:21]  Timeout waiting for new key. Will try again in 30 seconds.

And this is the docker-compose.ym part for rbfeeder:
  rbfeeder:
    image: mikenye/radarbox:latest
    tty: true
    container_name: rbfeeder
    restart: always
    depends_on:
      - readsb
    environment:
      - BEASTHOST=readsb
      - LAT=${FEEDER_LAT}
      - LONG=${FEEDER_LONG}
      - ALT=${FEEDER_ALT_M}
      - TZ=${FEEDER_TZ}
      - SHARING_KEY=${RADARBOX_SHARING_KEY}
    tmpfs:
      - /run:exec,size=64M
      - /var/log

I've been talking to Radarbox support but they are not coming up with answers. They've asked me if I use a firewall but I don't. Just a Pi-Hole. Does anyone know how the feeder calls home? Maybe there's a problem with that although I don't see anything relating in my Pi-Hole log.

Exec format Error

Hi,

First of all, thanks for your time in maitaing this cool docker (and others that you have)
I'm trying to deploy the docker to feed to RadarBox, and I'm having the next error

,[rbfeeder] ./run: 4: ./run: /usr/bin/rbfeeder: Exec format error

My environment

  • Docker version: 19.03.5
  • Docker-compose version: 1.20.0-rc2
  • OS: Ubuntu 64bits into a virtual machine (vmware)

Again, thanks for your time and the effort to maintain the docker
Regards

Segmentation fault (core dumped)

Not entirely sure how to debug this, but rbfeeder keeps restarting due to a Segmentation fault (see Container Output).

I'm running docker community edition version 19.03.9 on Debian stretch with an AMD64 CPU. Container setup using docker-compose 1.24.1.

docker-compose.yaml

version: '2.0'

services:
    rbfeeder:
        image: mikenye/radarbox:latest
        restart: always
        container_name: rbfeeder
        restart: always
        environment:
            - TZ=UTC
            - BEASTHOST=192.168.1.20
            - LAT=52.###
            - LONG=4.###
            - ALT=9
            - SHARING_KEY=xxx

Image Details

docker image inspect mikenye/radarbox
[
    {
        "Id": "sha256:375ad043e151c2c0214eec4d31575d678150db2c6df4c68668f4a558da074eb5",
        "RepoTags": [
            "mikenye/radarbox:latest"
        ],
        "RepoDigests": [
            "mikenye/radarbox@sha256:e2e453b50649f3c45df75146eac865df0924c21baba8aa9ff6934283baf5d5f0"
        ],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2020-06-15T19:35:10.440867332Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "30105/tcp": {},
                "32088/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "S6_BEHAVIOUR_IF_STAGE2_FAILS=2",
                "BEASTPORT=30005",
                "MLAT_SERVER=mlat1.rb24.com:40900"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "/healthcheck.sh"
                ],
                "StartPeriod": 180000000000
            },
            "ArgsEscaped": true,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": [
                "/init"
            ],
            "OnBuild": null,
            "Labels": null
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 293928847,
        "VirtualSize": 293928847,
        "GraphDriver": {
            "Data": null,
            "Name": "aufs"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:b7f7d2967507ba709dbd1dd0426a5b0cdbe1ff936c131f8958c8d0f910eea19e",
                "sha256:a6ebef4a95c345c844c2bf43ffda8e36dd6e053887dd6e283ad616dcc2376be6",
                "sha256:838a37a24627f72df512926fc846dd97c93781cf145690516e23335cc0c27794",
                "sha256:28ba7458d04b8551ff45d2e17dc2abb768bf6ed1a46bb262f26a24d21d8d7233",
                "sha256:2177851f40642357ea4229a92a1dfcfec8f949cf792baa36c7ae7be1af46fb14",
                "sha256:f2215a63fc5556584c0c14c8e9347ec25f6570d2ca1d3ca1c9cf6dd83d50ab29",
                "sha256:518a911760b0848d5a452b5ef8f518db9dac7043b7ca059d4adfe1952801f7e8",
                "sha256:b16f91dccdef59ef6b2603473b572ed6aba7a49a157b17ab8720aabd4fbed500",
                "sha256:9ab5d86ea460bfb30c80ffcfab2cb939664ca4067987097c886d567550973d2e"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]

Container Output

rbfeeder    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
rbfeeder    | [s6-init] ensuring user provided files have correct perms...exited 0.
rbfeeder    | [fix-attrs.d] applying ownership & permissions fixes...
rbfeeder    | [fix-attrs.d] done.
rbfeeder    | [cont-init.d] executing container initialization scripts...
rbfeeder    | [cont-init.d] 01-rbfeeder: executing... 
rbfeeder    | [cont-init.d] 01-rbfeeder: exited 0.
rbfeeder    | [cont-init.d] done.
rbfeeder    | [services.d] starting services
rbfeeder    | [services.d] done.
rbfeeder    | [mlat-client] Delaying mlat-client startup until rbfeeder receives station sn...
rbfeeder    | [rbfeeder] [2020-06-16 21:29:25]  Starting RBFeeder Version 0.2.6 (build 20180313082038)
rbfeeder    | [rbfeeder] [2020-06-16 21:29:25]  Using configuration file: /etc/rbfeeder.ini
rbfeeder    | [rbfeeder] [2020-06-16 21:29:25]  Network-mode enabled.
rbfeeder    | [rbfeeder] [2020-06-16 21:29:25]  		Remote host to fetch data: 192.168.1.20
rbfeeder    | [rbfeeder] [2020-06-16 21:29:25]  		Remote port: 30005
rbfeeder    | [rbfeeder] [2020-06-16 21:29:25]  		Remote protocol: BEAST
rbfeeder    | [rbfeeder] [2020-06-16 21:29:25]  System: raspberry
rbfeeder    | [rbfeeder] [2020-06-16 21:29:25]  Start date/time: 2020-06-16 21:29:25
rbfeeder    | [rbfeeder] [2020-06-16 21:29:25]  Socket for ANRB created. Waiting for connections on port 32088
rbfeeder    | [rbfeeder] [2020-06-16 21:29:26]  Connection established.
rbfeeder    | [rbfeeder] [2020-06-16 21:29:26]  Connection with RadarBox24 server OK! Key accepted by server.
rbfeeder    | [rbfeeder] [2020-06-16 21:29:55]  ******** Statistics updated every 30 seconds ********
rbfeeder    | [rbfeeder] [2020-06-16 21:29:55]  Packets sent in the last 30 seconds: 114, Total packets sent since startup: 114
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020 mlat-client 0.2.11 starting up
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020 Listening for Beast-format results connection on port 30105
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020 Connected to multilateration server at mlat1.rb24.com:40900, handshaking
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020 Server says: 
rbfeeder    | [mlat-client] 
rbfeeder    | [mlat-client]         AirNAv Server
rbfeeder    | [mlat-client] 
rbfeeder    | [mlat-client]         The multilateration server source code is available under
rbfeeder    | [mlat-client]         the terms of the Affero GPL (v3 or later). You may obtain
rbfeeder    | [mlat-client]         a copy of this server's source code at the following
rbfeeder    | [mlat-client]         location: https://github.com/mutability/mlat-server
rbfeeder    | [mlat-client]         
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020 Handshake complete.
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020   Compression:       zlib2
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020   UDP transport:     disabled
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020   Split sync:        disabled
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020 Input connected to 192.168.1.20:30005
rbfeeder    | [mlat-client] Tue Jun 16 21:29:55 2020 Input format changed to BEAST, 12MHz clock
rbfeeder    | Segmentation fault (core dumped)
rbfeeder    | [rbfeeder] [2020-06-16 21:30:25]  Starting RBFeeder Version 0.2.6 (build 20180313082038)
rbfeeder    | [rbfeeder] [2020-06-16 21:30:25]  Using configuration file: /etc/rbfeeder.ini
rbfeeder    | [rbfeeder] [2020-06-16 21:30:25]  Network-mode enabled.
rbfeeder    | [rbfeeder] [2020-06-16 21:30:25]  		Remote host to fetch data: 192.168.1.20
rbfeeder    | [rbfeeder] [2020-06-16 21:30:25]  		Remote port: 30005
rbfeeder    | [rbfeeder] [2020-06-16 21:30:25]  		Remote protocol: BEAST
rbfeeder    | [rbfeeder] [2020-06-16 21:30:25]  System: raspberry
rbfeeder    | [rbfeeder] [2020-06-16 21:30:25]  Start date/time: 2020-06-16 21:30:25
rbfeeder    | [rbfeeder] [2020-06-16 21:30:25]  Socket for ANRB created. Waiting for connections on port 32088
rbfeeder    | [rbfeeder] [2020-06-16 21:30:26]  Connection established.
rbfeeder    | [rbfeeder] [2020-06-16 21:30:37]  Could not start connection. Timeout.
rbfeeder    | [rbfeeder] [2020-06-16 21:30:55]  ******** Statistics updated every 30 seconds ********
rbfeeder    | [rbfeeder] [2020-06-16 21:30:55]  Packets sent in the last 30 seconds: 0, Total packets sent since startup: 0
rbfeeder    | [rbfeeder] [2020-06-16 21:31:07]  Connection established.
rbfeeder    | [rbfeeder] [2020-06-16 21:31:07]  Connection with RadarBox24 server OK! Key accepted by server.
rbfeeder    | Segmentation fault (core dumped)
rbfeeder    | [rbfeeder] [2020-06-16 21:31:26]  Starting RBFeeder Version 0.2.6 (build 20180313082038)
rbfeeder    | [rbfeeder] [2020-06-16 21:31:26]  Using configuration file: /etc/rbfeeder.ini
rbfeeder    | [rbfeeder] [2020-06-16 21:31:26]  Network-mode enabled.
rbfeeder    | [rbfeeder] [2020-06-16 21:31:26]  		Remote host to fetch data: 192.168.1.20
rbfeeder    | [rbfeeder] [2020-06-16 21:31:26]  		Remote port: 30005
rbfeeder    | [rbfeeder] [2020-06-16 21:31:26]  		Remote protocol: BEAST
rbfeeder    | [rbfeeder] [2020-06-16 21:31:26]  System: raspberry
rbfeeder    | [rbfeeder] [2020-06-16 21:31:26]  Start date/time: 2020-06-16 21:31:26
rbfeeder    | [rbfeeder] [2020-06-16 21:31:26]  Socket for ANRB created. Waiting for connections on port 32088
rbfeeder    | [rbfeeder] [2020-06-16 21:31:27]  Connection established.
rbfeeder    | [rbfeeder] [2020-06-16 21:31:37]  Could not start connection. Timeout.
rbfeeder    | [rbfeeder] [2020-06-16 21:31:56]  ******** Statistics updated every 30 seconds ********
rbfeeder    | [rbfeeder] [2020-06-16 21:31:56]  Packets sent in the last 30 seconds: 0, Total packets sent since startup: 0
rbfeeder    | [rbfeeder] [2020-06-16 21:32:07]  Connection established.
rbfeeder    | [rbfeeder] [2020-06-16 21:32:08]  Connection with RadarBox24 server OK! Key accepted by server.
rbfeeder    | Segmentation fault (core dumped)
...

First time setup: Could not resolve host name specified in 'external_host'

When running the initial setup to get my feeder ID for a new container, I'm encountering a message regarding name resolution for the external_host. I've tried forcing the value as an environment variable, but didn't have any luck in that.

FYI the commands I'm using to get the feeder id (LAT, LON, and ALT have been redacted)

  timeout 300s docker run \
    --rm \
    -it \
    -e BEASTHOST=readsb \
    -e LAT=XX.XXXXXX \
    -e LONG=YY.YYYYYY \
    -e ALT=123 \
    ghcr.io/sdr-enthusiasts/docker-radarbox:latest

Output:

Hardware information:
Machine:   aarch64
Processor: unknown
Platform:  unknown

[cont-init.d] 03-show-architecture.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[rbfeeder] getaddrinfo: Name or service not known
[rbfeeder] [2023-01-24 03:33:14]  Could not resolve host name specified in 'external_host'.
[rbfeeder] getaddrinfo: Name or service not known
[rbfeeder] [2023-01-24 03:33:15]  Could not resolve host name specified in 'external_host'.
[rbfeeder] getaddrinfo: Name or service not known
[rbfeeder] [2023-01-24 03:33:16]  Could not resolve host name specified in 'external_host'.
[rbfeeder] getaddrinfo: Name or service not known
[rbfeeder] [2023-01-24 03:33:17]  Could not resolve host name specified in 'external_host'.

[ERROR] /usr/bin/rbfeeder in line 12 when executing: /usr/bin/rbfeeder_arm "$@"

as the title says, I'm not sure where to start, its a repeating error.

[2024-02-05 22:29:26.339][rbfeeder] getaddrinfo: Name or service not known
[2024-02-05 22:29:26.339][rbfeeder] [2024-02-05 22:29:26] Could not resolve host name specified in 'external_host'.
[2024-02-05 22:29:26.342][rbfeeder] [ERROR] /usr/bin/rbfeeder in line 12 when executing: /usr/bin/rbfeeder_arm "$@"

any direction/help would be greatly appreciated.

Buffer Overflow Detected

vanilla new setup following latest Gitbook HOWTO (March 16, 2021)

rbfeeder is setup with both Radarbox and configured in .env and .yaml according to instructions.

Throws constant Buffer Overflow Detected errors as follows:

rbfeeder    | [rbfeeder] *** buffer overflow detected ***: /usr/bin/rbfeeder terminated
rbfeeder    | [rbfeeder] [2021-03-17 14:21:37]  Starting RBFeeder Version 0.3.5 (build 20200727132301)
rbfeeder    | [rbfeeder] [2021-03-17 14:21:37]  Using configuration file: /etc/rbfeeder.ini
rbfeeder    | [rbfeeder] [2021-03-17 14:21:37]  Network-mode enabled.
rbfeeder    | [rbfeeder] [2021-03-17 14:21:37]  		Remote host to fetch data: 172.18.0.3
rbfeeder    | [rbfeeder] [2021-03-17 14:21:37]  		Remote port: 30005
rbfeeder    | [rbfeeder] [2021-03-17 14:21:37]  		Remote protocol: BEAST
rbfeeder    | [rbfeeder] [2021-03-17 14:21:37]  System: raspberry
rbfeeder    | [rbfeeder] [2021-03-17 14:21:37]  Start date/time: 2021-03-17 14:21:37
rbfeeder    | [rbfeeder] [2021-03-17 14:21:37]  Socket for ANRB created. Waiting for connections on port 32088
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  Connection established.
rbfeeder    | [rbfeeder] *** buffer overflow detected ***: /usr/bin/rbfeeder terminated
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  Starting RBFeeder Version 0.3.5 (build 20200727132301)
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  Using configuration file: /etc/rbfeeder.ini
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  Network-mode enabled.
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  		Remote host to fetch data: 172.18.0.3
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  		Remote port: 30005
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  		Remote protocol: BEAST
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  System: raspberry
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  Start date/time: 2021-03-17 14:21:38
rbfeeder    | [rbfeeder] [2021-03-17 14:21:38]  Socket for ANRB created. Waiting for connections on port 32088
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  Connection established.
rbfeeder    | [rbfeeder] *** buffer overflow detected ***: /usr/bin/rbfeeder terminated
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  Starting RBFeeder Version 0.3.5 (build 20200727132301)
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  Using configuration file: /etc/rbfeeder.ini
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  Network-mode enabled.
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  		Remote host to fetch data: 172.18.0.3
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  		Remote port: 30005
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  		Remote protocol: BEAST
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  System: raspberry
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  Start date/time: 2021-03-17 14:21:39
rbfeeder    | [rbfeeder] [2021-03-17 14:21:39]  Socket for ANRB created. Waiting for connections on port 32088

All other containers are working properly (1090 and 978) and feeding data to sites as expected.

Thank you.

Watchdog constantly restarting rbfeeder binary

Hi, I am running docker-readsb-protobuf + docker-radarbox.

I have a problem with the latest version of docker-radarbox. Suddenly, every few minutes I get this error:
[watchdog] [WARNING] No packets received from readsb:30005. Restarting rbfeeder binary. Is this a known issue?

I'm running docker on an Intel NUC with Ubuntu 22.04.

radarbox container log:

[2024-07-05 20:58:09.674][rbfeeder] [2024-07-05 20:58:09]  Connection with RadarBox24 server OK! Key accepted by server.
[2024-07-05 20:58:09.675][rbfeeder] [2024-07-05 20:58:09]  This is your station serial number: EXTRPIXXXX
[2024-07-05 20:58:39.045][rbfeeder] mlat-client 0.4.2 starting up
[2024-07-05 20:58:39.045][rbfeeder] Listening for Beast-format results connection on port 30105
[2024-07-05 20:58:39.084][rbfeeder] Connected to multilateration server at mlat1.rb24.com:40900, handshaking
[2024-07-05 20:58:39.113][rbfeeder] Server says: 
[2024-07-05 20:58:39.113][rbfeeder] 
[2024-07-05 20:58:39.113][rbfeeder]         AirNav Server
[2024-07-05 20:58:39.113][rbfeeder] 
[2024-07-05 20:58:39.113][rbfeeder]         The multilateration server source code is available under
[2024-07-05 20:58:39.113][rbfeeder]         the terms of the Affero GPL (v3 or later). You may obtain
[2024-07-05 20:58:39.113][rbfeeder]         a copy of this server's source code at the following
[2024-07-05 20:58:39.113][rbfeeder]         location: https://github.com/adsbexchange/mlat-server
[2024-07-05 20:58:39.113][rbfeeder]         
[2024-07-05 20:58:39.114][rbfeeder] Handshake complete: Compression zlib2, UDP transport disabled, Split sync disabled
[2024-07-05 20:58:39.115][rbfeeder] Input connected to 127.0.0.1:32457
[2024-07-05 20:58:39.115][rbfeeder] Input format changed to BEAST, 12MHz clock
[2024-07-05 20:58:39.677][rbfeeder] Beast-format results connection with 127.0.0.1:32004: connection established
[2024-07-05 20:58:58.177][rbfeeder] Accepted Beast-format results connection from ::ffff:172.19.0.6:58282
[2024-07-05 20:59:39.473][rbfeeder] Receiver: connected   454.2 msg/s received       80.0 msg/s processed (18%)
[2024-07-05 20:59:39.473][rbfeeder] Server:   ready         0.0 kB/s from server      0.4 kB/s to server
[2024-07-05 20:59:39.473][rbfeeder] Results:  0.0 positions/minute
[2024-07-05 20:59:39.473][rbfeeder] Aircraft: 1 of 15 Mode S, 17 of 28 ADS-B used
[2024-07-05 21:03:07.657][stats] Packets sent in past 5 minutes: 2725, total packets since container start: 2725
**[2024-07-05 21:03:10.516][watchdog] [WARNING] No packets received from readsb:30005. Restarting rbfeeder binary**
[2024-07-05 21:03:17.697][rbfeeder] [2024-07-05 21:03:17]  Starting RBFeeder Version 1.0.10 (build 20231120150000)
[2024-07-05 21:03:17.700][rbfeeder] [2024-07-05 21:03:17]  Using configuration file: /etc/rbfeeder.ini
[2024-07-05 21:03:17.700][rbfeeder] [2024-07-05 21:03:17]  Network-mode enabled.
[2024-07-05 21:03:17.701][rbfeeder] [2024-07-05 21:03:17]  		Remote host to fetch data: 172.19.0.5
[2024-07-05 21:03:17.701][rbfeeder] [2024-07-05 21:03:17]  		Remote port: 30005
[2024-07-05 21:03:17.702][rbfeeder] [2024-07-05 21:03:17]  		Remote protocol: BEAST
[2024-07-05 21:03:17.785][rbfeeder] [2024-07-05 21:03:17]  Using GNSS (when available)
[2024-07-05 21:03:17.827][rbfeeder] [2024-07-05 21:03:17]  Start date/time: 2024-07-05 21:03:17
[2024-07-05 21:03:17.926][rbfeeder] [2024-07-05 21:03:17]  Socket for ANRB created. Waiting for connections on port 32088
[2024-07-05 21:03:18.562][rbfeeder] mlat-client 0.4.2 starting up
[2024-07-05 21:03:18.563][rbfeeder] Listening for Beast-format results connection on port 30105
[2024-07-05 21:03:18.598][rbfeeder] Connected to multilateration server at mlat1.rb24.com:40900, handshaking
[2024-07-05 21:03:18.628][rbfeeder] Server says: 
[2024-07-05 21:03:18.628][rbfeeder] 
[2024-07-05 21:03:18.628][rbfeeder]         AirNav Server
[2024-07-05 21:03:18.628][rbfeeder] 
[2024-07-05 21:03:18.628][rbfeeder]         The multilateration server source code is available under
[2024-07-05 21:03:18.628][rbfeeder]         the terms of the Affero GPL (v3 or later). You may obtain
[2024-07-05 21:03:18.628][rbfeeder]         a copy of this server's source code at the following
[2024-07-05 21:03:18.628][rbfeeder]         location: https://github.com/adsbexchange/mlat-server
[2024-07-05 21:03:18.628][rbfeeder]         
[2024-07-05 21:03:18.629][rbfeeder] Handshake complete: Compression zlib2, UDP transport disabled, Split sync disabled
[2024-07-05 21:03:18.629][rbfeeder] Input connected to 127.0.0.1:32457
[2024-07-05 21:03:18.630][rbfeeder] Input format changed to BEAST, 12MHz clock
[2024-07-05 21:03:18.959][rbfeeder] [2024-07-05 21:03:18]  Connection established.
[2024-07-05 21:03:19.082][rbfeeder] [2024-07-05 21:03:19]  Connection with RadarBox24 server OK! Key accepted by server.
[2024-07-05 21:03:19.083][rbfeeder] [2024-07-05 21:03:19]  This is your station serial number: EXTRPIXXXX
[2024-07-05 21:03:19.094][rbfeeder] [2024-07-05 21:03:19]  Client type: Raspberry Pi
[2024-07-05 21:03:19.232][rbfeeder] Beast-format results connection with 127.0.0.1:32004: connection established
[2024-07-05 21:03:47.098][rbfeeder] Accepted Beast-format results connection from ::ffff:172.19.0.6:48956
[2024-07-05 21:04:18.636][rbfeeder] Receiver: connected   458.1 msg/s received       83.8 msg/s processed (18%)
[2024-07-05 21:04:18.636][rbfeeder] Server:   ready         0.0 kB/s from server      0.5 kB/s to server
[2024-07-05 21:04:18.636][rbfeeder] Results:  0.0 positions/minute
[2024-07-05 21:04:18.636][rbfeeder] Aircraft: 1 of 14 Mode S, 22 of 30 ADS-B used
[2024-07-05 21:08:09.168][stats] Packets sent in past 5 minutes: 5304, total packets since container start: 2579
**[2024-07-05 21:08:14.648][watchdog] [WARNING] No packets received from readsb:30005. Restarting rbfeeder binary**
[2024-07-05 21:08:22.147][rbfeeder] [2024-07-05 21:08:22]  Starting RBFeeder Version 1.0.10 (build 20231120150000)
[2024-07-05 21:08:22.150][rbfeeder] [2024-07-05 21:08:22]  Using configuration file: /etc/rbfeeder.ini
[2024-07-05 21:08:22.151][rbfeeder] [2024-07-05 21:08:22]  Network-mode enabled.
[2024-07-05 21:08:22.151][rbfeeder] [2024-07-05 21:08:22]  		Remote host to fetch data: 172.19.0.5
[2024-07-05 21:08:22.152][rbfeeder] [2024-07-05 21:08:22]  		Remote port: 30005
[2024-07-05 21:08:22.152][rbfeeder] [2024-07-05 21:08:22]  		Remote protocol: BEAST
[2024-07-05 21:08:22.235][rbfeeder] [2024-07-05 21:08:22]  Using GNSS (when available)
[2024-07-05 21:08:22.275][rbfeeder] [2024-07-05 21:08:22]  Start date/time: 2024-07-05 21:08:21
[2024-07-05 21:08:22.369][rbfeeder] [2024-07-05 21:08:22]  Socket for ANRB created. Waiting for connections on port 32088
[2024-07-05 21:08:22.988][rbfeeder] mlat-client 0.4.2 starting up
[2024-07-05 21:08:22.989][rbfeeder] Listening for Beast-format results connection on port 30105
[2024-07-05 21:08:23.036][rbfeeder] Connected to multilateration server at mlat1.rb24.com:40900, handshaking
[2024-07-05 21:08:23.054][rbfeeder] Server says: 
[2024-07-05 21:08:23.054][rbfeeder] 
[2024-07-05 21:08:23.054][rbfeeder]         AirNav Server
[2024-07-05 21:08:23.054][rbfeeder] 
[2024-07-05 21:08:23.054][rbfeeder]         The multilateration server source code is available under
[2024-07-05 21:08:23.054][rbfeeder]         the terms of the Affero GPL (v3 or later). You may obtain
[2024-07-05 21:08:23.054][rbfeeder]         a copy of this server's source code at the following
[2024-07-05 21:08:23.054][rbfeeder]         location: https://github.com/adsbexchange/mlat-server
[2024-07-05 21:08:23.054][rbfeeder]         
[2024-07-05 21:08:23.055][rbfeeder] Handshake complete: Compression zlib2, UDP transport disabled, Split sync disabled
[2024-07-05 21:08:23.055][rbfeeder] Input connected to 127.0.0.1:32457
[2024-07-05 21:08:23.056][rbfeeder] Input format changed to BEAST, 12MHz clock
[2024-07-05 21:08:23.407][rbfeeder] [2024-07-05 21:08:23]  Connection established.
[2024-07-05 21:08:23.526][rbfeeder] [2024-07-05 21:08:23]  Connection with RadarBox24 server OK! Key accepted by server.
[2024-07-05 21:08:23.527][rbfeeder] [2024-07-05 21:08:23]  This is your station serial number: EXTRPIXXXX
[2024-07-05 21:08:23.536][rbfeeder] [2024-07-05 21:08:23]  Client type: Raspberry Pi
[2024-07-05 21:08:23.658][rbfeeder] Beast-format results connection with 127.0.0.1:32004: connection established
[2024-07-05 21:08:51.582][rbfeeder] Accepted Beast-format results connection from ::ffff:172.19.0.6:41378
[2024-07-05 21:09:23.209][rbfeeder] Receiver: connected   324.4 msg/s received      149.4 msg/s processed (46%)
[2024-07-05 21:09:23.209][rbfeeder] Server:   ready         0.0 kB/s from server      0.8 kB/s to server
[2024-07-05 21:09:23.209][rbfeeder] Results:  8.0 positions/minute
[2024-07-05 21:09:23.209][rbfeeder] Aircraft: 2 of 16 Mode S, 18 of 25 ADS-B used
[2024-07-05 21:13:10.921][stats] Packets sent in past 5 minutes: 7491, total packets since container start: 2187
**[2024-07-05 21:13:18.795][watchdog] [WARNING] No packets received from readsb:30005. Restarting rbfeeder binary**
[2024-07-05 21:13:26.552][rbfeeder] [2024-07-05 21:13:26]  Starting RBFeeder Version 1.0.10 (build 20231120150000)
[2024-07-05 21:13:26.555][rbfeeder] [2024-07-05 21:13:26]  Using configuration file: /etc/rbfeeder.ini
[2024-07-05 21:13:26.555][rbfeeder] [2024-07-05 21:13:26]  Network-mode enabled.
[2024-07-05 21:13:26.556][rbfeeder] [2024-07-05 21:13:26]  		Remote host to fetch data: 172.19.0.5
[2024-07-05 21:13:26.556][rbfeeder] [2024-07-05 21:13:26]  		Remote port: 30005
[2024-07-05 21:13:26.557][rbfeeder] [2024-07-05 21:13:26]  		Remote protocol: BEAST
[2024-07-05 21:13:26.642][rbfeeder] [2024-07-05 21:13:26]  Using GNSS (when available)
[2024-07-05 21:13:26.685][rbfeeder] [2024-07-05 21:13:26]  Start date/time: 2024-07-05 21:13:26
[2024-07-05 21:13:26.778][rbfeeder] [2024-07-05 21:13:26]  Socket for ANRB created. Waiting for connections on port 32088
[2024-07-05 21:13:27.410][rbfeeder] mlat-client 0.4.2 starting up
[2024-07-05 21:13:27.410][rbfeeder] Listening for Beast-format results connection on port 30105
[2024-07-05 21:13:27.459][rbfeeder] Connected to multilateration server at mlat1.rb24.com:40900, handshaking
[2024-07-05 21:13:27.513][rbfeeder] Server says: 
[2024-07-05 21:13:27.513][rbfeeder] 
[2024-07-05 21:13:27.513][rbfeeder]         AirNav Server
[2024-07-05 21:13:27.513][rbfeeder] 
[2024-07-05 21:13:27.513][rbfeeder]         The multilateration server source code is available under
[2024-07-05 21:13:27.513][rbfeeder]         the terms of the Affero GPL (v3 or later). You may obtain
[2024-07-05 21:13:27.513][rbfeeder]         a copy of this server's source code at the following
[2024-07-05 21:13:27.513][rbfeeder]         location: https://github.com/adsbexchange/mlat-server
[2024-07-05 21:13:27.514][rbfeeder]         
[2024-07-05 21:13:27.514][rbfeeder] Handshake complete: Compression zlib2, UDP transport disabled, Split sync disabled
[2024-07-05 21:13:27.515][rbfeeder] Input connected to 127.0.0.1:32457
[2024-07-05 21:13:27.515][rbfeeder] Input format changed to BEAST, 12MHz clock
[2024-07-05 21:13:27.815][rbfeeder] [2024-07-05 21:13:27]  Connection established.
[2024-07-05 21:13:27.949][rbfeeder] [2024-07-05 21:13:27]  Client type: Raspberry Pi
[2024-07-05 21:13:28.033][rbfeeder] [2024-07-05 21:13:28]  Connection with RadarBox24 server OK! Key accepted by server.
[2024-07-05 21:13:28.034][rbfeeder] [2024-07-05 21:13:28]  This is your station serial number: EXTRPIXXXX
[2024-07-05 21:13:28.118][rbfeeder] Beast-format results connection with 127.0.0.1:32004: connection established
[2024-07-05 21:13:55.998][rbfeeder] Accepted Beast-format results connection from ::ffff:172.19.0.6:37666
[2024-07-05 21:14:27.609][rbfeeder] Receiver: connected   392.4 msg/s received      197.9 msg/s processed (50%)
[2024-07-05 21:14:27.609][rbfeeder] Server:   ready         0.0 kB/s from server      1.2 kB/s to server
[2024-07-05 21:14:27.609][rbfeeder] Results:  24.9 positions/minute
[2024-07-05 21:14:27.609][rbfeeder] Aircraft: 3 of 12 Mode S, 20 of 30 ADS-B used
[2024-07-05 21:18:12.964][stats] Packets sent in past 5 minutes: 10001, total packets since container start: 2510
**[2024-07-05 21:18:22.935][watchdog] [WARNING] No packets received from readsb:30005. Restarting rbfeeder binary**
[2024-07-05 21:18:30.976][rbfeeder] [2024-07-05 21:18:30]  Starting RBFeeder Version 1.0.10 (build 20231120150000)
[2024-07-05 21:18:30.979][rbfeeder] [2024-07-05 21:18:30]  Using configuration file: /etc/rbfeeder.ini
[2024-07-05 21:18:30.980][rbfeeder] [2024-07-05 21:18:30]  Network-mode enabled.
[2024-07-05 21:18:30.981][rbfeeder] [2024-07-05 21:18:30]  		Remote host to fetch data: 172.19.0.5
[2024-07-05 21:18:30.981][rbfeeder] [2024-07-05 21:18:30]  		Remote port: 30005
[2024-07-05 21:18:30.982][rbfeeder] [2024-07-05 21:18:30]  		Remote protocol: BEAST
[2024-07-05 21:18:31.063][rbfeeder] [2024-07-05 21:18:31]  Using GNSS (when available)
[2024-07-05 21:18:31.104][rbfeeder] [2024-07-05 21:18:31]  Start date/time: 2024-07-05 21:18:30
[2024-07-05 21:18:31.200][rbfeeder] [2024-07-05 21:18:31]  Socket for ANRB created. Waiting for connections on port 32088
[2024-07-05 21:18:31.842][rbfeeder] mlat-client 0.4.2 starting up
[2024-07-05 21:18:31.842][rbfeeder] Listening for Beast-format results connection on port 30105
[2024-07-05 21:18:31.903][rbfeeder] Connected to multilateration server at mlat1.rb24.com:40900, handshaking
[2024-07-05 21:18:31.934][rbfeeder] Server says: 
[2024-07-05 21:18:31.934][rbfeeder] 
[2024-07-05 21:18:31.934][rbfeeder]         AirNav Server
[2024-07-05 21:18:31.934][rbfeeder] 
[2024-07-05 21:18:31.934][rbfeeder]         The multilateration server source code is available under
[2024-07-05 21:18:31.934][rbfeeder]         the terms of the Affero GPL (v3 or later). You may obtain
[2024-07-05 21:18:31.934][rbfeeder]         a copy of this server's source code at the following
[2024-07-05 21:18:31.934][rbfeeder]         location: https://github.com/adsbexchange/mlat-server
[2024-07-05 21:18:31.934][rbfeeder]         
[2024-07-05 21:18:31.935][rbfeeder] Handshake complete: Compression zlib2, UDP transport disabled, Split sync disabled
[2024-07-05 21:18:31.935][rbfeeder] Input connected to 127.0.0.1:32457
[2024-07-05 21:18:31.936][rbfeeder] Input format changed to BEAST, 12MHz clock
[2024-07-05 21:18:32.239][rbfeeder] [2024-07-05 21:18:32]  Connection established.
[2024-07-05 21:18:32.357][rbfeeder] [2024-07-05 21:18:32]  Connection with RadarBox24 server OK! Key accepted by server.
[2024-07-05 21:18:32.358][rbfeeder] [2024-07-05 21:18:32]  This is your station serial number: EXTRPIXXXX
[2024-07-05 21:18:32.368][rbfeeder] [2024-07-05 21:18:32]  Client type: Raspberry Pi
[2024-07-05 21:18:32.540][rbfeeder] Beast-format results connection with 127.0.0.1:32004: connection established
[2024-07-05 21:19:00.447][rbfeeder] Accepted Beast-format results connection from ::ffff:172.19.0.6:46576
[2024-07-05 21:19:32.117][rbfeeder] Receiver: connected   429.4 msg/s received      188.8 msg/s processed (44%)
[2024-07-05 21:19:32.117][rbfeeder] Server:   ready         0.0 kB/s from server      1.2 kB/s to server
[2024-07-05 21:19:32.117][rbfeeder] Results:  23.9 positions/minute
[2024-07-05 21:19:32.117][rbfeeder] Aircraft: 3 of 16 Mode S, 18 of 31 ADS-B used
[2024-07-05 21:23:15.219][stats] Packets sent in past 5 minutes: 12832, total packets since container start: 2831
**[2024-07-05 21:23:27.075][watchdog] [WARNING] No packets received from readsb:30005. Restarting rbfeeder binary**
[2024-07-05 21:23:35.421][rbfeeder] [2024-07-05 21:23:35]  Starting RBFeeder Version 1.0.10 (build 20231120150000)
[2024-07-05 21:23:35.423][rbfeeder] [2024-07-05 21:23:35]  Using configuration file: /etc/rbfeeder.ini
[2024-07-05 21:23:35.424][rbfeeder] [2024-07-05 21:23:35]  Network-mode enabled.
[2024-07-05 21:23:35.424][rbfeeder] [2024-07-05 21:23:35]  		Remote host to fetch data: 172.19.0.5
[2024-07-05 21:23:35.424][rbfeeder] [2024-07-05 21:23:35]  		Remote port: 30005
[2024-07-05 21:23:35.424][rbfeeder] [2024-07-05 21:23:35]  		Remote protocol: BEAST
[2024-07-05 21:23:35.506][rbfeeder] [2024-07-05 21:23:35]  Using GNSS (when available)
[2024-07-05 21:23:35.547][rbfeeder] [2024-07-05 21:23:35]  Start date/time: 2024-07-05 21:23:35
[2024-07-05 21:23:35.636][rbfeeder] [2024-07-05 21:23:35]  Socket for ANRB created. Waiting for connections on port 32088
[2024-07-05 21:23:36.275][rbfeeder] mlat-client 0.4.2 starting up
[2024-07-05 21:23:36.276][rbfeeder] Listening for Beast-format results connection on port 30105
[2024-07-05 21:23:36.329][rbfeeder] Connected to multilateration server at mlat1.rb24.com:40900, handshaking
[2024-07-05 21:23:36.349][rbfeeder] Server says: 
[2024-07-05 21:23:36.349][rbfeeder] 
[2024-07-05 21:23:36.349][rbfeeder]         AirNav Server
[2024-07-05 21:23:36.349][rbfeeder] 
[2024-07-05 21:23:36.349][rbfeeder]         The multilateration server source code is available under
[2024-07-05 21:23:36.349][rbfeeder]         the terms of the Affero GPL (v3 or later). You may obtain
[2024-07-05 21:23:36.349][rbfeeder]         a copy of this server's source code at the following
[2024-07-05 21:23:36.349][rbfeeder]         location: https://github.com/adsbexchange/mlat-server
[2024-07-05 21:23:36.349][rbfeeder]         
[2024-07-05 21:23:36.350][rbfeeder] Handshake complete: Compression zlib2, UDP transport disabled, Split sync disabled
[2024-07-05 21:23:36.350][rbfeeder] Input connected to 127.0.0.1:32457
[2024-07-05 21:23:36.351][rbfeeder] Input format changed to BEAST, 12MHz clock
[2024-07-05 21:23:36.673][rbfeeder] [2024-07-05 21:23:36]  Connection established.
[2024-07-05 21:23:36.810][rbfeeder] [2024-07-05 21:23:36]  Client type: Raspberry Pi
[2024-07-05 21:23:36.891][rbfeeder] [2024-07-05 21:23:36]  Connection with RadarBox24 server OK! Key accepted by server.
[2024-07-05 21:23:36.892][rbfeeder] [2024-07-05 21:23:36]  This is your station serial number: EXTRPIXXXX
[2024-07-05 21:23:36.953][rbfeeder] Beast-format results connection with 127.0.0.1:32004: connection established
[2024-07-05 21:24:04.853][rbfeeder] Accepted Beast-format results connection from ::ffff:172.19.0.6:59764
[2024-07-05 21:24:36.665][rbfeeder] Receiver: connected   394.3 msg/s received       76.6 msg/s processed (19%)
[2024-07-05 21:24:36.665][rbfeeder] Server:   ready         0.0 kB/s from server      0.6 kB/s to server
[2024-07-05 21:24:36.665][rbfeeder] Results:  15.9 positions/minute
[2024-07-05 21:24:36.665][rbfeeder] Aircraft: 2 of 15 Mode S, 17 of 25 ADS-B used
[2024-07-05 21:28:17.703][stats] Packets sent in past 5 minutes: 14940, total packets since container start: 2108
**[2024-07-05 21:28:31.239][watchdog] [WARNING] No packets received from readsb:30005. Restarting rbfeeder binary**
[2024-07-05 21:28:39.854][rbfeeder] [2024-07-05 21:28:39]  Starting RBFeeder Version 1.0.10 (build 20231120150000)
[2024-07-05 21:28:39.857][rbfeeder] [2024-07-05 21:28:39]  Using configuration file: /etc/rbfeeder.ini
[2024-07-05 21:28:39.857][rbfeeder] [2024-07-05 21:28:39]  Network-mode enabled.
[2024-07-05 21:28:39.858][rbfeeder] [2024-07-05 21:28:39]  		Remote host to fetch data: 172.19.0.5
[2024-07-05 21:28:39.858][rbfeeder] [2024-07-05 21:28:39]  		Remote port: 30005
[2024-07-05 21:28:39.859][rbfeeder] [2024-07-05 21:28:39]  		Remote protocol: BEAST
[2024-07-05 21:28:39.941][rbfeeder] [2024-07-05 21:28:39]  Using GNSS (when available)
[2024-07-05 21:28:39.983][rbfeeder] [2024-07-05 21:28:39]  Start date/time: 2024-07-05 21:28:39
[2024-07-05 21:28:40.077][rbfeeder] [2024-07-05 21:28:40]  Socket for ANRB created. Waiting for connections on port 32088
[2024-07-05 21:28:40.714][rbfeeder] mlat-client 0.4.2 starting up
[2024-07-05 21:28:40.715][rbfeeder] Listening for Beast-format results connection on port 30105
[2024-07-05 21:28:40.766][rbfeeder] Connected to multilateration server at mlat1.rb24.com:40900, handshaking
[2024-07-05 21:28:40.792][rbfeeder] Server says: 
[2024-07-05 21:28:40.792][rbfeeder] 
[2024-07-05 21:28:40.792][rbfeeder]         AirNav Server
[2024-07-05 21:28:40.792][rbfeeder] 
[2024-07-05 21:28:40.792][rbfeeder]         The multilateration server source code is available under
[2024-07-05 21:28:40.792][rbfeeder]         the terms of the Affero GPL (v3 or later). You may obtain
[2024-07-05 21:28:40.792][rbfeeder]         a copy of this server's source code at the following
[2024-07-05 21:28:40.792][rbfeeder]         location: https://github.com/adsbexchange/mlat-server
[2024-07-05 21:28:40.792][rbfeeder]         
[2024-07-05 21:28:40.792][rbfeeder] Handshake complete: Compression zlib2, UDP transport disabled, Split sync disabled
[2024-07-05 21:28:40.793][rbfeeder] Input connected to 127.0.0.1:32457
[2024-07-05 21:28:40.793][rbfeeder] Input format changed to BEAST, 12MHz clock
[2024-07-05 21:28:41.115][rbfeeder] [2024-07-05 21:28:41]  Connection established.
[2024-07-05 21:28:41.233][rbfeeder] [2024-07-05 21:28:41]  Connection with RadarBox24 server OK! Key accepted by server.
[2024-07-05 21:28:41.234][rbfeeder] [2024-07-05 21:28:41]  This is your station serial number: EXTRPIXXXX
[2024-07-05 21:28:41.244][rbfeeder] [2024-07-05 21:28:41]  Client type: Raspberry Pi
[2024-07-05 21:28:41.396][rbfeeder] Beast-format results connection with 127.0.0.1:32004: connection established
[2024-07-05 21:29:09.247][rbfeeder] Accepted Beast-format results connection from ::ffff:172.19.0.6:46392
[2024-07-05 21:29:41.208][rbfeeder] Receiver: connected   297.3 msg/s received       61.2 msg/s processed (21%)
[2024-07-05 21:29:41.208][rbfeeder] Server:   ready         0.0 kB/s from server      0.4 kB/s to server
[2024-07-05 21:29:41.208][rbfeeder] Results:  12.9 positions/minute
[2024-07-05 21:29:41.208][rbfeeder] Aircraft: 1 of 13 Mode S, 16 of 26 ADS-B used
[2024-07-05 21:33:20.186][stats] Packets sent in past 5 minutes: 14148, total packets since container start: 1933
**[2024-07-05 21:33:35.368][watchdog] [WARNING] No packets received from readsb:30005. Restarting rbfeeder binary**

readsb container log:

[readsb] 2024/07/05 21:03:15 Beast TCP output: Receive Error: Connection reset by peer: 172.19.0.9 port 60416 (fd 15, SendQ 0, RecvQ 0)
[readsb] 2024/07/05 21:08:20 Beast TCP output: Receive Error: Connection reset by peer: 172.19.0.9 port 44998 (fd 15, SendQ 0, RecvQ 0)
[readsb] 2024/07/05 21:13:24 Beast TCP output: Receive Error: Connection reset by peer: 172.19.0.9 port 44246 (fd 15, SendQ 0, RecvQ 0)
[readsb] 2024/07/05 21:18:29 Beast TCP output: Receive Error: Connection reset by peer: 172.19.0.9 port 39284 (fd 15, SendQ 0, RecvQ 0)
[readsb] 2024/07/05 21:23:33 Beast TCP output: Receive Error: Connection reset by peer: 172.19.0.9 port 58148 (fd 15, SendQ 0, RecvQ 0)
[readsb] 2024/07/05 21:28:38 Beast TCP output: Receive Error: Connection reset by peer: 172.19.0.9 port 52624 (fd 15, SendQ 0, RecvQ 0)
[readsb] 2024/07/05 21:33:42 Beast TCP output: Receive Error: Connection reset by peer: 172.19.0.9 port 35636 (fd 15, SendQ 0, RecvQ 0)

dump978 support?

Hello,

RB has been sending out a lot of ULAT/978 antennas (basically just rtlsdrs with a nice antenna). I'd love to try to get docker-radarbox to play nice with the rest of the docker-compose formation and pull 978 info, but am not 100% sure what's involved since RB's documentation is a little opaque and assumes you're running a pi.

I'll dig into it, but has anyone come across a working solution yet?

CPU Serial empty. Could not start connection. Timeout.

Issue: "CPU Serial empty." and "Could not start connection. Timeout." errors using RBFeeder Version 1.0.7 (build 20221027145800) via ghcr.io/sdr-enthusiasts/docker-radarbox:latest and mikenye/radarbox:latest images.

The log entries refer to https://github.com/mikenye/docker-radarbox/blob/master/README.md#workaround-for-cpu-serial, but there is no workaround on that page. However, I have copied cpuinfo into fake_cpuinfo, generated a serial number, added the serial number to the end of fake_cpuinfo, and mapped the fake_cpuinfo volume in the rbfeeder container. I am able to see my serial number when running "cat /proc/cpuinfo" from inside the container.

Workaround: Reverting to RBFeeder Version 0.4.3 (build 20210909231001) (image: mikenye/radarbox:0.4.3-20210909231001) fixes issue.

docker logs -f rbfeeder

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-libsecomp2: executing...
[cont-init.d] 00-libsecomp2: exited 0.
[cont-init.d] 01-rbfeeder: executing...
[cont-init.d] 01-rbfeeder: exited 0.
[cont-init.d] done.
[services.d] starting services
[978json-splitter] 2022/12/08 08:24:11 socat[266] W ioctl(5, IOCTL_VM_SOCKETS_GET_LOCAL_CID, ...): Inappropriate ioctl for device
[978json-splitter] 2022/12/08 08:24:11 socat[266] N listening on AF=2 0.0.0.0:30979
[services.d] done.
[rbfeeder] 2022/12/08 08:24:11 [2022-12-08 08:24:11]  Starting RBFeeder Version 1.0.7 (build 20221027145800)
[rbfeeder] 2022/12/08 08:24:11 [2022-12-08 08:24:11]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] 2022/12/08 08:24:11 [2022-12-08 08:24:11]  Network-mode enabled.
[rbfeeder] 2022/12/08 08:24:11 [2022-12-08 08:24:11]  		Remote host to fetch data: 172.18.0.9
[rbfeeder] 2022/12/08 08:24:11 [2022-12-08 08:24:11]  		Remote port: 30005
[rbfeeder] 2022/12/08 08:24:11 [2022-12-08 08:24:11]  		Remote protocol: BEAST
[rbfeeder] 2022/12/08 08:24:11 [2022-12-08 08:24:11]  Using GNSS (when available)
[rbfeeder] 2022/12/08 08:24:11 [2022-12-08 08:24:11]  Start date/time: 2022-12-08 08:24:11
[rbfeeder] 2022/12/08 08:24:11 [2022-12-08 08:24:11]  Socket for ANRB created. Waiting for connections on port 32088
[rbfeeder] 2022/12/08 08:24:13 [2022-12-08 08:24:13]  Connection established.
[rbfeeder] 2022/12/08 08:24:13 [2022-12-08 08:24:13]  CPU Serial empty.
[rbfeeder] 2022/12/08 08:24:13 [2022-12-08 08:24:13]  Could not start connection. Timeout.
[978json-splitter] 2022/12/08 08:24:14 socat[266] N accepting connection from AF=2 127.0.0.1:48976 on AF=2 127.0.0.1:30979
[978json-splitter] 2022/12/08 08:24:14 socat[266] N forked off child process 296
[978json-splitter] 2022/12/08 08:24:14 socat[266] N listening on AF=2 0.0.0.0:30979
[978json-splitter] 2022/12/08 08:24:14 socat[296] N opening connection to AF=2 172.18.0.7:30979
[978json-splitter] 2022/12/08 08:24:14 socat[296] N successfully connected from local address AF=2 172.18.0.13:53614
[978json-splitter] 2022/12/08 08:24:14 socat[296] N starting data transfer loop with FDs [6,6] and [5,5]

************ ATTENTION! ************

In order to fix the 'CPU Serial empty' issue you are experiencing,
please see: https://github.com/mikenye/docker-radarbox/blob/master/README.md#workaround-for-cpu-serial

************************************

[rbfeeder] 2022/12/08 08:25:11 [2022-12-08 08:25:11]  ******** Statistics updated every 60 seconds ********
[rbfeeder] 2022/12/08 08:25:11 [2022-12-08 08:25:11]  Packets sent in the last 60 seconds: 0, Total packets sent since startup: 0
[rbfeeder] 2022/12/08 08:25:13 [2022-12-08 08:25:13]  Connection established.
[rbfeeder] 2022/12/08 08:25:13 [2022-12-08 08:25:13]  CPU Serial empty.
[rbfeeder] 2022/12/08 08:25:13 [2022-12-08 08:25:13]  Could not start connection. Timeout.

Relevant part of compose file:

### RadarBox ###
  rbfeeder:
    image: ghcr.io/sdr-enthusiasts/docker-radarbox:latest
#    image: mikenye/radarbox:latest
#    image: mikenye/radarbox:0.4.3-20210909231001
    tty: true
    container_name: rbfeeder
    restart: always
    depends_on:
      - readsb
    environment:
      - BEASTHOST=readsb
      - LAT=${FEEDER_LAT}
      - LONG=${FEEDER_LONG}
      - ALT=${FEEDER_ALT_M}
      - TZ=${FEEDER_TZ}
      - SHARING_KEY=${RADARBOX_SHARING_KEY}
      - UAT_RECEIVER_HOST=dump978
    volumes:
      - '/home/quoc/adsb/data/fake_cpuinfo:/proc/cpuinfo'
    tmpfs:
      - /run:exec,size=64M
      - /var/log

Environment:

  • Rock64
  • Armbian 22.11 Jammy CLI
  • Docker version 20.10.21, build baeda1f
  • Docker Compose version v2.12.2
  • Other services successfully running on same host: readsb, dump978, adsbx, piaware, fr24, pfclient, adsbhub, opensky, tar1090, autoheal, watchtower, lighttpd.

stats script missing output

Stats script appears to be missing "total packets since container start":

[stats] Packets sent in past 5 minutes: 2106, total packets since container start:

Could not resolve host name specified in 'external_host'.

The latest image got updated last night and since then my rbfeeder is not working anymore. The logs are full with the following error messages:

[rbfeeder] getaddrinfo: Name or service not known
[rbfeeder] [2023-03-24 10:40:59]  Could not resolve host name specified in 'external_host'.
[rbfeeder] getaddrinfo: Name or service not known
[rbfeeder] [2023-03-24 10:41:00]  Could not resolve host name specified in 'external_host'.
[rbfeeder] getaddrinfo: Name or service not known

This used to work fine before the last update. I think this commit might be related: 965f76b

For reference, here is my docker compose:

  rbfeeder:
    image: ghcr.io/sdr-enthusiasts/docker-radarbox:latest
    container_name: rbfeeder
    restart: unless-stopped
    environment:
      - TZ=Europe/Amsterdam
      - BEASTHOST=192.168.30.224
      - LAT=<REDACTED>
      - LONG=<REDACTED>
      - ALT=25
      - SHARING_KEY=<REDACTED>
      - ENABLE_MLAT=false

Thanks

Segmentation fault (core dumped)

Hi Mike,

Me again, sorry for the inconvenience.
After a few days of working the docker, I appreciate in the logs a segmentation fault.

These are the logs

,[mlat-client] Delaying mlat-client startup until rbfeeder receives station sn...
,[rbfeeder] [2020-05-21 16:15:08]  Starting RBFeeder Version 0.2.6 (build 20180313082038)
,[rbfeeder] [2020-05-21 16:15:08]  Using configuration file: /etc/rbfeeder.ini
,[rbfeeder] [2020-05-21 16:15:08]  Network-mode enabled.
,[rbfeeder] [2020-05-21 16:15:08]  		Remote host to fetch data: xx.xx.xx.xx
,[rbfeeder] [2020-05-21 16:15:08]  		Remote port: 30005
,[rbfeeder] [2020-05-21 16:15:08]  		Remote protocol: BEAST
,[rbfeeder] [2020-05-21 16:15:08]  System: raspberry
,[rbfeeder] [2020-05-21 16:15:08]  Start date/time: 2020-05-21 16:15:07
,[rbfeeder] [2020-05-21 16:15:08]  Socket for ANRB created. Waiting for connections on port 32088
,[rbfeeder] [2020-05-21 16:15:09]  Connection established.
,[rbfeeder] [2020-05-21 16:15:10]  Connection with RadarBox24 server OK! Key accepted by server.
,[rbfeeder] [2020-05-21 16:15:38]  ******** Statistics updated every 30 seconds ********
,[rbfeeder] [2020-05-21 16:15:38]  Packets sent in the last 30 seconds: 40, Total packets sent since startup: 40
,[mlat-client] Thu May 21 16:15:38 2020 mlat-client 0.2.11 starting up
,[mlat-client] Thu May 21 16:15:38 2020 Listening for Beast-format results connection on port 30105
,[mlat-client] Thu May 21 16:15:38 2020 Connected to multilateration server at mlat1.rb24.com:40900, handshaking
,Segmentation fault (core dumped)

My apologies for the inconvenience
Thanks again four your support

Kind regards
Alex

rbfeeder reports that I cannot connect to AirNav Server

Not sure what I can provide to help better figure this one out, but I guess starting with logs help.

Recreating radarbox ... done
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-libsecomp2: executing...
[cont-init.d] 00-libsecomp2: exited 0.
[cont-init.d] 01-rbfeeder: executing...
[cont-init.d] 01-rbfeeder: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[978json-splitter] 2022/07/28 01:05:19 socat[263] W ioctl(5, IOCTL_VM_SOCKETS_GET_LOCAL_CID, ...): Inappropriate ioctl for device
[978json-splitter] 2022/07/28 01:05:19 socat[263] N listening on AF=2 0.0.0.0:30979
[rbfeeder] 2022/07/28 01:05:19 [2022-07-28 01:05:19]  Starting RBFeeder Version 1.0.7 (build 20220719091400)
[rbfeeder] 2022/07/28 01:05:19 [2022-07-28 01:05:19]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] 2022/07/28 01:05:19 [2022-07-28 01:05:19]  Network-mode enabled.
[rbfeeder] 2022/07/28 01:05:19 [2022-07-28 01:05:19]  		Remote host to fetch data: 192.168.1.193
[rbfeeder] 2022/07/28 01:05:19 [2022-07-28 01:05:19]  		Remote port: 30005
[rbfeeder] 2022/07/28 01:05:19 [2022-07-28 01:05:19]  		Remote protocol: BEAST
[rbfeeder] 2022/07/28 01:05:19 [2022-07-28 01:05:19]  Using GNSS (when available)
[rbfeeder] 2022/07/28 01:05:19 [2022-07-28 01:05:19]  Start date/time: 2022-07-28 01:05:19
[rbfeeder] 2022/07/28 01:05:19 [2022-07-28 01:05:19]  Socket for ANRB created. Waiting for connections on port 32088
[978json-splitter] 2022/07/28 01:05:22 socat[263] N accepting connection from AF=2 127.0.0.1:58596 on AF=2 127.0.0.1:30979
[978json-splitter] 2022/07/28 01:05:22 socat[263] N forked off child process 291
[978json-splitter] 2022/07/28 01:05:22 socat[263] N listening on AF=2 0.0.0.0:30979
[978json-splitter] 2022/07/28 01:05:22 socat[291] N opening connection to AF=2 192.168.1.193:30979
[978json-splitter] 2022/07/28 01:05:22 socat[291] N successfully connected from local address AF=2 172.18.0.3:34676
[978json-splitter] 2022/07/28 01:05:22 socat[291] N starting data transfer loop with FDs [6,6] and [5,5]
[rbfeeder] 2022/07/28 01:05:25 [2022-07-28 01:05:25]  Can't connect to AirNav Server. Retry in 60 seconds.
[rbfeeder] 2022/07/28 01:06:19 [2022-07-28 01:06:19]  ******** Statistics updated every 60 seconds ********
[rbfeeder] 2022/07/28 01:06:19 [2022-07-28 01:06:19]  Packets sent in the last 60 seconds: 0, Total packets sent since startup: 0
[rbfeeder] 2022/07/28 01:06:19 [2022-07-28 01:06:19]  Data sent: 0 B
[rbfeeder] 2022/07/28 01:06:19 [2022-07-28 01:06:19]  Data received: 0 B
[rbfeeder] 2022/07/28 01:06:25 [2022-07-28 01:06:25]  Connection established.

Docker-compose.yml

...
    radarbox:
        image: ghcr.io/sdr-enthusiasts/docker-radarbox:latest
        tty: true
        container_name: radarbox
        restart: always
        env_file: common.env
        volumes:
            - ./radarbox/faketemp:/sys/class/thermal:ro
            - ./radarbox/fakecpuinfo:/proc/cpuinfo:ro
        environment:
            - SHARING_KEY=xxx
            - ENABLE_MLAT=true
            - UAT_RECEIVER_PORT=30979
            - VERBOSE_LOGGING=true
            - LAT=xxx
            - LONG=xxx
            - ALT=xxx
            - RECEIVER_TYPE=relay
            - BEASTHOST=192.168.1.193
            - BEASTPORT=30005
            - UAT_RECEIVER_HOST=192.168.1.193
            - UAT_RECEIVER_PORT=30978
            - UAT_RECEIVER_TYPE=relay
        dns:
            - xxx
            - xxx
        tmpfs:
            - /run:exec,size=64M
            - /var/log
...

Error Segmentation fault (core dumped) qemu-arm-static /usr/bin/rbfeeder_arm "$@"

I have set this up previously with no issue, but when I moved to a new vm, I keep getting the following error when running rbfeeder

This isn't an arm machine (it's an old pc running proxmox which ran this prior fine). I tried pulling just the amd version using the amd tag and got the same error.

rbfeeder  | [2024-01-22 16:10:57.722][rbfeeder] [2024-01-22 16:10:57]  Starting RBFeeder Version 1.0.10 (build 20231120150000)
rbfeeder  | [2024-01-22 16:10:57.723][rbfeeder] [2024-01-22 16:10:57]  Using configuration file: /etc/rbfeeder.ini
rbfeeder  | [2024-01-22 16:10:57.723][rbfeeder] [2024-01-22 16:10:57]  Network-mode enabled.
rbfeeder  | [2024-01-22 16:10:57.723][rbfeeder] [2024-01-22 16:10:57]           Remote host to fetch data: 172.18.0.6
rbfeeder  | [2024-01-22 16:10:57.723][rbfeeder] [2024-01-22 16:10:57]           Remote port: 30005
rbfeeder  | [2024-01-22 16:10:57.723][rbfeeder] [2024-01-22 16:10:57]           Remote protocol: BEAST
rbfeeder  | [2024-01-22 16:10:57.734][rbfeeder] [2024-01-22 16:10:57]  Using GNSS (when available)
rbfeeder  | [2024-01-22 16:10:57.741][rbfeeder] [2024-01-22 16:10:57]  Start date/time: 2024-01-22 16:10:57
rbfeeder  | [2024-01-22 16:10:57.761][rbfeeder] [2024-01-22 16:10:57]  Socket for ANRB created. Waiting for connections on port 32088
rbfeeder  | [2024-01-22 16:10:57.771][rbfeeder] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
rbfeeder  | [2024-01-22 16:10:57.876][rbfeeder] /usr/bin/rbfeeder: line 20:  3694 Segmentation fault      (core dumped) qemu-arm-static /usr/bin/rbfeeder_arm "$@"
rbfeeder  | [2024-01-22 16:10:57.876][rbfeeder] [ERROR] /usr/bin/rbfeeder in line 15 when executing: qemu-arm-static /usr/bin/rbfeeder_arm "$@"

Docker-compose:

services:
  ultrafeeder:
  # ultrafeeder combines a number of functions:
  # - it retrieves and decodes 1090MHz Mode A/C/S data from the SDR(s) using Wiedehopf's branch of readsb
  # - it implements a `tar1090` based map on port 80 (mapped to port 8080 on the host)
  # - it includes graph1090 (system statistics website) on http://xxxxx/graphs1090
  # - it sends ADSB data directly (without the need of additional containers) to the
  #   "new" aggregators, and, if desired, also to AdsbExchange
  # - it includes mlat-client to send MLAT data to these aggregators
  # - it includes an MLAT Hub to consolidate MLAT results and make them available to the built-in map and other services

    image: ghcr.io/sdr-enthusiasts/docker-adsb-ultrafeeder
    tty: true
    container_name: ultrafeeder
    hostname: ultrafeeder
    restart: unless-stopped
    device_cgroup_rules:
      - 'c 189:* rwm'
    ports:
      - 8080:80               # to expose the web interface
    environment:
      # --------------------------------------------------
      # general parameters:
      - LOGLEVEL=error
      - TZ=${FEEDER_TZ}
      # --------------------------------------------------
      # SDR related parameters:
      - READSB_DEVICE_TYPE=rtlsdr
      - READSB_RTLSDR_DEVICE=${ADSB_SDR_SERIAL}
      - READSB_RTLSDR_PPM=${ADSB_SDR_PPM}
      #
      # --------------------------------------------------
      # readsb/decoder parameters:
      - READSB_LAT=${FEEDER_LAT}
      - READSB_LON=${FEEDER_LONG}
      - READSB_ALT=${FEEDER_ALT_M}m
      - READSB_GAIN=${ADSB_SDR_GAIN}
      - READSB_RX_LOCATION_ACCURACY=2
      - READSB_STATS_RANGE=true
      #
      # --------------------------------------------------
      # Sources and Aggregator connections:
      # Note - remove the ones you are not using / feeding
      #  Make sure that each line ends with a semicolon ";",  with the
      #  exception of the last line which shouldn't have a ";"
      - ULTRAFEEDER_CONFIG=
          adsb,dump978,30978,uat_in;
          adsb,feed.adsb.fi,30004,beast_reduce_plus_out;
          adsb,in.adsb.lol,30004,beast_reduce_plus_out;
          adsb,feed.airplanes.live,30004,beast_reduce_plus_out;
          adsb,feed.planespotters.net,30004,beast_reduce_plus_out;
          adsb,feed.theairtraffic.com,30004,beast_reduce_plus_out;
          adsb,data.avdelphi.com,24999,beast_reduce_plus_out;
          adsb,skyfeed.hpradar.com,30004,beast_reduce_plus_out;
          adsb,feed.radarplane.com,30001,beast_reduce_plus_out;
          adsb,dati.flyitalyadsb.com,4905,beast_reduce_plus_out;
          mlat,feed.adsb.fi,31090,39000;
          mlat,in.adsb.lol,31090,39001;
          mlat,feed.airplanes.live,31090,39002;
          mlat,mlat.planespotters.net,31090,39003;
          mlat,feed.theairtraffic.com,31090,39004;
          mlat,skyfeed.hpradar.com,31090,39005;
          mlat,feed.radarplane.com,31090,39006;
          mlat,dati.flyitalyadsb.com,30100,39007;
          mlathub,piaware,30105,beast_in;
          mlathub,rbfeeder,30105,beast_in;
          mlathub,radarvirtuel,30105,beast_in;
          mlathub,planewatch,30105,beast_in
      # --------------------------------------------------
      - UUID=${ULTRAFEEDER_UUID}
      - MLAT_USER=${FEEDER_NAME}
      - READSB_FORWARD_MLAT_SBS=true
      #
      # --------------------------------------------------
      # TAR1090 (Map Web Page) parameters:
      - UPDATE_TAR1090=true
      - TAR1090_DEFAULTCENTERLAT=${FEEDER_LAT}
      - TAR1090_DEFAULTCENTERLON=${FEEDER_LONG}
      - TAR1090_MESSAGERATEINTITLE=true
      - TAR1090_PAGETITLE=${FEEDER_NAME}
      - TAR1090_PLANECOUNTINTITLE=true
      - TAR1090_ENABLE_AC_DB=true
      - TAR1090_FLIGHTAWARELINKS=true
      - HEYWHATSTHAT_PANORAMA_ID=${FEEDER_HEYWHATSTHAT_ID}
      - HEYWHATSTHAT_ALTS=${FEEDER_HEYWHATSTHAT_ALTS}
      - TAR1090_SITESHOW=true
      - TAR1090_RANGE_OUTLINE_COLORED_BY_ALTITUDE=true
      - TAR1090_RANGE_OUTLINE_WIDTH=2.0
      - TAR1090_RANGERINGSDISTANCES=50,100,150,200
      - TAR1090_RANGERINGSCOLORS='#1A237E','#0D47A1','#42A5F5','#64B5F6'
      - TAR1090_USEROUTEAPI=true
      #
      # --------------------------------------------------
      # GRAPHS1090 (Decoder and System Status Web Page) parameters:
      - GRAPHS1090_DARKMODE=true
      #
      # --------------------------------------------------
    volumes:
      - /opt/adsb/ultrafeeder/globe_history:/var/globe_history
      - /opt/adsb/ultrafeeder/graphs1090:/var/lib/collectd
      - /proc/diskstats:/proc/diskstats:ro
      - /dev:/dev:ro
    tmpfs:
      - /run:exec,size=256M
      - /tmp:size=128M
      - /var/log:size=32M

# Radarbox Feeder
  rbfeeder:
    image: ghcr.io/sdr-enthusiasts/docker-radarbox:latest
    tty: true
    container_name: rbfeeder
    restart: always
    volumes:
      - /opt/adsb/data/fake_cpuinfo:/proc/cpuinfo
    environment:
      - BEASTHOST=ultrafeeder
      - LAT=${FEEDER_LAT}
      - LONG=${FEEDER_LONG}
      - ALT=${FEEDER_ALT_M}
      - TZ=${FEEDER_TZ}
      - SHARING_KEY=${RADARBOX_SHARING_KEY}
    tmpfs:
      - /run:exec,size=64M
      - /var/log

Fake_cpu if needed:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 107
model name      : QEMU Virtual CPU version 2.5+
stepping        : 1
microcode       : 0x1
cpu MHz         : 3092.838
cache size      : 16384 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm cpuid_fault pti
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips        : 6185.67
clflush size    : 64
cache_alignment : 128
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 107
model name      : QEMU Virtual CPU version 2.5+
stepping        : 1
microcode       : 0x1
cpu MHz         : 3092.838
cache size      : 16384 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm cpuid_fault pti
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips        : 6185.67
clflush size    : 64
cache_alignment : 128
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 15
model           : 107
model name      : QEMU Virtual CPU version 2.5+
stepping        : 1
microcode       : 0x1
cpu MHz         : 3092.838
cache size      : 16384 KB
physical id     : 1
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm cpuid_fault pti
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips        : 6185.67
clflush size    : 64
cache_alignment : 128
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 15
model           : 107
model name      : QEMU Virtual CPU version 2.5+
stepping        : 1
microcode       : 0x1
cpu MHz         : 3092.838
cache size      : 16384 KB
physical id     : 1
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm cpuid_fault pti
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips        : 6185.67
clflush size    : 64
cache_alignment : 128
address sizes   : 40 bits physical, 48 bits virtual
power management:

serial          : 1b25acdcf052e6ab

I can share my .env if really needed but it will all be redacted for obvious reasons. I've verified the key and naming convention within the env file.

I'm sure it's something dumb I've done, but I can't figure out what it might be. Any help would be greatly appreciated. Thank you.

Corrupt ini on x86_64 using podman

Ran into issues obtaining the sharing key, and saw #77 and #82 and was able to obtain a sharing key via the suggested work around there.

Upon getting the key I continued following the instructions from https://sdr-enthusiasts.gitbook.io/ads-b/feeder-containers/feeding-radarbox and completed my docker-compose.yaml with the appropriate section.

relevant section of docker compose:

  rbfeeder:
    labels:
      io.containers.autoupdate: registry
    image: ghcr.io/sdr-enthusiasts/docker-radarbox:latest
    tty: true
    container_name: rbfeeder
    restart: always
    depends_on:
      - readsbu
    environment:
      - BEASTHOST=readsb
      - LAT=${FEEDER_LAT}
      - LONG=${FEEDER_LONG}
      - ALT=${FEEDER_ALT_M}
      - TZ=${FEEDER_TZ}
      - SHARING_KEY=${RADARBOX_SHARING_KEY}
    tmpfs:
      - /run:exec,size=64M
      - /var/log

Upon startup of the container however it basically runs into nothing bot log errors:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-libsecomp2: executing... 
[cont-init.d] 00-libsecomp2: exited 0.
[cont-init.d] 01-show-rbfeeder-changelog.sh: executing... 

rbfeeder (1:1.0.8+deb11) bullseye; urgency=medium

  * Fix altitude wrong value.
  * Update dump1090 to the latest version.
  * Filter calculated weather values. 
  * New field: TAS.
  * New field: Track.
  * New field: True Heading.
  * New field: ADS-B Version.
  * New field: ADS-R Version.
  * New field: TIS-B Version.
  * New field: MRAR Wind Speed.
  * New field: MRAR Wind Dir.
  * New field: MRAR Pressure.
  * New field: MRAR Temperature.
  * New field: MRAR Turbulence.
  * New field: MRAR Humidity.
  * New field: Roll.
  * New command line option: --debug-level (override configuration file).
  * New command line option: --debug-filter <text> to filter debug messages.

 --  Jonis Maurin Ceara <[email protected]>  Fri, 08 Jul 2022 16:52:56 +0300

[cont-init.d] 01-show-rbfeeder-changelog.sh: exited 0.
[cont-init.d] 02-rbfeeder.sh: executing... 
[cont-init.d] 02-rbfeeder.sh: exited 0.
[cont-init.d] 03-show-architecture.sh: executing... 

Hardware information:
Machine:   x86_64
Processor: unknown
Platform:  unknown

[cont-init.d] 03-show-architecture.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Starting RBFeeder Version 1.0.8 (build 20220708190411)
[rbfeeder] [2023-03-06 21:33:28]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] [2023-03-06 21:33:28]  Network-mode disabled. Using local dongle.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Using GNSS (when available)
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file (/etc/rbfeeder.ini).
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Start date/time: 2023-03-06 21:33:28
[rbfeeder] [2023-03-06 21:33:28]  Socket for ANRB created. Waiting for connections on port 32088
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] [2023-03-06 21:33:28]  Error loading ini file.
[rbfeeder] /usr/bin/dump1090-rb: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory

Not sure what's up with the libncurses failure, but snagging the ini file from the container yields:


[client]
network_mode=true
log_file=/var/log/rbfeeder.log
debug_level=0

key=[redacted]
lat=45.521999
lon=-122.903188
alt=24

[network]
mode=beast

external_port=30005
external_host=10.89.0.32
10.89.0.32
[mlat]
mlat_cmd=/usr/bin/python3 /usr/local/bin/mlat-client --results beast,listen,30105
autostart_mlat=true

rbfeeder on x64 - core dump

proxmox 7.3 on AMD CPU in Ubuntu 22LTS KVM VM:

root@rbfeeder:/usr/bin# ./rbfeeder
[2023-03-15 15:55:04]  Starting RBFeeder Version 1.0.8 (build 20220708190411)
[2023-03-15 15:55:04]  Using configuration file: /etc/rbfeeder.ini
[2023-03-15 15:55:04]  Network-mode enabled.
[2023-03-15 15:55:04]  		Remote host to fetch data: 172.18.0.7
[2023-03-15 15:55:04]  		Remote port: 30005
[2023-03-15 15:55:04]  		Remote protocol: BEAST
[2023-03-15 15:55:04]  Using GNSS (when available)
[2023-03-15 15:55:04]  Start date/time: 2023-03-15 15:55:04
[2023-03-15 15:55:04]  Socket for ANRB created. Waiting for connections on port 32088
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
./rbfeeder: line 17:  3940 Segmentation fault      (core dumped) qemu-arm-static /usr/bin/rbfeeder_armhf "$@"

Known issue or more informaiton needed?

Error in version_0.4.3_workarounds.md

Under Workaround for Temperature Sensor in version_0.4.3_workarounds.md, line 59 reads:

If using docker run, simply add -v /opt/adsb/data/fake_cpuinfo:/proc/cpuinfo to your command.

In context of the Temp Sensor workaround this line should read:

If using docker run, simply add -v /opt/adsb/data/radarbox_segfault_fix:/sys/class/thermal:ro to your command.

External host issue

rbfeeder] getaddrinfo: Name or service not known
[rbfeeder] [2023-07-30 10:05:10] Could not resolve host name specified in 'external_host'.

Any idea where I should start?

Bring back MLAT_INPUT_TYPE

Hi,

The MLAT_INPUT_TYPE variable was added in #17 but removed in #48.
I use a radarcape_gps style receiver, for which I would need to change this parameter.

Can you please add back this variable?

s6-dnsip4: fatal: unable to resolve

Having an issue with the latest build, getting error
s6-dnsip4: fatal: unable to resolve 192.168.1.1: no such domain
on container creation

My docker-compose.yml is the same one I was using successfully on the older build
Looks like there is someone on Reddit having the same issue as well.

  rbfeeder:
    image: mikenye/radarbox:latest
    tty: true
    container_name: rbfeeder
    restart: always
    environment:
      - TZ=America/Detroit
      - BEASTHOST=192.168.1.1
      - LAT=00.0000
      - LONG=00.0000
      - ALT=000
      - SHARING_KEY=xxxxxxxxxxxxxxx
    networks:
      - adsbnet
    ulimits:
      core: 0

unable to create sharing key

while running the docker container on rpi4

โžœ  ~
timeout 300s docker run \
    --rm \
    -it \
    -e BEASTHOST=127.0.0.1 \
    -e LAT=xxxxxxxxxxxx \
    -e LONG=xxxxxxxxxxxxxxxx\
    -e ALT=219m \
    ghcr.io/sdr-enthusiasts/docker-radarbox:latest
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-libsecomp2: executing...
[cont-init.d] 00-libsecomp2: exited 0.
[cont-init.d] 01-show-rbfeeder-changelog.sh: executing...

rbfeeder (1:1.0.8+deb11) bullseye; urgency=medium

  * Fix altitude wrong value.
  * Update dump1090 to the latest version.
  * Filter calculated weather values.
  * New field: TAS.
  * New field: Track.
  * New field: True Heading.
  * New field: ADS-B Version.
  * New field: ADS-R Version.
  * New field: TIS-B Version.
  * New field: MRAR Wind Speed.
  * New field: MRAR Wind Dir.
  * New field: MRAR Pressure.
  * New field: MRAR Temperature.
  * New field: MRAR Turbulence.
  * New field: MRAR Humidity.
  * New field: Roll.
  * New command line option: --debug-level (override configuration file).
  * New command line option: --debug-filter <text> to filter debug messages.

 --  Jonis Maurin Ceara <[email protected]>  Fri, 08 Jul 2022 16:52:56 +0                                                                                                                                                             300

[cont-init.d] 01-show-rbfeeder-changelog.sh: exited 0.
[cont-init.d] 02-rbfeeder.sh: executing...
WARNING: TZ environment variable not set

WARNING: SHARING_KEY environment variable was not set!
Please make sure you note down the key generated.
Pass the key as environment var SHARING_KEY on next launch!

[cont-init.d] 02-rbfeeder.sh: exited 0.
[cont-init.d] 03-show-architecture.sh: executing...

Hardware information:
Machine:   aarch64
Processor: unknown
Platform:  unknown

[cont-init.d] 03-show-architecture.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[rbfeeder] [2023-06-25 00:26:25]  Starting RBFeeder Version 1.0.8 (build 2022070                                                                                                                                                             8190411)
[rbfeeder] [2023-06-25 00:26:25]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] [2023-06-25 00:26:25]  Network-mode enabled.
[rbfeeder] [2023-06-25 00:26:25]                Remote host to fetch data: 127.0                                                                                                                                                             .0.1
[rbfeeder] [2023-06-25 00:26:25]                Remote port: 30005
[rbfeeder] [2023-06-25 00:26:25]                Remote protocol: BEAST
[rbfeeder] [2023-06-25 00:26:25]  Using GNSS (when available)
[rbfeeder] [2023-06-25 00:26:25]  Start date/time: 2023-06-25 00:26:25
[rbfeeder] [2023-06-25 00:26:25]  Socket for ANRB created. Waiting for connectio                                                                                                                                                             ns on port 32088
[rbfeeder] [2023-06-25 00:26:26]  Connection established.
[rbfeeder] [2023-06-25 00:26:26]  Empty sharing key. We will try to create a new                                                                                                                                                              one for you!
[rbfeeder] [2023-06-25 00:26:36]  Timeout waiting for new key. Will try again in 30 seconds.

how to fix this?

Add UAT support

Hi Mike,

RB has started a push for people in the USA to add UAT feeds. They are emailing/giving away UAT dongles and antennas to improve their coverage.
As such, it would be great to add UAT to the capabilities of the container.

It looks like the RadarBox software expects an on-device dump978 instance for this, so you may have to create a SOCAT or similar to connect to your dump978 container.

Here is some info on how to get UAT to work with RadarBox:
https://forum.radarbox24.com/index.php?PHPSESSID=ut24soe2c0eg9ip5i6n0m0c79t&topic=103271.msg444091#msg444091

Note -- the MLAT feeder also isn't working in the container. There's something in the same thread about this. I will do some more research and open a separate issue for this.

Thanks! --R

Invalid sharing-key

Got readsb running on a pi standalone & fr24, adsbx and fa running in docker yesterday.

Tried to add rbfeeder to the mix and I keep running into this issue. (followed this)

I've tried about 10 times now & waited 5,10,15 minutes after getting the key to check the claim page & it always says Invalid sharing key in the logs & online. I've check the rbfeeder.ini file in the container and it has the correct value. I've copied the value from the output & the ini file and they both come up as invalid.

Nothing in their forums seems to indicate others are having this issue. & I've run out of ideas.

Any suggestions?

Logs:

[rbfeeder] 2022/02/24 01:20:13 [2022-02-24 01:20:13]  Starting RBFeeder Version 1.0.7 (build 20220223225100)
[rbfeeder] 2022/02/24 01:20:13 [2022-02-24 01:20:13]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] 2022/02/24 01:20:13 [2022-02-24 01:20:13]  Network-mode enabled.
[rbfeeder] 2022/02/24 01:20:13 [2022-02-24 01:20:13]            Remote host to fetch data: 1.2.3.4
[rbfeeder] 2022/02/24 01:20:13 [2022-02-24 01:20:13]            Remote port: 30005
[rbfeeder] 2022/02/24 01:20:13 [2022-02-24 01:20:13]            Remote protocol: BEAST
[rbfeeder] 2022/02/24 01:20:13 [2022-02-24 01:20:13]  Using GNSS (when available)
[rbfeeder] 2022/02/24 01:20:13 [2022-02-24 01:20:13]  Start date/time: 2022-02-24 01:20:13
[rbfeeder] 2022/02/24 01:20:13 [2022-02-24 01:20:13]  Socket for ANRB created. Waiting for connections on port 32088
[rbfeeder] 2022/02/24 01:20:14 [2022-02-24 01:20:14]  Connection established.
[rbfeeder] 2022/02/24 01:20:14 [2022-02-24 01:20:14]  Empty sharing key. We will try to create a new one for you!
[rbfeeder] 2022/02/24 01:20:16 [2022-02-24 01:20:16]  Your new key is xxyyzz. Please save this key for future use. You will have to know this key to link this receiver to your account in RadarBox24.com. This key is also saved in configuration file (/etc/rbfeeder.ini)
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022 mlat-client 0.2.12 starting up
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022 Listening for Beast-format results connection on port 30105
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022 Connected to multilateration server at mlat1.rb24.com:40900, handshaking
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022 Server says:
[rbfeeder] 2022/02/24 01:20:43
[rbfeeder] 2022/02/24 01:20:43         AirNav Server
[rbfeeder] 2022/02/24 01:20:43
[rbfeeder] 2022/02/24 01:20:43         The multilateration server source code is available under
[rbfeeder] 2022/02/24 01:20:43         the terms of the Affero GPL (v3 or later). You may obtain
[rbfeeder] 2022/02/24 01:20:43         a copy of this server's source code at the following
[rbfeeder] 2022/02/24 01:20:43         location: https://github.com/adsbexchange/mlat-server
[rbfeeder] 2022/02/24 01:20:43
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022 Handshake complete.
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022   Compression:       zlib2
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022   UDP transport:     disabled
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022   Split sync:        disabled
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022 Input connected to 127.0.0.1:32457
[rbfeeder] 2022/02/24 01:20:43 Thu Feb 24 01:20:43 2022 Input format changed to BEAST, 12MHz clock
[rbfeeder] 2022/02/24 01:20:44 Thu Feb 24 01:20:44 2022 Beast-format results connection with 127.0.0.1:32004: connection established
[rbfeeder] 2022/02/24 01:21:13 [2022-02-24 01:21:13]  ******** Statistics updated every 60 seconds ********
[rbfeeder] 2022/02/24 01:21:13 [2022-02-24 01:21:13]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 1
[rbfeeder] 2022/02/24 01:21:16 [2022-02-24 01:21:16]  Connection established.
[rbfeeder] 2022/02/24 01:21:17 [2022-02-24 01:21:17]  Error authenticating Sharing-Key: Invalid sharing-key
[rbfeeder] 2022/02/24 01:21:27 [2022-02-24 01:21:27]  Could not start connection. Timeout.

Disk space usage

Somehow this container consumed 49GB in 9 hours.

df -h shows:

root@8d4f5bb4bad2:/etc# df -h
Filesystem      Size  Used Avail Use% Mounted on
overlay          63G   60G     0 100% /
tmpfs            64M     0   64M   0% /dev
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/sda2        63G   60G     0 100% /etc/hosts
shm              64M     0   64M   0% /dev/shm
tmpfs           2.0G     0  2.0G   0% /proc/acpi
tmpfs           2.0G     0  2.0G   0% /proc/scsi
tmpfs           2.0G     0  2.0G   0% /sys/firmware

I do not quite understand the sda2 mount, I looked at /etc/hosts, and the file is only a few k in size. Quite likely this is a Docker thing that I do not understand.

root@8d4f5bb4bad2:/etc# ls -la hosts
-rw-r--r-- 1 root root 177 May 25 14:32 hosts
root@8d4f5bb4bad2:/etc# cat hosts
127.0.0.1       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
192.168.160.2   8d4f5bb4bad2

I am not sure if this is a container issue or an issue with the code from radarbox

I re-created the container and I will see what looks like in the morning.

Can't generated valid Feeder ID (timeout)

Hi Mike,

I'm having an issue setting up a new receiver based with and amd64 processor (actually an old dell PC with Ubuntu 20.04). I followed the new guide, but it didn't work. (BTW, there's probably an error on the first line, should be radarbox instead of piaware, right?)

docker pull mikenye/piaware:latest
source ./.env
timeout 60 docker run \
    --rm \
    -it \
    --network adsb_default \
    -e BEASTHOST=readsb \
    -e LAT=${FEEDER_LAT} \
    -e LONG=${FEEDER_LONG} \
    -e ALT=${FEEDER_ALT_M} \
    mikenye/radarbox

After running it without any Feeder ID declared on .env and no mention to rbfeeder cointainer on docker-compose.yml, it gives me an ID and then a lot of timeout errors. The generated IDs are never claimable on radarbox website.
image

Running without timeout changes nothing:
image

When I use an existing Feeder ID with or without the appropriate sections on docker-compose.yml, it runs fine without issue.

Missing /init

Having issues starting radarbox. I'm pulling the latest from docker hub.

Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/init\": stat /init: no such file or directory": unknown

Inspecting the image itself, it does seem that /init is missing.

Segmentation fault

Hi all,

i am getting this error after pulling the container:

[rbfeeder] [2023-01-12 07:52:14]  Starting RBFeeder Version 1.0.8 (build 20220708190411)
[rbfeeder] [2023-01-12 07:52:14]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] [2023-01-12 07:52:14]  Network-mode enabled.
[rbfeeder] [2023-01-12 07:52:14]  		Remote host to fetch data: xxx.xxx.xxx.xxx
[rbfeeder] [2023-01-12 07:52:14]  		Remote port: xxxxx
[rbfeeder] [2023-01-12 07:52:14]  		Remote protocol: BEAST
[rbfeeder] [2023-01-12 07:52:14]  Using GNSS (when available)
[rbfeeder] [2023-01-12 07:52:14]  Start date/time: 2023-01-12 07:52:14
[rbfeeder] [2023-01-12 07:52:14]  Socket for ANRB created. Waiting for connections on port 32088
[rbfeeder] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[rbfeeder] /usr/bin/rbfeeder: line 17:  4528 Segmentation fault      (core dumped) qemu-arm-static /usr/bin/rbfeeder_armhf "$@"

Seem to be that the architecture is identified incorrectly, as it states rbfeeder_armhf, but i am currently running a VM on Proxmox where docker, docker-compose and portainer is installed.
Host is an Intel x86_64 device

How do i get this fixed?
Many thanks in advance

Sharing key already taken

Hi,

When creating a sharing key, the system give me an already claimed sharing key
rbfeeder] [2023-06-27 10:17:34] Empty sharing key. We will try to create a new one for you!
[rbfeeder] [2023-06-27 10:17:34] CPU Serial empty. Use MAC address instead.
[rbfeeder] [2023-06-27 10:17:34] Your new key is 823f0feb692cf593d32645858c38d634. Please save this key for future use. You will have to know this key to link this receiver to your account in RadarBox24.com. This key is also saved in configuration file (/etc/rbfeeder.ini)

This key is used by this station : https://www.radarbox.com/stations/EXTRPI252248

How can I generated a different key?
RB support gave up on me after they know I use the docker integration (I can't managed to generated a key throw the pi rbfeeder (that's why I use the docker integration)

Edit :
I manage to set a CPU serial -> can't generate a key
I manage to change the MAC address via --mac-address 02:42:ac:11:00:01 (some minor changes in the MAC will produce others keys but they are all taken. big change -> cannot generate key - Error creating new Sharing-Key: Could not create sharing-key)

Thanks
David

qemu: uncaught target signal 11 (Segmentation fault)

Getting a segmentation fault when trying to launch rbfeeder (radarbox / rb24) container on x86-64 (amd64)...

[rbfeeder] [2023-01-27 01:21:08]  Starting RBFeeder Version 1.0.8 (build 20220708190411)
[rbfeeder] [2023-01-27 01:21:08]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] [2023-01-27 01:21:08]  Network-mode enabled.
[rbfeeder] [2023-01-27 01:21:08]  		Remote host to fetch data: 192.168.168.22
[rbfeeder] [2023-01-27 01:21:08]  		Remote port: 30005
[rbfeeder] [2023-01-27 01:21:08]  		Remote protocol: BEAST
[rbfeeder] [2023-01-27 01:21:08]  Using GNSS (when available)
[rbfeeder] [2023-01-27 01:21:08]  Start date/time: 2023-01-27 01:21:08
[rbfeeder] [2023-01-27 01:21:08]  Socket for ANRB created. Waiting for connections on port 32088
[rbfeeder] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[rbfeeder] /usr/bin/rbfeeder: line 17:   628 Segmentation fault      (core dumped) qemu-arm-static /usr/bin/rbfeeder_armhf "$@"
[rbfeeder] [2023-01-27 01:21:09]  Starting RBFeeder Version 1.0.8 (build 20220708190411)
[rbfeeder] [2023-01-27 01:21:09]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] [2023-01-27 01:21:09]  Network-mode enabled.
[rbfeeder] [2023-01-27 01:21:09]  		Remote host to fetch data: 192.168.168.22
[rbfeeder] [2023-01-27 01:21:09]  		Remote port: 30005
[rbfeeder] [2023-01-27 01:21:09]  		Remote protocol: BEAST
[rbfeeder] [2023-01-27 01:21:09]  Using GNSS (when available)
[rbfeeder] [2023-01-27 01:21:09]  Start date/time: 2023-01-27 01:21:09
[rbfeeder] [2023-01-27 01:21:09]  Socket for ANRB created. Waiting for connections on port 32088
[rbfeeder] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[rbfeeder] /usr/bin/rbfeeder: line 17:   651 Segmentation fault      (core dumped) qemu-arm-static /usr/bin/rbfeeder_armhf "$@"
[rbfeeder] [2023-01-27 01:21:10]  Starting RBFeeder Version 1.0.8 (build 20220708190411)
[rbfeeder] [2023-01-27 01:21:10]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] [2023-01-27 01:21:10]  Network-mode enabled.
[rbfeeder] [2023-01-27 01:21:10]  		Remote host to fetch data: 192.168.168.22
[rbfeeder] [2023-01-27 01:21:10]  		Remote port: 30005
[rbfeeder] [2023-01-27 01:21:10]  		Remote protocol: BEAST
[rbfeeder] [2023-01-27 01:21:10]  Using GNSS (when available)
[rbfeeder] [2023-01-27 01:21:10]  Start date/time: 2023-01-27 01:21:10
[rbfeeder] [2023-01-27 01:21:10]  Socket for ANRB created. Waiting for connections on port 32088
[rbfeeder] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[rbfeeder] /usr/bin/rbfeeder: line 17:   674 Segmentation fault      (core dumped) qemu-arm-static /usr/bin/rbfeeder_armhf "$@"
[rbfeeder] [2023-01-27 01:21:11]  Starting RBFeeder Version 1.0.8 (build 20220708190411)
[rbfeeder] [2023-01-27 01:21:11]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] [2023-01-27 01:21:11]  Network-mode enabled.
[rbfeeder] [2023-01-27 01:21:11]  		Remote host to fetch data: 192.168.168.22
[rbfeeder] [2023-01-27 01:21:11]  		Remote port: 30005
[rbfeeder] [2023-01-27 01:21:11]  		Remote protocol: BEAST
[rbfeeder] [2023-01-27 01:21:11]  Using GNSS (when available)
[rbfeeder] [2023-01-27 01:21:11]  Start date/time: 2023-01-27 01:21:11
[rbfeeder] [2023-01-27 01:21:11]  Socket for ANRB created. Waiting for connections on port 32088
[rbfeeder] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[rbfeeder] /usr/bin/rbfeeder: line 17:   697 Segmentation fault      (core dumped) qemu-arm-static /usr/bin/rbfeeder_armhf "$@"

Update container to rbfeeder v0.4.2

I got a mail (added below) from RB, announcing a new build for rbfeeder. As the weather data is pulled from the ADSB data and no extra hardware is required, maybe it's worthwhile to supply them with the extra data :-)

Dear RadarBox Feeder,

AirNav Systems is pleased to announce the release of a new Raspberry Pi
build (software update) for feeders sharing data with RadarBox.com. The new
build (v0.4.2) allows for weather data to be collected from the ADS-B data
sent by your Raspberry Pi.

The weather data that is collected from your Raspberry Pi ADS-B data
includes:

  1. Air Temperature
  2. Wind Speed
  3. Wind Direction

Once collected, the weather data is then processed and used to build
and improve the RadarBox Global Weather Model. Attached to this email are 3
screenshots of how your Raspberry Pi weather data helps build our weather
models. Please note that no other personal or private data is collected.
Updating your Raspberry Pi to this build (v0.4.2) is purely optional and
voluntary, although it is highly recommended.

Feeders who have set up their Raspberry Pi and started sharing data with
RadarBox.com after May 24, 2021 have automatically received the update and
do not need to update their build version. However, feeders who have set up
their Raspberry Pi prior to, or on, May 24, 2021 can follow the steps below
to update their build version.

*STEPS *
Open the Terminal app on your Raspberry Pi, then run each command below.

  1. sudo apt-get update
  2. sudo apt-get install rbfeeder
  3. sudo systemctl restart rbfeeder

After running the last command (#3), your Raspberry Pi should automatically
restart and have the latest build installed.

/usr/bin/rbfeeder: cannot execute binary file: Exec format error

v0.4.2 (I think) Docker image isn't working correctly and fails its healthcheck. Logs show a problem with rbfeeder executable format:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-rbfeeder: executing... 
[cont-init.d] 01-rbfeeder: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[rbfeeder] 2021/06/27 08:35:37 ./run: line 15: /usr/bin/rbfeeder: cannot execute binary file: Exec format error
[rbfeeder] 2021/06/27 08:35:38 ./run: line 15: /usr/bin/rbfeeder: cannot execute binary file: Exec format error
[rbfeeder] 2021/06/27 08:35:39 ./run: line 15: /usr/bin/rbfeeder: cannot execute binary file: Exec format error
[rbfeeder] 2021/06/27 08:35:40 ./run: line 15: /usr/bin/rbfeeder: cannot execute binary file: Exec format error
[rbfeeder] 2021/06/27 08:35:41 ./run: line 15: /usr/bin/rbfeeder: cannot execute binary file: Exec format error

Docker container incremental update breaks qemu

This can probably be closed, but I figured I'd toss it on here in case someone ran into it. For some reason about 18 hours ago a new image deploy (ugh, thanks ouroboros) totally hosed my rbfeeder with the below error. I think it's a golang arch mismatch. Wiping and repulling the container from scratch this afternoon seemed to fix it, so maybe it was an incremental issue?

standard_init_linux.go:211: exec user process caused "exec format error"

Could not start connection. Timeout.

I'm having issues connecting to radarbox since a while.

[rbfeeder] 2022/08/06 08:57:20 [2022-08-06 08:57:20]  Starting RBFeeder Version 1.0.7 (build 20220719091400)
[rbfeeder] 2022/08/06 08:57:20 [2022-08-06 08:57:20]  Using configuration file: /etc/rbfeeder.ini
[rbfeeder] 2022/08/06 08:57:20 [2022-08-06 08:57:20]  Network-mode enabled.
[rbfeeder] 2022/08/06 08:57:20 [2022-08-06 08:57:20]            Remote host to fetch data: 172.17.0.1
[rbfeeder] 2022/08/06 08:57:20 [2022-08-06 08:57:20]            Remote port: 30005
[rbfeeder] 2022/08/06 08:57:20 [2022-08-06 08:57:20]            Remote protocol: BEAST
[rbfeeder] 2022/08/06 08:57:20 [2022-08-06 08:57:20]  Using GNSS (when available)
[rbfeeder] 2022/08/06 08:57:20 [2022-08-06 08:57:20]  Start date/time: 2022-08-06 08:57:20
[rbfeeder] 2022/08/06 08:57:20 [2022-08-06 08:57:20]  Socket for ANRB created. Waiting for connections on port 32088
[rbfeeder] 2022/08/06 08:57:21 [2022-08-06 08:57:21]  Connection established.
[rbfeeder] 2022/08/06 08:57:31 [2022-08-06 08:57:31]  Could not start connection. Timeout.
[rbfeeder] 2022/08/06 08:58:20 [2022-08-06 08:58:20]  ******** Statistics updated every 60 seconds ********
[rbfeeder] 2022/08/06 08:58:20 [2022-08-06 08:58:20]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 1
[rbfeeder] 2022/08/06 08:58:20 [2022-08-06 08:58:20]  Data sent: 63 B
[rbfeeder] 2022/08/06 08:58:20 [2022-08-06 08:58:20]  Data received: 0 B
[rbfeeder] 2022/08/06 08:58:31 [2022-08-06 08:58:31]  Connection established.
[rbfeeder] 2022/08/06 08:58:41 [2022-08-06 08:58:41]  Could not start connection. Timeout.
[rbfeeder] 2022/08/06 08:59:21 [2022-08-06 08:59:21]  ******** Statistics updated every 60 seconds ********
[rbfeeder] 2022/08/06 08:59:21 [2022-08-06 08:59:21]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 2
[rbfeeder] 2022/08/06 08:59:21 [2022-08-06 08:59:21]  Data sent: 126 B
[rbfeeder] 2022/08/06 08:59:21 [2022-08-06 08:59:21]  Data received: 0 B
[rbfeeder] 2022/08/06 08:59:47 [2022-08-06 08:59:47]  Can't connect to AirNav Server. Retry in 60 seconds.
[rbfeeder] 2022/08/06 09:00:22 [2022-08-06 09:00:22]  ******** Statistics updated every 60 seconds ********
[rbfeeder] 2022/08/06 09:00:22 [2022-08-06 09:00:22]  Packets sent in the last 60 seconds: 0, Total packets sent since startup: 2
[rbfeeder] 2022/08/06 09:00:22 [2022-08-06 09:00:22]  Data sent: 126 B
[rbfeeder] 2022/08/06 09:00:22 [2022-08-06 09:00:22]  Data received: 0 B
[rbfeeder] 2022/08/06 09:00:53 [2022-08-06 09:00:53]  Can't connect to AirNav Server. Retry in 60 seconds.
[rbfeeder] 2022/08/06 09:01:23 [2022-08-06 09:01:23]  ******** Statistics updated every 60 seconds ********
[rbfeeder] 2022/08/06 09:01:23 [2022-08-06 09:01:23]  Packets sent in the last 60 seconds: 0, Total packets sent since startup: 2
[rbfeeder] 2022/08/06 09:01:23 [2022-08-06 09:01:23]  Data sent: 126 B
[rbfeeder] 2022/08/06 09:01:23 [2022-08-06 09:01:23]  Data received: 0 B
[rbfeeder] 2022/08/06 09:01:54 [2022-08-06 09:01:54]  Connection established.
[rbfeeder] 2022/08/06 09:02:04 [2022-08-06 09:02:04]  Could not start connection. Timeout.
[rbfeeder-stats] 2022/08/06 09:02:20 Packets sent in past 5 minutes: 2, total packets since container start: 2
[rbfeeder] 2022/08/06 09:02:24 [2022-08-06 09:02:24]  ******** Statistics updated every 60 seconds ********
[rbfeeder] 2022/08/06 09:02:24 [2022-08-06 09:02:24]  Packets sent in the last 60 seconds: 1, Total packets sent since startup: 3
[rbfeeder] 2022/08/06 09:02:24 [2022-08-06 09:02:24]  Data sent: 189 B
[rbfeeder] 2022/08/06 09:02:24 [2022-08-06 09:02:24]  Data received: 0 B
[rbfeeder] 2022/08/06 09:03:10 [2022-08-06 09:03:10]  Can't connect to AirNav Server. Retry in 60 seconds.

It worked fine for a while, but then it stopped to work.I'm under the impression that Airnav does some IP blocking for whatever reason.When i change my public IP to a new one ( i'm using VPN), then it is working again, but only for a while ( can be 4 days, but also sometimes only a few hours).Once this happened with a certain public IP, it will not work anymore with that particular public IP.So i cannot make a successful connection with my ISP public IP anymore.But if i choose a VPN public IP i never used before with radarbox, it will work again.For a limited time, then goes offline again.

I did a network capture and i see two different issues here.

  1. Can't connect to AirNav Server. Retry in 60 seconds.

In this case rpiserver-ng.rb24.com does not respond at all.This looks like a pure Airnav issue, they are using 4 different IP addresses for that hostname and maybe the IP address returned by the DNS lookup is overloaded or some internal network issues etc.

Name:    rpiserver-ng.rb24.com
Addresses:  23.29.123.254
          23.29.123.240
          79.133.49.90
          79.133.49.85

So in my example here 23.29.123.254 did not respond at all, whereas 23.29.123.240 did.

This is only a temporary failure, which usually resolves on its own on next connection attempts.

  1. Could not start connection. Timeout.

In this case the TCP connection to rpiserver-ng.rb24.com is successful made and the docker client sends a small data packet, which only contains two bytes ( 7e23) and then rpiserver-ng.rb24.com is closing the connection immediately ( FIN+RST).
When it's working, rpiserver-ng.rb24.com responds with ACK to the 7e23 and then the client is sending the real data.
What is 7e23 ? Is this an identifier ?

*******************************************************
Internet Protocol Version 4, Src: Flightradar (192.XXX.XXX.XXX), Dst: rpiserver-ng.rb24.com (23.29.123.240)
Transmission Control Protocol, Src Port: 55528, Dst Port: 33755, Seq: 1, Ack: 1, Len: 2
    Source Port: 55528
    Destination Port: 33755
    [Stream index: 13]
    [Conversation completeness: Incomplete, DATA (15)]
    [TCP Segment Len: 2]
    Sequence Number: 1    (relative sequence number)
    Sequence Number (raw): 1368053075
    [Next Sequence Number: 3    (relative sequence number)]
    Acknowledgment Number: 1    (relative ack number)
    Acknowledgment number (raw): 442404819
    1000 .... = Header Length: 32 bytes (8)
    Flags: 0x018 (PSH, ACK)
    Window: 502
    [Calculated window size: 64256]
    [Window size scaling factor: 128]
    Checksum: 0xaa54 [unverified]
    [Checksum Status: Unverified]
    Urgent Pointer: 0
    Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
    [Timestamps]
    [SEQ/ACK analysis]
    TCP payload (2 bytes)
Data (2 bytes)
    Data: 7e23
    [Length: 2]
*****************************************************************

First i thought about Airnav blocking VPN clients, but i cannot make it work with my normal ISP IP neither anymore.
Could it be that Airnav is blocking the docker client ?

I also checked Radarbox forums / Telegram group, but i couldn't find anything like this.So i assume that the raspberry PI clients don't have that issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.