Read the statement by Michael Teeuw here.
After update to Mirror to 2.1.3 - no working Whitlist
-
I put my config like this:
{ port: 1103, address: '0.0.0.0', electronOptions: { }, ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.113.60", "::ffff:192.168.113.22", "::ffff:192.168.113.97", "::ffff:192.168.113.29", "::ffff:192.168.113.103", "::ffff:192.168.113.66" ],
The Remote-Control says “This device is not allowed to acces your mirror”. The IP-Adresses are correct.
-
i have the same problem
i already set “adress” to :“0.0.0.0” and edited the ipwhitelist to
ipWhitelist: [“::fff:0.0.0.0/1”, “::fff:0.8.0.0/1”, “::fff:128.0.0.0/2”, “::fff:192.0.0.0/3”, “::fff:224.0.0.0/4”, “127.0.0.1”, “::ffff:127.0.0.1”, “::1”]
but still i get no access.
Btw. its a raspberry pi zero with serveronly
-
@Niggich For my setup (raspberry pi 2) something changed after the update, but when I changed my IP addresses to the IPv4 notation (remove
::ffff:
from your addresses) it worked again. Which format do the blocked addresses have in your logs (see below)?@FreddeHamm Are you sure those CIDR numbers are correct?
When in doubt, check the output or logs (
pm2 logs MagicMirror
orpm2 logs mm
if you used the old auto starting guide), there should be a line telling you which IP address was received. Also there are a calculators which transform your IP range to the CIDR notation. -
Same here, tried addres 0.0.0.0 and various things in the Whitelist.
A ping gives “destination unreachable”… SSH also doesn’t work.
Can someone please suggest ways to troubleshoot? -
@Nick said in After update to Mirror to 2.1.3 - no working Whitlist:
tried addres 0.0.0.0 and various things in the Whitelist.
Have you tried OUTSIDE your Whitelist, as such:
var config = { port: 8080, address: "0.0.0.0", ipWhitelist: [], // Set [] to allow all IP addresses.
-
Thx @Mykle1, indeed I have. See the beginning of my (working) config file below.
What is suspicious to me is that not even a Ping works to that IP, even though I’ve checked it by printing it on the screen of the MM and in the router.
Also, before my Whitelist was a long list of IPs, now I’ve tried the [] option but to no avail…/*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/ var config = { address: "0.0.0.0", electronOptions: { }, ipWhitelist: [ ], modules: [ { module: "alert", config: { } }, { module: "updatenotification", position: "top_bar", config: { } }, { module: "MMM-Remote-Control", position: "middle_center", config: { } },
-
@Nick said in After update to Mirror to 2.1.3 - no working Whitlist:
not even a Ping works to that IP
Pinging the mirror’s IP fails? Pinging other devices on your network is successful?
-
Yes, including my personal wiki on another Raspberry Pi, all with 2-5ms
-
@Nick said in After update to Mirror to 2.1.3 - no working Whitlist:
Yes, including my personal wiki on another Raspberry Pi, all with 2-5ms
None of this may help, but you can use it as a checklist.
- ifconfig on Pi reports the IP address you are trying to ping (wlan0) assuming wifi
- Connecting Pi via ethernet, ifconfig and trying to ping then
- Pinging another device from the Pi itself
- The MM software updates. Clock, calendar, weather, etc?
Logically, if the only thing you can’t do is ping or connect to the Pi, then something is wrong on the software side, whether a corruption, an edit or a failed installation of the software or dependencies during the upgrade process. The answer in that case, with the most success, is a manual installation, IMHO. You can continue to troubleshoot, which could take a long time, or you can know in less than an hour. You will not lose anything in doing this.
-