• 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-TelegramBot error.

Scheduled Pinned Locked Moved Unsolved Troubleshooting
26 Posts 5 Posters 3.7k Views 5 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.
  • M Offline
    Mrtrol2013
    last edited by Feb 9, 2020, 2:03 PM

    @Sean
    I do not know how to view the log file

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User @Mrtrol2013
      last edited by Feb 9, 2020, 2:06 PM

      @Mrtrol2013
      :(

      If you are using pm2 to execute MagicMirror,

      pm2 logs
      

      Or,
      just stop pm2 and execute npm start dev on MagicMirror directory.

      pm2 stop all
      cd ~/MagicMirror
      npm start dev
      

      It will show runtime log on your terminal shell.

      M 2 Replies Last reply Feb 9, 2020, 2:14 PM Reply Quote 0
      • M Offline
        Mrtrol2013 @Guest
        last edited by Feb 9, 2020, 2:14 PM

        @Sean said in MMM-TelegramBot error.:

        pm2 logs

        http://skrinshoter.ru/s/090220/uYldwV0X?a
        http://skrinshoter.ru/s/090220/hqejBmIE?a
        http://skrinshoter.ru/s/090220/M8sqFA3M?a

        ? 2 Replies Last reply Feb 9, 2020, 2:28 PM Reply Quote 0
        • M Offline
          Mrtrol2013 @Guest
          last edited by Feb 9, 2020, 2:16 PM

          @Sean said in MMM-TelegramBot error.:

          Or,
          just stop pm2 and execute npm start dev on MagicMirror directory.
          pm2 stop all
          cd ~/MagicMirror
          npm start dev

          It will show runtime log on your terminal shell.
          http://skrinshoter.ru/s/090220/qvC2cwfM?a
          http://skrinshoter.ru/s/090220/38fGJyAM?a

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @Mrtrol2013
            last edited by A Former User Feb 9, 2020, 2:32 PM Feb 9, 2020, 2:28 PM

            @Mrtrol2013
            Usually connect ETIMEDOUT error will occur when your device would be behind a proxy. Was it accessing the internet via a proxy server? (perhaps from a school or company)
            Or your firewall would be blocking it. Check it. (Sorry I can’t help these kinds of issues. Discuss with your network admin.)

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @Mrtrol2013
              last edited by Feb 9, 2020, 2:36 PM

              @Mrtrol2013
              Anyway, I’ll make some patch for using under a proxy. But cannot guarantee when it is done.

              M 2 Replies Last reply Feb 9, 2020, 3:04 PM Reply Quote 0
              • M Offline
                Mrtrol2013 @Guest
                last edited by Feb 9, 2020, 3:04 PM

                @Sean thank you

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Mrtrol2013 @Guest
                  last edited by Feb 9, 2020, 4:01 PM

                  @Sean I’m very interested in your module, I can use it with a proxy at the moment. Can you explain how to make it work?

                  ? 1 Reply Last reply Feb 9, 2020, 4:03 PM Reply Quote 0
                  • ? Offline
                    A Former User @Mrtrol2013
                    last edited by Feb 9, 2020, 4:03 PM

                    @Mrtrol2013
                    adding some proxy host and path info on request to telegram server, might be needed. not so complex, but real test be required.

                    Z 1 Reply Last reply Aug 12, 2020, 4:58 PM Reply Quote 0
                    • Z Offline
                      Zoltan @Guest
                      last edited by Aug 12, 2020, 4:58 PM

                      @Sean
                      Please can you have a look at my log file. I have made a fresh install but my problem still persist. When i use the /help and the other commands in the help file, then i get the expected response. But when i use the
                      /commands or
                      /mychatid then i get a responce of

                      “Unrecognized command. Say what?”

                      I have played with some of the settings of my phone and tried to whitelist my phones ip in the config file but still no joy. Any idea from your side looking at the log? I also dont see my log file grow as i try the commands on my phone

                      Part1.jpg
                      Part2.jpg

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