MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    68 Posts 5 Posters 10.7k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rkorell @sdetweil
      last edited by

      @sdetweil said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

      just trying to figure out what the problem

      Dear Sam,
      I caught it …
      The Windows command is not working for other reasons - doesn’t matter…
      The curl on MY Pi doesn’t work because - for some strange reason the resolving of “localhost” doesn’t work ???

      Figured this out by using another linux client (Macbook) and therefor using IP address of pi remotely - which worked instantly.

      And trying this locally on Pi with IP adreees does the job as well.

      Thanks again for your help!
      Regards,
      Ralf

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @rkorell
        last edited by sdetweil

        @rkorell weird, it works on windows for me

        i just copy/pasted from the repo and
        changed the address and port at the end

        i can do it on the same machine or across the network to other machines

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @rkorell
          last edited by

          @rkorell localhost is(always) mapped to 127.0.0.1 on the same system

          which is called the loopback adapter, cause the packets never leave the system

          ping localhost

          should work

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            rkorell @sdetweil
            last edited by

            @sdetweil said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

            @rkorell localhost is(always) mapped to 127.0.0.1 on the same system
            which is called the loopback adapter, cause the packets never leave the system

            Yes. I’m aware of this, thanks.

            ping localhost
            should work

            Yes, do work:

            pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-CurlToNotification $ ping localhost
            PING localhost(localhost (::1)) 56 data bytes
            64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.027 ms
            64 bytes from localhost (::1): icmp_seq=2 ttl=64 time=0.035 ms
            64 bytes from localhost (::1): icmp_seq=3 ttl=64 time=0.035 ms
            64 bytes from localhost (::1): icmp_seq=4 ttl=64 time=0.036 ms
            64 bytes from localhost (::1): icmp_seq=5 ttl=64 time=0.031 ms
            64 bytes from localhost (::1): icmp_seq=6 ttl=64 time=0.039 ms
            ^Z
            [1]+  Stopped                 ping localhost
            
            

            thanks anyway,
            Regards,
            Ralf

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @rkorell
              last edited by sdetweil

              @rkorell so, its a curl problem… weird…
              but its using ipv6 (::1 is the ipv6 version of 127.0.0.1)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rkorell @sdetweil
                last edited by

                @sdetweil said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

                but its using ipv6 (::1 is the ipv6 version of 127.0.0.1)

                good catch!
                THis may is the reason, because - as far as I. know - ipV6 isn’t implemented (properly?) in my network (at least I do not have anything configured. My AVM (Fritzbox) router is ipV6 aware but I do not “use” it esplicitely …

                Strange!

                Ralf

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @rkorell
                  last edited by

                  @rkorell can you edit your /etc/hosts
                  to see how localhost is defined

                  on my amd host it is

                  127.0.0.1       localhost
                  

                  on my pi it is

                  127.0.0.1       localhost
                  ::1             localhost ip6-localhost ip6-loopback
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    rkorell @sdetweil
                    last edited by rkorell

                    @sdetweil Oh, yes - I remember …
                    interesting enough my /etc/hosts is likely the same as on your Pi - with ipV6 entries.
                    If I delete them, error remains :-(

                    Ralf

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @rkorell
                      last edited by

                      @rkorell weird

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      R 2 Replies Last reply Reply Quote 0
                      • R Offline
                        rkorell @sdetweil
                        last edited by

                        @sdetweil :-) indeed

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 6 / 7
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy