MaxWinterstein / homeassistant-addons

GNU General Public License v3.0
139 stars 39 forks source link

Unable go connect, error: Connection refused[reader][e]Could not connect to tcp://127.0.0.1:30005 #168

Open tomasenskede opened 1 year ago

tomasenskede commented 1 year ago

I have installed an "USB 2.0 TV Receiver DAB FM RTL2832U R828D SDR RTL A300U 25MHz-1760MHz Receiving Frequency Tuner Dongle Stick" in my Proxmox host and shared with my Homa Assisant VM. I have tryed the two alternatives (USB Vendor/Device ID and USB Port) but no difference.

My settings; image

My log; s6-rc: info: service confd-fr24feed successfully started s6-rc: info: service fr24feed: starting s6-rc: info: service confd-layers successfully started s6-rc: info: service http: starting s6-rc: info: service fr24feed successfully started s6-rc: info: service http successfully started Add-on version: 1.25.0 s6-rc: info: service conf-planefinder successfully started s6-rc: info: service planefinder: starting s6-rc: info: service planefinder successfully started s6-rc: info: service planefinder-log: starting s6-rc: info: service conf-adsbexchange successfully started s6-rc: info: service adsbexchange-feed: starting s6-rc: info: service conf-opensky successfully started s6-rc: info: service opensky: starting s6-rc: info: service planefinder-log successfully started s6-rc: info: service adsbexchange-feed successfully started s6-rc: info: service adsbexchange-stats: starting You are running the latest version of this add-on. s6-rc: info: service adsbexchange-mlat: starting s6-rc: info: service opensky successfully started s6-rc: info: service adsbexchange-stats successfully started s6-rc: info: service adsbexchange-mlat successfully started [fr24feed] 2023-06-13 16:30:44 | __ ____ [fr24feed] 2023-06-13 16:30:44 | | || |(_) | | | | | | / \ / | [fr24feed] 2023-06-13 16:30:44 | | | | | _ | | | | | | _ _`' / /' / /| | [fr24feed] 2023-06-13 16:30:44 | | | | || | / ` || ' \ | || '|/ ` | / | / _ || '_| / / / /| | [fr24feed] 2023-06-13 16:30:44 | | | | || || (| || | | || | | | | (| || (| || (| || | ./ /_ | [fr24feed] 2023-06-13 16:30:44 | _| |||| _, ||| || _||| _,| _,| _,||| ___/ |/ [fr24feed] 2023-06-13 16:30:44 | / |
[fr24feed] 2023-06-13 16:30:44 | |
/
[fr24feed] 2023-06-13 16:30:44 | [main][i]FR24 Feeder/Decoder [fr24feed] 2023-06-13 16:30:44 | [main][i]Version: 1.0.34-0/generic [fr24feed] 2023-06-13 16:30:44 | [main][i]Built on Jan 10 2023 10:09:01 (decoder-v1.0.34-0-7c5301b.git/Linux/static_amd64) [fr24feed] 2023-06-13 16:30:44 | [main][i]Running on: debian="11" [fr24feed] 2023-06-13 16:30:44 | [main][i]Local IP(s): 172.30.33.4 [fr24feed] 2023-06-13 16:30:44 | [main][i]Copyright 2012-2023 Flightradar24 AB [fr24feed] 2023-06-13 16:30:44 | [main][i]https://www.flightradar24.com [fr24feed] 2023-06-13 16:30:44 | [main][i]DNS mode: PING [fr24feed] 2023-06-13 16:30:44 | error | Local time: 2023-06-13 16:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | error | GMT+0 time: 2023-06-13 15:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | error | Your machine should be set as GMT+0 time zone! [fr24feed] 2023-06-13 16:30:44 | warning | Time zone is not set to GMT+0 [fr24feed] 2023-06-13 16:30:44 | [main][i]Automatic updates are DISABLED [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.141 [E][:] Local time: 2023-06-13 16:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.141 [E][:] GMT+0 time: 2023-06-13 15:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.141 [E][:] Your machine should be set as GMT+0 time zone! [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.142 [W][:] Time zone is not set to GMT+0 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.142 [I][http-server.cpp:270] [httpd]Server started, listening on :::8754 System: Home Assistant OS 10.2 (amd64 / qemux86-64) [fr24feed] 2023-06-13 16:30:44 | [i]PacketSenderConfiguration::fetch_config(): Yoda configuration for this receiver is disabled Home Assistant Core: 2023.6.1 [fr24feed] 2023-06-13 16:30:44 | [d]TLSConnection::ctor(): Enable verify_peer in production code! [fr24feed] 2023-06-13 16:30:44 | [main][i]Reader thread started [fr24feed] 2023-06-13 16:30:44 | [master][i]Starting processing thread [fr24feed] 2023-06-13 16:30:44 | [reader][i]Initializing reader [fr24feed] 2023-06-13 16:30:44 | [reader][i]Connecting to unknown receiver via (tcp://127.0.0.1:30005) [fr24feed] 2023-06-13 16:30:44 | BeastBase::connectTcp(): Unable go connect, error: Connection refused[reader][e]Could not connect to tcp://127.0.0.1:30005 [fr24feed] 2023-06-13 16:30:44 | [time][i]Synchronizing time via NTP Home Assistant Supervisor: 2023.06.1

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service banner successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [fr24feed] 2023-06-13 16:30:44 | [time][i]Time synchronized correctly, offset -0.014 seconds [fr24feed] 2023-06-13 16:30:44 | [main][i]Feed Network client started [fr24feed] 2023-06-13 16:30:44 | [feed][i]Downloading configuration [fr24feed] 2023-06-13 16:30:44 | [feed][d]fetching configuration [fr24feed] 2023-06-13 16:30:44 | [feed][i]configuring decoder [fr24feed] 2023-06-13 16:30:44 | [feed][c]Max range AIR: 350.0nm [fr24feed] 2023-06-13 16:30:44 | [feed][c]Max range GND: 100.0nm [fr24feed] 2023-06-13 16:30:44 | [feed][i]configuration changed [fr24feed] 2023-06-13 16:30:44 | [feed][i]defined 3 servers [fr24feed] 2023-06-13 16:30:44 | [feed][c]Timestamps: optional [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [E][:] Local time: 2023-06-13 16:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [E][:] GMT+0 time: 2023-06-13 15:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [E][:] Your machine should be set as GMT+0 time zone! [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [W][:] Time zone is not set to GMT+0 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [I][receiver_ac_sender.cpp:137] Stopping ReceiverACSender threads for feed [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [D][receiver_ac_sender.cpp:141] Stop called on non-running network thread for feed [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [I][receiver_ac_sender.cpp:96] Configured ReceiverACSender: 185.218.24.22:8099,185.218.24.23:8099,185.218.24.24:8099, feed: ESSB495, send_interval: 5s/1s, max age: 15s, send metadata: true, mode: 1, filtering: true [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [E][:] Local time: 2023-06-13 16:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [E][:] GMT+0 time: 2023-06-13 15:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [E][:] Your machine should be set as GMT+0 time zone! [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [W][:] Time zone is not set to GMT+0 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [I][crxstats.cpp:588] [stats]Stats thread started [fr24feed] 2023-06-13 16:30:44 | [feed][n]ESSB495@185.218.24.22:8099/UDP [fr24feed] 2023-06-13 16:30:44 | [feed][n]connecting [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [E][:] Local time: 2023-06-13 16:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [E][:] GMT+0 time: 2023-06-13 15:30:44 +0200 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [E][:] Your machine should be set as GMT+0 time zone! [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [W][:] Time zone is not set to GMT+0 [fr24feed] 2023-06-13 16:30:44 | 23-06-13 16:30:44.411 [I][receiver_ac_sender.cpp:36] Network thread connecting to 185.218.24.22:8099 for feed ESSB495 [fr24feed] 2023-06-13 16:30:44 | [feed][n]connected via UDP (fd 23) [fr24feed] 2023-06-13 16:30:44 | [feed][n]working [fr24feed] 2023-06-13 16:30:49 | [reader][i]Connecting to unknown receiver via (tcp://127.0.0.1:30005) [fr24feed] 2023-06-13 16:30:49 | BeastBase::connectTcp(): Unable go connect, error: Connection refused[reader][e]Could not connect to tcp://127.0.0.1:30005

What's wrong?

MaxWinterstein commented 1 year ago

Quick guess from the balcony, why did you disable dump1090? Tried with it enabled?

tomasenskede commented 1 year ago

image

Thanks! That did the trick! Now it's working!