Comments (11)
Cool.
I think BrokenPipeError
happen when you disconnect when the server is sending data to you.
Nothing to worries about for me.
I'll merge the PR ๐
from docker-fr24feed-piaware-dump1090.
Hi,
Fr24feed ini file is not good => libcommon read_config failed - /etc/fr24feed.ini
You could try to start the container again, but this time overriding the ini script for fr24 ?
Or you can try to disable fr24feed to see if the container starts.
On my side I have the exact same config, no problem with fr24feed.
Be sure that you are not mounting any (bad) volume into the container.
mount /etc/cont-init.d/01-confd-fr24feed
with this content (cat
the ini file to see if it is good).
#!/usr/bin/with-contenv bash
default_value()
{
key=${1//\-/_DASH_}
key=FR24FEED_${key^^}
eval "value=\${$key:-\$2}"
printf -v $key -- "$value"
export $key
}
default_value "receiver" "beast-tcp"
default_value "fr24key" "YOUR_KEY_HERE"
default_value "host" "127.0.0.1:30005"
default_value "bs" "no"
default_value "raw" "no"
default_value "logmode" "1"
default_value "logpath" "/tmp"
default_value "mlat" "yes"
default_value "mlat-without-gps" "yes"
if [ ! -f /etc/fr24feed.ini ]; then
/opt/confd/bin/confd -onetime -confdir "/etc/confd/fr24feed" -prefix "fr24feed" -backend env
cat /etc/fr24feed.ini
else
echo "init file already existing"
cat /etc/fr24feed.ini
fi
from docker-fr24feed-piaware-dump1090.
With FR24 disabled the container starts but I can't see the map:
[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-confd-fr24feed: executing...
/var/run/s6/etc/cont-init.d/01-confd-fr24feed: line 23: /opt/confd/bin/confd: No such file or directory
[cont-init.d] 01-confd-fr24feed: exited 127.
[cont-init.d] 02-confd-piaware: executing...
/var/run/s6/etc/cont-init.d/02-confd-piaware: line 18: /opt/confd/bin/confd: No such file or directory
[cont-init.d] 02-confd-piaware: exited 127.
[cont-init.d] 03-confd-html: executing...
/var/run/s6/etc/cont-init.d/03-confd-html: line 21: /opt/confd/bin/confd: No such file or directory
[cont-init.d] 03-confd-html: exited 127.
[cont-init.d] 04-confd-layers: executing...
/var/run/s6/etc/cont-init.d/04-confd-layers: line 3: /opt/confd/bin/confd: No such file or directory
[cont-init.d] 04-confd-layers: exited 127.
[cont-init.d] 05-upintheair: executing...
--2022-02-10 09:06:39-- http://www.heywhatsthat.com/api/upintheair.json?id=M93W7NC1&refraction=0.25&alts=1000,10000
Resolving www.heywhatsthat.com (www.heywhatsthat.com)... 69.39.100.105
Connecting to www.heywhatsthat.com (www.heywhatsthat.com)|69.39.100.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: '/usr/lib/fr24/public_html/upintheair.json'
0K .......... .......... ...... 155K=0.2s
2022-02-10 09:06:40 (155 KB/s) - '/usr/lib/fr24/public_html/upintheair.json' saved [26641]
[cont-init.d] 05-upintheair: exited 0.
[cont-init.d] done.
[services.d] starting services
Thu Feb 10 09:06:40 2022 UTC dump1090-fa v7.1 starting up.
[services.d] done.
rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)
Found Rafael Micro R820T tuner
****************************************************
piaware version 7.1 is running, process ID 337
your system info is: Linux 46892834b92a 5.10.63-v7+ #1488 SMP Thu Nov 18 16:14:44 GMT 2021 armv7l GNU/Linux
rtlsdr: tuner gain set to 49.6 dB (gain step 28)
Allocating 4 zero-copy buffers
Connecting to FlightAware adept server at piaware.flightaware.com/1200
Connection with adept server at piaware.flightaware.com/1200 established
TLS handshake with adept server at piaware.flightaware.com/1200 completed
FlightAware server certificate validated
encrypted session established with FlightAware
logged in to FlightAware as user guest
my feeder ID is 9c825fd0-65b5-4df6-931c-ef8f3293eba0
ADS-B data program 'dump1090' is listening on port 30005, so far so good
Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout
Started faup1090 (pid 365) to connect to dump1090
UAT support disabled by local configuration setting: uat-receiver-type
piaware received a message from dump1090!
piaware has successfully sent several msgs to FlightAware!
11 msgs recv'd from dump1090; 11 msgs sent to FlightAware
from docker-fr24feed-piaware-dump1090.
I think confd is not working well with RPI 3b+ ...
That's why it is failing. Could you try to shell into the container and do /opt/confd/bin/confd
?
/var/run/s6/etc/cont-init.d/01-confd-fr24feed: line 23: /opt/confd/bin/confd: No such file or directory
[cont-init.d] 01-confd-fr24feed: exited 127.
[cont-init.d] 02-confd-piaware: executing...
/var/run/s6/etc/cont-init.d/02-confd-piaware: line 18: /opt/confd/bin/confd: No such file or directory
[cont-init.d] 02-confd-piaware: exited 127.
[cont-init.d] 03-confd-html: executing...
/var/run/s6/etc/cont-init.d/03-confd-html: line 21: /opt/confd/bin/confd: No such file or directory
[cont-init.d] 03-confd-html: exited 127.
[cont-init.d] 04-confd-layers: executing...
/var/run/s6/etc/cont-init.d/04-confd-layers: line 3: /opt/confd/bin/confd: No such file or directory
[cont-init.d] 04-confd-layers: exited 127.
[cont-init.d] 05-upintheair: executing...
from docker-fr24feed-piaware-dump1090.
root@46892834b92a:~# /opt/confd/bin/confd
bash: /opt/confd/bin/confd: No such file or directory
root@46892834b92a:~# cd /opt/confd/bin/
root@46892834b92a:/opt/confd/bin# ls
confd
from docker-fr24feed-piaware-dump1090.
Ok the bin is not working for your distro.
Could you extract confd bin from the previous working image and upload it here (I don't have PI to do it myself)?
I will put it in place of this non-working one.
Also, could you give me the output of dpkg --print-architecture
on RPI 3b+?
from docker-fr24feed-piaware-dump1090.
Sorry is not a B+ is just a Raspberry Pi 3 Model B
# dpkg --print-architecture
armhf
Not sure how to extract the confd bin with image 1.7.0...
Now with 1.7.0 the map is not working either...
from docker-fr24feed-piaware-dump1090.
Now with 1.7.0 the map is not working either...
This is very strange, Nothing should be kept from the previous container.
Try to look at the browser console, but if you have messages about:
It's confd not working.
To extract the bin from the container, you can first try the same command as before /opt/confd/bin/confd
to be sure it is working. And from your host:
docker cp containerId:/opt/confd/bin/confd /path/on/host/confd
from docker-fr24feed-piaware-dump1090.
Is weird, now is working, I think maybe is something related with the caches of internet.
There you have the confd file
from docker-fr24feed-piaware-dump1090.
Could you try this image version ?
https://hub.docker.com/layers/191749382/thomx/fr24feed-piaware/PR-67/images/sha256-eca9e2888f992948460fce4269140c689a09f83046ad6bb73ae9f8eba09fad77?context=repo
from docker-fr24feed-piaware-dump1090.
It is working
https://fr.yayitazale.cc/
I have some errors on the logs related to the webpage I think:
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /config.js?v=5.0 HTTP/1.1" 200 -
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /images/map-icon.png HTTP/1.1" 200 -
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /images/alt_legend_feet.svg HTTP/1.1" 200 -
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /images/table-icon.png HTTP/1.1" 200 -
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /images/[email protected] HTTP/1.1" 200 -
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /images/box-empty.png HTTP/1.1" 200 -
192.168.1.20 - - [10/Feb/2022 16:13:41] code 404, message File not found
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /favicon.ico HTTP/1.1" 404 -
192.168.1.20 - - [10/Feb/2022 16:13:41] code 404, message File not found
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /status.json HTTP/1.1" 404 -
192.168.1.20 - - [10/Feb/2022 16:13:41] code 404, message File not found
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /status.json HTTP/1.1" 404 -
192.168.1.20 - - [10/Feb/2022 16:13:41] code 404, message File not found
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /data-978/receiver.json?_=1644509621314 HTTP/1.1" 404 -
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /data/receiver.json?_=1644509621315 HTTP/1.1" 200 -
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /images/box-checked.png HTTP/1.1" 200 -
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /jquery/jquery-ui-1.11.4-smoothness.css HTTP/1.1" 200 -
192.168.1.20 - - [10/Feb/2022 16:13:41] "GET /script.js?v=5.0 HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('192.168.1.20', 45320)
Traceback (most recent call last):
File "/usr/lib/python3.7/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.7/http/server.py", line 646, in __init__
super().__init__(*args, **kwargs)
File "/usr/lib/python3.7/socketserver.py", line 720, in __init__
self.handle()
File "/usr/lib/python3.7/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request
method()
File "/usr/lib/python3.7/http/server.py", line 653, in do_GET
self.copyfile(f, self.wfile)
File "/usr/lib/python3.7/http/server.py", line 844, in copyfile
shutil.copyfileobj(source, outputfile)
File "/usr/lib/python3.7/shutil.py", line 82, in copyfileobj
fdst.write(buf)
File "/usr/lib/python3.7/socketserver.py", line 799, in write
192.168.1.20 - - [10/Feb/2022 16:13:43] "GET /flags-tiny/Belgium.png HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('192.168.1.20', 45448)
Traceback (most recent call last):
File "/usr/lib/python3.7/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.7/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.7/http/server.py", line 646, in __init__
super().__init__(*args, **kwargs)
File "/usr/lib/python3.7/socketserver.py", line 720, in __init__
self.handle()
File "/usr/lib/python3.7/http/server.py", line 426, in handle
self.handle_one_request()
File "/usr/lib/python3.7/http/server.py", line 414, in handle_one_request
method()
File "/usr/lib/python3.7/http/server.py", line 653, in do_GET
self.copyfile(f, self.wfile)
File "/usr/lib/python3.7/http/server.py", line 844, in copyfile
shutil.copyfileobj(source, outputfile)
File "/usr/lib/python3.7/shutil.py", line 82, in copyfileobj
fdst.write(buf)
File "/usr/lib/python3.7/socketserver.py", line 799, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------
192.168.1.20 - - [10/Feb/2022 16:13:43] "GET /flags-tiny/Romania.png HTTP/1.1" 200 -
from docker-fr24feed-piaware-dump1090.
Related Issues (20)
- Request for dashboard link for each service
- Radarbox - 'already claimed' error on supplied sharing key HOT 1
- ADSBHub feeding
- Connection refused at web interface (8080) on 1.29.0 HOT 2
- ADSBHub sometimes key could not work HOT 4
- piaware MLAT Client with wrong configuration for Beast-format results connection and http feed tracker dosnยดt show any airplanes HOT 7
- ADSB exchange uuid generation. HOT 3
- Please advice. HOT 1
- How to Access rtlsdr-gain Parameter? HOT 1
- MLAT inactive - A new upgrade is available for your Raspberry Pi RadarBox software!
- Services in container keeps stopping HOT 4
- Address already in use, container stops
- dump978
- FR24 feeder reported as online, no data uploaded HOT 1
- Feature Request: Feed in to 360Radar HOT 2
- HTTP fails and stops the container HOT 6
- Not able to pull my Dump1090 feed from my external system anymore HOT 2
- Container keep crashing HOT 2
- Support of RTL-SDR v4
- Can't connect to my Realtek RTL2838UHIDIR HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-fr24feed-piaware-dump1090.