• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Fuel error ECONNREFUSED

Scheduled Pinned Locked Moved Solved Troubleshooting
12 Posts 2 Posters 1.9k 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.
  • D Offline
    db1mso @sdetweil
    last edited by Oct 22, 2019, 9:39 AM

    @sdetweil see Attached Picture 0_1571737115017_logfile_TankerkoenigAPI#.JPG

    Sincerly Olli

    S 1 Reply Last reply Oct 22, 2019, 10:52 AM Reply Quote 0
    • S Away
      sdetweil @db1mso
      last edited by Oct 22, 2019, 10:52 AM

      @db1mso but your apikey=“API_KEY” is the wrong info

      you need to register on the site to get a key that allows you to connect
      https://creativecommons.tankerkoenig.de/

      my api=_key looks like this
      b0f70ce4-6ac6-bbed-67fd-225db01208be

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Oct 22, 2019, 11:05 AM Reply Quote 0
      • D Offline
        db1mso @sdetweil
        last edited by Oct 22, 2019, 11:05 AM

        @sdetweil i never publish my own API_KEY :winking_face:
        As i mentioned before, the url (with the right key in it) works perfekt in a Browser.

        Sincerly Olli

        S 1 Reply Last reply Oct 22, 2019, 11:07 AM Reply Quote 0
        • S Away
          sdetweil @db1mso
          last edited by Oct 22, 2019, 11:07 AM

          @db1mso ok, those requests are returning rc=200, which is good.

          the apikey shown doesn’t work, as I modified the numbers.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Oct 22, 2019, 11:27 AM Reply Quote 0
          • D Offline
            db1mso @sdetweil
            last edited by Oct 22, 2019, 11:27 AM

            @sdetweil modifiying is another method :winking_face:
            I think the problem was the number of request at a time. There list up to 9 Request at the same Timestamp.

            EDIT: Error found by myself!
            The value for UpdateInterval must set to 900000 //15min
            RTFM!

            Thanks for your time!

            Sincerly Olli

            S 1 Reply Last reply Oct 22, 2019, 11:30 AM Reply Quote 0
            • S Away
              sdetweil @db1mso
              last edited by sdetweil Oct 22, 2019, 11:35 AM Oct 22, 2019, 11:30 AM

              @db1mso cool… the doc doesn’t say MUST… but the code allows something shorter…

              I opened an issue on MMM-Fuel
              https://github.com/fewieden/MMM-Fuel/issues/38

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Oct 22, 2019, 11:54 AM Reply Quote 0
              • D Offline
                db1mso @sdetweil
                last edited by Oct 22, 2019, 11:54 AM

                @sdetweil Thanks!
                The option UpdateInterval is optional.

                Anyway. Shorter than 5 min makes no sense because the database on tankerkoenig updates every 4 min.

                Sincerly Olli

                S 1 Reply Last reply Oct 22, 2019, 11:56 AM Reply Quote 0
                • S Away
                  sdetweil @db1mso
                  last edited by Oct 22, 2019, 11:56 AM

                  @db1mso said in MMM-Fuel error ECONNREFUSED:

                  The option UpdateInterval is optional.

                  understood… but if shorter causes an error, then the module should enforce the minimum

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 1 / 2
                  1 / 2
                  • First post
                    9/12
                    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