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 4.9k 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 @Guest
      last edited by

      @Sean

      /home/pi/MagicMirror/modules/MMM-TelegramBot/.git/logs/HEAD

      0000000000000000000000000000000000000000 9fbce6fe4439d56d46527cd4441bf4cd823bc56b pi <pi@pi.(none)> 1581112213 +0300	clone: from https://github.com/eouia/MMM-TelegramBot.git
      
      ? 1 Reply Last reply Reply Quote 0
      • M Offline
        Mrtrol2013
        last edited by

        @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

          @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 Reply Quote 0
          • M Offline
            Mrtrol2013 @Guest
            last edited by

            @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 Reply Quote 0
            • M Offline
              Mrtrol2013 @Guest
              last edited by

              @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

                @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

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

                  M 2 Replies Last reply Reply Quote 0
                  • M Offline
                    Mrtrol2013 @Guest
                    last edited by

                    @Sean thank you

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mrtrol2013 @Guest
                      last edited by

                      @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 Reply Quote 0
                      • ? Offline
                        A Former User @Mrtrol2013
                        last edited by

                        @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 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