Read the statement by Michael Teeuw here.
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
ping localhost
should work
-
@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 systemYes. I’m aware of this, thanks.
ping localhost
should workYes, 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 -
@rkorell so, its a curl problem… weird…
but its using ipv6 (::1 is the ipv6 version of 127.0.0.1) -
@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
-
@rkorell can you edit your /etc/hosts
to see how localhost is definedon 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
-
@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
-
@rkorell weird
-
@sdetweil :-) indeed
-
@sdetweil and now 3hours later more weird it doesn’t work with IP address as well.
In addition for some strange reason the enablement of the MMM-Mplayer module leads to unrecoverable disconnects of PI from network.
This currently is too much resistance to me, so sorry dear @Cr4z33 - I’m not able to dig in deeper to assist you…
Regards,
Ralf -