Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    SOLVED Finding module with high external traffic

    Troubleshooting
    3
    9
    747
    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.
    • M
      mmmmh Project Sponsor last edited by

      The modules I use all rely on local data sources. I run my instance in server-only mode. Still, I see unexpected traffic to a google-hosted IP address. How can I find the culprit (and stop it)?

      Sean 1 Reply Last reply Reply Quote 0
      • Sean
        Sean Module Developer @mmmmh last edited by

        @mmmmh Which modules are you using?

        S M 2 Replies Last reply Reply Quote 0
        • S
          sdetweil @Sean last edited by

          @Sean if you dnslookup that ip address, does it have a name associated?

          M 1 Reply Last reply Reply Quote 0
          • M
            mmmmh Project Sponsor @Sean last edited by

            @Sean I think I found the “culprit”, it may be the Spotify module’s polling. I just increased the interval and will see if the traffic decreases.

            Sean 1 Reply Last reply Reply Quote 0
            • M
              mmmmh Project Sponsor @sdetweil last edited by

              @sdetweil the IP resolves to a generic Google host, currently 53.224.186.35.bc.googleusercontent.com - I think it is used by Spotify.

              1 Reply Last reply Reply Quote 0
              • Sean
                Sean Module Developer @mmmmh last edited by Sean

                @mmmmh Yes, it retrieves requests per 1~2 seconds. Unfortunately Spotify Web API doesn’t support push mechanism to get status updated. So it needs pooling. I recommend 2000 ms or more frequency to update current playback if you don’t care.

                1 Reply Last reply Reply Quote 0
                • M
                  mmmmh Project Sponsor last edited by

                  @Sean I think I read somewhere that callback addresses could be provided (perhaps I misread this). If I have a DynDNS-backed FQD host and forwarded port I can provide, would this stop the polling requirement?

                  Sean 1 Reply Last reply Reply Quote 0
                  • Sean
                    Sean Module Developer @mmmmh last edited by

                    @mmmmh I don’t think so. To update current playback info (The playing status, playing time,…) on real time, This module has to call Spotify Web APIs frequently.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mmmmh Project Sponsor last edited by

                      @Sean I checked again, you are right, polling is the only option. Thanks for your cool module!

                      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy