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.

    MMM-MealieMenu Fetch Error

    Scheduled Pinned Locked Moved Solved Troubleshooting
    30 Posts 3 Posters 5.4k Views 3 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.
    • zanixZ Offline
      zanix
      last edited by

      I just realized this error occurs when the meal plan is fetched. I wonder if the auth token is expiring.

      W 1 Reply Last reply Reply Quote 0
      • W Offline
        WallysWellies @zanix
        last edited by

        @zanix Restarting the MM service fixed the issue with no additional steps so it may well be an expiring token or something.

        I have updated the Mealie container so I am now on v1.7.0 and switched to using the API key for auth. I have also checked and I am using the current version of your module, v1.5.0.

        I’ll report back if anything interesting happens. Thanks again for your advice.

        zanixZ 1 Reply Last reply Reply Quote 0
        • zanixZ Offline
          zanix @WallysWellies
          last edited by

          @WallysWellies Thanks!
          I think the token does expire. I just checked the token on my instance and it expires 1 month from now.
          I will work on fixing that soon.

          1 Reply Last reply Reply Quote 0
          • zanixZ Offline
            zanix
            last edited by

            @WallysWellies I just updated the module to account for token expiration.
            It took me a bit to test since I needed to let the token expire to make sure it worked.

            W 3 Replies Last reply Reply Quote 1
            • W Offline
              WallysWellies @zanix
              last edited by

              @zanix that’s dedication, thanks!

              I see the update notification so I’ll get it updated tonight. Cheers.

              1 Reply Last reply Reply Quote 0
              • W Offline
                WallysWellies @zanix
                last edited by

                @zanix Hi Zanix. Just updated the module and all meal entries now seem to use the default image. I updated the docker image in case that was the problem but they’re all still showing the default orange image.

                Possible bug introduced in the latest release?

                1 Reply Last reply Reply Quote 0
                • W Offline
                  WallysWellies @zanix
                  last edited by

                  @zanix Sorry, ignore me - it seems to only be using default images on my laptop. On the actual screen it’s showing the images. Maybe it’s something to do with resolution or something. Apologies.

                  zanixZ 1 Reply Last reply Reply Quote 0
                  • zanixZ Offline
                    zanix @WallysWellies
                    last edited by zanix

                    @WallysWellies I opened MM on my desktop (MM runs on a Pi5) and I can see the meal images.
                    The default image only displays when the meal image cannot load. Maybe the URL of the images isn’t accessible on your laptop?

                    W 1 Reply Last reply Reply Quote 0
                    • W Offline
                      WallysWellies @zanix
                      last edited by

                      @zanix You are correct. Looking in the console it’s trying to load from localhost. I’m not greatly fussed but one day I might look into where I can fix that.

                      Cheers!

                      zanixZ 1 Reply Last reply Reply Quote 0
                      • zanixZ Offline
                        zanix @WallysWellies
                        last edited by

                        @WallysWellies Are you running MM and Mealie on the same computer? And do you have the MMM-Mealie URL set as localhost?
                        If so, try changing the MMM-Mealie URL to the IP address of the computer it’s running on.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • 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