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.

    Excessive pings to CalDAV server, like 2 per second

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 2 Posters 133 Views 2 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.
    • X Offline
      xylyn
      last edited by

      Hello! I have an installation with the stock calendar and MMM-CalendarEXT3 modules.

      I also run a local CalDAV server on a Synology.

      Despite the fetchInterval and refreshInterval variables being set to 180000, MagicMirror is almost constantly chatting with the CalDAV server (keeping the HDDs from ever spinning down).

      The DNS query log shows a lookup from MM to the CalDAV server about two times per second. The MM install is the chattiest thing on my entire network!

      How can I go about troubleshooting this? I can’t imagine any reason why MM needs to perform a lookup more often than the fetch interval.

      Thank you for your time!

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

        @xylyn for test, if you disable the caldav module, does the network traffic go away?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        X 1 Reply Last reply Reply Quote 0
        • X Offline
          xylyn @sdetweil
          last edited by

          @sdetweil Commenting out the calendar module in config.js doesn’t stop the network traffic until a reboot, after which it’s silenced.

          Interestingly…the problem appears to grow with time. Looking back 24 hours ago, MM was around 300 requests per minute, and now it’s averaging about 400:
          query_graph.png

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

            @xylyn the caldav module is getting g the data from the server
            To create the iCal file the MagicMirror calendar module needs

            I don’t know how the caldav module works at that level

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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