For anyone running into this issue, run the following command from your MagicMirror folder:
npm install firstname.lastname@example.org
People who contributed to the Core of MagicMirror²
@Nick As @Mykle1 said: something is wrong if you can neither ping nor ssh. You definitely need to check your general wifi/ethernet setup. This is not something that can be solved through the config file.
@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 or
pm2 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.
TLDR: You need to enable listening to all addresses (see the comment on the Github issue) in addition to the usual adaptation of the
ipWhitelist. Add this line to your
Since MagicMirror 2.1.3, the webserver only listens to the loopback interface be default. This removes any possible attack on the webserver for most users (not that their are any known attacks right now, but in times of mirai it is a good thing!), but unfortunately also effectively stops accessing the MagicMirror through HTTP and how the remote module currently works. If any developer has a good idea how to combine the best of both worlds, please let me know.
@saifkazi I suggest you update again and try it out.
What do i have to do ???
Set the IP address of your MagicMirror there.
That happens because the release 2.1.3 was introduced a new change to make more secure the MagicMirror, to prevent open all interfaces to world. So, now from 2.1.3 the default values for
address is localhost instead of 0.0.0.0… so …be careful to set this value.
Hmm … that doesn’t sound good. Could one of you open an issue on https://github.com/MichMich/MagicMirror/issues?
Make sure you fill in ALL te questions in the issue template.
Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.