Git Product home page Git Product logo

Comments (6)

Bogdan50 avatar Bogdan50 commented on August 17, 2024

Using the IP address directly works, I am finding out.

rtl_433 -F mqtt:91.121.93.94 -F log

I can now receive messages from the server.
So use only IP addresses?

from rtl_433.

gdt avatar gdt commented on August 17, 2024

As usual:

  • describe mqtt version, os, os version, cpu arch
  • update to current git master because 23.11 is old
  • explain your name resolution plan
  • explain how you tested name resolution

from rtl_433.

Bogdan50 avatar Bogdan50 commented on August 17, 2024

rtl_433 version 23.11 branch at 202311281352 inputs file rtl_tcp RTL-SDR SoapySDR
Windows 10 Pro ver 22H2, 64-bit operating system, x64-based processor, AMD FX(tm)-9590 Eight-Core Processor 4.72 GHz

Not sure what do you mean by name resolution plan.
I'm using the free server provided by Mosquitto here:

https://test.mosquitto.org/

The name resolution I've tested with mosquitto_pub and mosquitto_sub using the address "test.mosquitto.org" without quotes.

from rtl_433.

gdt avatar gdt commented on August 17, 2024

23.11 is quite old. I have no idea if there are relevant fixes since then. I personally do not engage in debugging old code. Yes, I know that it might be the latest formal release.....

By name resolution, I mean how the system converts names to IP addresses. There is regular DNS, with a configured resolver, /etc/hosts on Unix, and multicast dns. Various systems have different configs. It seems likely that either something is odd or there is something wrong in the mqtt code in rtl_433 that is not resolving the name correctly. It will likely require using tools like dig and other things that resolve names, and a debugger on rtl_433 to figure it out.

from rtl_433.

Bogdan50 avatar Bogdan50 commented on August 17, 2024

Are there any tests you want me to do on my PC?

from rtl_433.

Bogdan50 avatar Bogdan50 commented on August 17, 2024

I can ping test.mosquitto.org just fine:

╰─ff ping test.mosquitto.org

Pinging test.mosquitto.org [91.121.93.94] with 32 bytes of data:
Reply from 91.121.93.94: bytes=32 time=114ms TTL=50
Reply from 91.121.93.94: bytes=32 time=129ms TTL=50
Reply from 91.121.93.94: bytes=32 time=113ms TTL=50
Reply from 91.121.93.94: bytes=32 time=117ms TTL=50

Ping statistics for 91.121.93.94:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 113ms, Maximum = 129ms, Average = 118ms

from rtl_433.

Related Issues (20)

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.