Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Русский
    3. ioBroker
    4. ioBroker драйвера
    5. Драйвер Telegram Adapter

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Драйвер Telegram Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Pooh last edited by

      Новая версия (1.2.1) через SOCKS в режиме пинг работает, в режиме сервер не работает 😞

      Куда копать?

      1 Reply Last reply Reply Quote 0
      • goofyk
        goofyk last edited by

        копать сюда https://github.com/kirovilya/ioBroker.telegram

        сделал PR в основной репозиторий, ждем обновления драйвера

        1 Reply Last reply Reply Quote 0
        • S
          smoker_vvo last edited by

          Обновил драйвер, да же настроил прокси…...

          Но вы итоге......

          ! host.GoldFish2 2018-05-01 19:57:28.888 info instance system.adapter.telegram.0 started with pid 7164
          ! host.GoldFish2 2018-05-01 19:57:27.868 info Restart adapter system.adapter.telegram.0 because enabled
          ! host.GoldFish2 2018-05-01 19:57:27.868 error instance system.adapter.telegram.0 terminated with code 0 (OK)
          ! host.GoldFish2 2018-05-01 19:57:27.868 error Caught by controller[1]: port: 443 }
          ! host.GoldFish2 2018-05-01 19:57:27.868 error Caught by controller[1]: address: '88.212.233.100',
          ! host.GoldFish2 2018-05-01 19:57:27.868 error Caught by controller[1]: syscall: 'connect',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: errno: 'ETIMEDOUT',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: code: 'ETIMEDOUT',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: at exports._exceptionWithHostPort (util.js:1045:20)
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: at Object.exports._errnoException (util.js:1022:11)
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: { Error: connect ETIMEDOUT 88.212.233.100:443
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: port: 443 }
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: address: '88.212.233.100',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: syscall: 'connect',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: errno: 'ETIMEDOUT',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: code: 'ETIMEDOUT',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: at exports._exceptionWithHostPort (util.js:1045:20)
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: at Object.exports._errnoException (util.js:1022:11)
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: { Error: connect ETIMEDOUT 88.212.233.100:443
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: port: 443 }
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: address: '88.212.233.100',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: syscall: 'connect',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: errno: 'ETIMEDOUT',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: code: 'ETIMEDOUT',
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: at exports._exceptionWithHostPort (util.js:1045:20)
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: at Object.exports._errnoException (util.js:1022:11)
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[1]: { Error: connect ETIMEDOUT 88.212.233.100:443
          ! host.GoldFish2 2018-05-01 19:57:27.867 error Caught by controller[0]: See https://github.com/yagop/node-telegram- … issues/319. at module.js:570:32
          ! host.GoldFish2 2018-05-01 19:57:27.866 error Caught by controller[0]: In the future, you will have to enable it yourself.
          ! host.GoldFish2 2018-05-01 19:57:27.866 error Caught by controller[0]: Tue, 01 May 2018 09:57:05 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
          ! telegram.0 2018-05-01 19:57:27.354 error Error: connect ETIMEDOUT 88.212.233.100:443 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at TCPConnectWrap.afterConnect [as oncom
          ! telegram.0 2018-05-01 19:57:27.354 error uncaught exception: connect ETIMEDOUT 88.212.233.100:443
          ! telegram.0 2018-05-01 19:57:27.354 error Error: connect ETIMEDOUT 88.212.233.100:443 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at TCPConnectWrap.afterConnect [as oncom
          ! telegram.0 2018-05-01 19:57:27.354 error uncaught exception: connect ETIMEDOUT 88.212.233.100:443
          ! telegram.0 2018-05-01 19:57:27.354 error Error: connect ETIMEDOUT 88.212.233.100:443 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at TCPConnectWrap.afterConnect [as oncom
          ! telegram.0 2018-05-01 19:57:27.353 error uncaught exception: connect ETIMEDOUT 88.212.233.100:443
          ! telegram.0 2018-05-01 19:57:06.323 info starting. Version 1.2.3 in C:/ioBroker/node_modules/iobroker.telegram, node: v6.9.5
          ! host.GoldFish2 2018-05-01 19:56:56.386 info instance system.adapter.telegram.0 started with pid 7240
          ! host.GoldFish2 2018-05-01 19:56:55.357 info Restart adapter system.adapter.telegram.0 because enabled

          Куда рыть дальше??? Или какой прокси использовать??

          1 Reply Last reply Reply Quote 0
          • ViR
            ViR last edited by

            Добрый день тоже сыпятся ошибки при настройки прокси:

            ! host.orangepipcplus 2018-05-09 12:22:13.425 error instance system.adapter.telegram.0 terminated with code 0 (OK)
            ! Caught 2018-05-09 12:22:13.425 error by controller[3]: at TCP.onread (net.js:607:20) code: 'EAUTHNOTSUPPORT' }
            ! Caught 2018-05-09 12:22:13.425 error by controller[3]: at Socket.Readable.push (_stream_readable.js:208:10)
            ! Caught 2018-05-09 12:22:13.425 error by controller[3]: at readableAddChunk (_stream_readable.js:250:11)
            ! Caught 2018-05-09 12:22:13.424 error by controller[3]: at addChunk (_stream_readable.js:263:12)
            ! Caught 2018-05-09 12:22:13.424 error by controller[3]: at Socket.emit (events.js:211:7)
            ! Caught 2018-05-09 12:22:13.424 error by controller[3]: at emitOne (events.js:116:13)
            ! Caught 2018-05-09 12:22:13.424 error by controller[3]: at Socket.Parser.__onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:33:10)
            ! Caught 2018-05-09 12:22:13.423 error by controller[3]: at Parser._onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:85:14)
            ! Caught 2018-05-09 12:22:13.423 error by controller[3]: at Parser.emit (events.js:211:7)
            ! Caught 2018-05-09 12:22:13.423 error by controller[3]: at emitOne (events.js:116:13)
            ! Caught 2018-05-09 12:22:13.423 error by controller[3]: at Parser. <anonymous>(/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.js:102:15)
            ! Caught 2018-05-09 12:22:13.422 error by controller[3]: { Error: Authentication method mismatch
            ! Caught 2018-05-09 12:22:13.422 error by controller[2]: at TCP.onread (net.js:607:20) code: 'EAUTHNOTSUPPORT' }
            ! Caught 2018-05-09 12:22:13.422 error by controller[2]: at Socket.Readable.push (_stream_readable.js:208:10)
            ! Caught 2018-05-09 12:22:13.422 error by controller[2]: at readableAddChunk (_stream_readable.js:250:11)
            ! Caught 2018-05-09 12:22:13.421 error by controller[2]: at addChunk (_stream_readable.js:263:12)
            ! Caught 2018-05-09 12:22:13.421 error by controller[2]: at Socket.emit (events.js:211:7)
            ! Caught 2018-05-09 12:22:13.421 error by controller[2]: at emitOne (events.js:116:13)
            ! Caught 2018-05-09 12:22:13.421 error by controller[2]: at Socket.Parser.__onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:33:10)
            ! Caught 2018-05-09 12:22:13.420 error by controller[2]: at Parser._onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:85:14)
            ! Caught 2018-05-09 12:22:13.420 error by controller[2]: at Parser.emit (events.js:211:7)
            ! Caught 2018-05-09 12:22:13.420 error by controller[2]: at emitOne (events.js:116:13)
            ! Caught 2018-05-09 12:22:13.420 error by controller[2]: at Parser. <anonymous>(/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.js:102:15)
            ! Caught 2018-05-09 12:22:13.420 error by controller[2]: { Error: Authentication method mismatch
            ! Caught 2018-05-09 12:22:13.419 error by controller[1]: at TCP.onread (net.js:607:20) code: 'EAUTHNOTSUPPORT' }
            ! Caught 2018-05-09 12:22:13.419 error by controller[1]: at Socket.Readable.push (_stream_readable.js:208:10)
            ! Caught 2018-05-09 12:22:13.419 error by controller[1]: at readableAddChunk (_stream_readable.js:250:11)
            ! Caught 2018-05-09 12:22:13.419 error by controller[1]: at addChunk (_stream_readable.js:263:12)
            ! Caught 2018-05-09 12:22:13.418 error by controller[1]: at Socket.emit (events.js:211:7)
            ! Caught 2018-05-09 12:22:13.418 error by controller[1]: at emitOne (events.js:116:13)
            ! Caught 2018-05-09 12:22:13.418 error by controller[1]: at Socket.Parser.__onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:33:10)
            ! Caught 2018-05-09 12:22:13.418 error by controller[1]: at Parser._onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:85:14)
            ! Caught 2018-05-09 12:22:13.417 error by controller[1]: at Parser.emit (events.js:211:7)
            ! Caught 2018-05-09 12:22:13.417 error by controller[1]: at emitOne (events.js:116:13)
            ! Caught 2018-05-09 12:22:13.417 error by controller[1]: at Parser. <anonymous>(/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.js:102:15)
            ! Caught 2018-05-09 12:22:13.417 error by controller[1]: { Error: Authentication method mismatch
            ! Caught 2018-05-09 12:22:13.416 error by controller[0]: See https://github.com/yagop/node-telegram- … issues/319. at module.js:652:30
            ! Caught 2018-05-09 12:22:13.416 error by controller[0]: In the future, you will have to enable it yourself.
            ! Caught 2018-05-09 12:22:13.415 error by controller[0]: Wed, 09 May 2018 02:22:11 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
            ! telegram.0 2018-05-09 12:22:13.324 info terminating
            ! telegram.0 2018-05-09 12:22:12.816 error at TCP.onread (net.js:607:20)
            ! telegram.0 2018-05-09 12:22:12.816 error at Socket.Readable.push (_stream_readable.js:208:10)
            ! telegram.0 2018-05-09 12:22:12.816 error at readableAddChunk (_stream_readable.js:250:11)
            ! telegram.0 2018-05-09 12:22:12.816 error at addChunk (_stream_readable.js:263:12)
            ! telegram.0 2018-05-09 12:22:12.816 error at Socket.emit (events.js:211:7)
            ! telegram.0 2018-05-09 12:22:12.816 error at emitOne (events.js:116:13)
            ! telegram.0 2018-05-09 12:22:12.816 error at Socket.Parser.__onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:33:10)
            ! telegram.0 2018-05-09 12:22:12.816 error at Parser._onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:85:14)
            ! telegram.0 2018-05-09 12:22:12.816 error at Parser.emit (events.js:211:7)
            ! telegram.0 2018-05-09 12:22:12.816 error at emitOne (events.js:116:13)
            ! telegram.0 2018-05-09 12:22:12.816 error at Parser. <anonymous>(/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.js:102:15)
            ! telegram.0 2018-05-09 12:22:12.816 error Error: Authentication method mismatch
            ! telegram.0 2018-05-09 12:22:12.815 error uncaught exception: Authentication method mismatch
            ! telegram.0 2018-05-09 12:22:12.809 error at TCP.onread (net.js:607:20)
            ! telegram.0 2018-05-09 12:22:12.809 error at Socket.Readable.push (_stream_readable.js:208:10)
            ! telegram.0 2018-05-09 12:22:12.809 error at readableAddChunk (_stream_readable.js:250:11)
            ! telegram.0 2018-05-09 12:22:12.809 error at addChunk (_stream_readable.js:263:12)
            ! telegram.0 2018-05-09 12:22:12.809 error at Socket.emit (events.js:211:7)
            ! telegram.0 2018-05-09 12:22:12.809 error at emitOne (events.js:116:13)
            ! telegram.0 2018-05-09 12:22:12.809 error at Socket.Parser.__onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:33:10)
            ! telegram.0 2018-05-09 12:22:12.809 error at Parser._onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:85:14)
            ! telegram.0 2018-05-09 12:22:12.809 error at Parser.emit (events.js:211:7)
            ! telegram.0 2018-05-09 12:22:12.809 error at emitOne (events.js:116:13)
            ! telegram.0 2018-05-09 12:22:12.809 error at Parser. <anonymous>(/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.js:102:15)
            ! telegram.0 2018-05-09 12:22:12.809 error Error: Authentication method mismatch
            ! telegram.0 2018-05-09 12:22:12.808 error uncaught exception: Authentication method mismatch
            ! telegram.0 2018-05-09 12:22:12.798 error at TCP.onread (net.js:607:20)
            ! telegram.0 2018-05-09 12:22:12.798 error at Socket.Readable.push (_stream_readable.js:208:10)
            ! telegram.0 2018-05-09 12:22:12.798 error at readableAddChunk (_stream_readable.js:250:11)
            ! telegram.0 2018-05-09 12:22:12.798 error at addChunk (_stream_readable.js:263:12)
            ! telegram.0 2018-05-09 12:22:12.798 error at Socket.emit (events.js:211:7)
            ! telegram.0 2018-05-09 12:22:12.798 error at emitOne (events.js:116:13)
            ! telegram.0 2018-05-09 12:22:12.798 error at Socket.Parser.__onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:33:10)
            ! telegram.0 2018-05-09 12:22:12.798 error at Parser._onData (/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.parser.js:85:14)
            ! telegram.0 2018-05-09 12:22:12.798 error at Parser.emit (events.js:211:7)
            ! telegram.0 2018-05-09 12:22:12.798 error at emitOne (events.js:116:13)
            ! telegram.0 2018-05-09 12:22:12.798 error at Parser. <anonymous>(/opt/iobroker/node_modules/iobroker.telegram/node_modules/socksv5/lib/client.js:102:15)
            ! telegram.0 2018-05-09 12:22:12.798 error Error: Authentication method mismatch
            ! telegram.0 2018-05-09 12:22:12.796 error uncaught exception: Authentication method mismatch</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>
            Кто подскажет где копать?

            1 Reply Last reply Reply Quote 0
            • goofyk
              goofyk last edited by

              Похоже, что-то не так с прокси.

              Попробуй такой прокси:

              Server: socks.kuzmitch.ru

              Port: 1080

              User: socksuser

              Pass: heropass2

              1 Reply Last reply Reply Quote 0
              • ViR
                ViR last edited by

                @goofyk:

                Похоже, что-то не так с прокси.

                Попробуй такой прокси:

                Server: socks.kuzmitch.ru

                Port: 1080

                User: socksuser

                Pass: heropass2 `
                И с этим не хотит но ошибка уже другая, такая же как и без прокси

                ! telegram.0 2018-05-11 04:33:59.911 error polling_error:EFATAL, EFATAL: Error: self signed certificate
                ! telegram.0 2018-05-11 04:33:58.560 info starting. Version 1.2.3 in /opt/iobroker/node_modules/iobroker.telegram, node: v8.11.1
                причем когда останавливаешь бота Telegramm сыпятся ошибки

                ! host.orangepipcplus 2018-05-11 04:54:45.766 info instance system.adapter.telegram.0 terminated with code 0 (OK)
                ! Caught 2018-05-11 04:54:45.766 error by controller[1]: at process._tickCallback (internal/process/next_tick.js:180:9)
                ! Caught 2018-05-11 04:54:45.765 error by controller[1]: at _combinedTickCallback (internal/process/next_tick.js:138:11)
                ! Caught 2018-05-11 04:54:45.765 error by controller[1]: at emitErrorNT (internal/streams/destroy.js:64:8)
                ! Caught 2018-05-11 04:54:45.765 error by controller[1]: at TLSSocket.emit (events.js:211:7)
                ! Caught 2018-05-11 04:54:45.765 error by controller[1]: at emitOne (events.js:116:13)
                ! Caught 2018-05-11 04:54:45.764 error by controller[1]: at TLSSocket.socketErrorListener (_http_client.js:387:9)
                ! Caught 2018-05-11 04:54:45.764 error by controller[1]: at ClientRequest.emit (events.js:211:7)
                ! Caught 2018-05-11 04:54:45.764 error by controller[1]: at emitOne (events.js:116:13)
                ! Caught 2018-05-11 04:54:45.764 error by controller[1]: at Request.onRequestError (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request/request.js:878:8)
                ! Caught 2018-05-11 04:54:45.763 error by controller[1]: at Request.emit (events.js:211:7)
                ! Caught 2018-05-11 04:54:45.763 error by controller[1]: at emitOne (events.js:116:13)
                ! Caught 2018-05-11 04:54:45.763 error by controller[1]: at self.callback (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request/request.js:186:22)
                ! Caught 2018-05-11 04:54:45.763 error by controller[1]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request-promise/node_modules/request-promise-
                ! Caught 2018-05-11 04:54:45.763 error by controller[1]: at Request.plumbing.callback (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request-promise/node_modules/request-promise-core/lib/
                ! Caught 2018-05-11 04:54:45.762 error by controller[1]: at new RequestError (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request-promise/node_modules/request-promise-core/lib/errors.js
                ! Caught 2018-05-11 04:54:45.762 error by controller[1]: Unhandled rejection RequestError: Error: self signed certificate
                ! Caught 2018-05-11 04:54:45.762 error by controller[1]: at process._tickCallback (internal/process/next_tick.js:180:9)
                ! Caught 2018-05-11 04:54:45.762 error by controller[1]: at _combinedTickCallback (internal/process/next_tick.js:138:11)
                ! Caught 2018-05-11 04:54:45.761 error by controller[1]: at emitErrorNT (internal/streams/destroy.js:64:8)
                ! Caught 2018-05-11 04:54:45.761 error by controller[1]: at TLSSocket.emit (events.js:211:7)
                ! Caught 2018-05-11 04:54:45.761 error by controller[1]: at emitOne (events.js:116:13)
                ! Caught 2018-05-11 04:54:45.760 error by controller[1]: at TLSSocket.socketErrorListener (_http_client.js:387:9)
                ! Caught 2018-05-11 04:54:45.760 error by controller[1]: at ClientRequest.emit (events.js:211:7)
                ! Caught 2018-05-11 04:54:45.760 error by controller[1]: at emitOne (events.js:116:13)
                ! Caught 2018-05-11 04:54:45.759 error by controller[1]: at Request.onRequestError (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request/request.js:878:8)
                ! Caught 2018-05-11 04:54:45.759 error by controller[1]: at Request.emit (events.js:211:7)
                ! Caught 2018-05-11 04:54:45.759 error by controller[1]: at emitOne (events.js:116:13)
                ! Caught 2018-05-11 04:54:45.759 error by controller[1]: at self.callback (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request/request.js:186:22)
                ! Caught 2018-05-11 04:54:45.758 error by controller[1]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request-promise/node_modules/request-promise-
                ! Caught 2018-05-11 04:54:45.758 error by controller[1]: at Request.plumbing.callback (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request-promise/node_modules/request-promise-core/lib/
                ! Caught 2018-05-11 04:54:45.758 error by controller[1]: at new RequestError (/opt/iobroker/node_modules/iobroker.telegram/node_modules/node-telegram-bot-api/node_modules/request-promise/node_modules/request-promise-core/lib/errors.js
                ! Caught 2018-05-11 04:54:45.758 error by controller[1]: Unhandled rejection RequestError: Error: self signed certificate
                ! Caught 2018-05-11 04:54:45.757 error by controller[0]: See https://github.com/yagop/node-telegram- … issues/319. at module.js:652:30
                ! Caught 2018-05-11 04:54:45.757 error by controller[0]: In the future, you will have to enable it yourself.
                ! Caught 2018-05-11 04:54:45.756 error by controller[0]: Thu, 10 May 2018 18:54:28 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.

                1 Reply Last reply Reply Quote 0
                • goofyk
                  goofyk last edited by

                  как будто кто-то сертификат подменяет… уж не провайдер ли...

                  даже не знаю почему так.

                  1 Reply Last reply Reply Quote 0
                  • aurodionov
                    aurodionov last edited by

                    у меня драйвер даже через впн не пошел, горит жёлтый и нихрена не работает

                    1 Reply Last reply Reply Quote 0
                    • goofyk
                      goofyk last edited by

                      видать провайдер-провайдеру рознь.

                      у меня на Мегафоне и РТ через прокси нормально работают боты

                      1 Reply Last reply Reply Quote 0
                      • aurodionov
                        aurodionov last edited by

                        у меня один из пров РТ. не работает и всё

                        1 Reply Last reply Reply Quote 0
                        • ViR
                          ViR last edited by

                          Так и не появилось решение, пробовал через Tor тоже не получилось?

                          1 Reply Last reply Reply Quote 0
                          • A
                            andrey1509 last edited by

                            Здравствуйте все.

                            Пытаюсь подключить Telegram.

                            Что сделал. Установил драйвер. Зашел в https://web.telegram.org получил API ключ , дальше

                            попытался получить пароль , не пойму как.

                            На системе ( У меня Кубик) установил SOCKS5 (dante-server). Запустился вроде работает.

                            Выхожу в мир через Keenetic ADSL, порт TCP пробросил

                            Как это все увязать до кучи мозгов не хватает. Помогите пожалуйста.

                            При запуске telegram.0 в логе получаю ошибки:

                            ! Caught by controller[0]: Sat, 01 Sep 2018 13:14:39 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
                            ! 2018-09-01 16:14:41.959 - [31merror[39m: Caught by controller[0]: In the future, you will have to enable it yourself.
                            ! 2018-09-01 16:14:41.959 - [31merror[39m: Caught by controller[0]: See https://github.com/yagop/node-telegram- … issues/319. at internal/modules/cjs/loader.js:689:30
                            ! 2018-09-01 16:14:41.960 - [31merror[39m: Caught by controller[1]: { Error: connection not allowed by ruleset
                            ! 2018-09-01 16:14:41.960 - [31merror[39m: Caught by controller[1]: at Parser._onData (/opt/iobroker/node_modules/socksv5/lib/client.parser.js:122:21)
                            ! 2018-09-01 16:14:41.960 - [31merror[39m: Caught by controller[1]: at Socket.Parser.__onData (/opt/iobroker/node_modules/socksv5/lib/client.parser.js:33:10)
                            ! 2018-09-01 16:14:41.960 - [31merror[39m: Caught by controller[1]: at Socket.emit (events.js:182:13)
                            ! 2018-09-01 16:14:41.961 - [31merror[39m: Caught by controller[1]: at addChunk (_stream_readable.js:283:12)
                            ! 2018-09-01 16:14:41.961 - [31merror[39m: Caught by controller[1]: at readableAddChunk (_stream_readable.js:264:11)
                            ! 2018-09-01 16:14:41.961 - [31merror[39m: Caught by controller[1]: at Socket.Readable.push (_stream_readable.js:219:10)
                            ! 2018-09-01 16:14:41.961 - [31merror[39m: Caught by controller[1]: at TCP.onread (net.js:639:20) code: 'EACCES' }
                            ! 2018-09-01 16:14:41.962 - [31merror[39m: Caught by controller[2]: { Error: connection not allowed by ruleset
                            ! 2018-09-01 16:14:41.962 - [31merror[39m: Caught by controller[2]: at Parser._onData (/opt/iobroker/node_modules/socksv5/lib/client.parser.js:122:21)
                            ! 2018-09-01 16:14:41.962 - [31merror[39m: Caught by controller[2]: at Socket.Parser.__onData (/opt/iobroker/node_modules/socksv5/lib/client.parser.js:33:10)
                            ! 2018-09-01 16:14:41.962 - [31merror[39m: Caught by controller[2]: at Socket.emit (events.js:182:13)
                            ! 2018-09-01 16:14:41.963 - [31merror[39m: Caught by controller[2]: at addChunk (_stream_readable.js:283:12)
                            ! 2018-09-01 16:14:41.963 - [31merror[39m: Caught by controller[2]: at readableAddChunk (_stream_readable.js:264:11)
                            ! 2018-09-01 16:14:41.963 - [31merror[39m: Caught by controller[2]: at Socket.Readable.push (_stream_readable.js:219:10)
                            ! 2018-09-01 16:14:41.963 - [31merror[39m: Caught by controller[2]: at TCP.onread (net.js:639:20) code: 'EACCES' }
                            ! 2018-09-01 16:14:41.964 - [31merror[39m: Caught by controller[3]: { Error: connection not allowed by ruleset
                            ! 2018-09-01 16:14:41.964 - [31merror[39m: Caught by controller[3]: at Parser._onData (/opt/iobroker/node_modules/socksv5/lib/client.parser.js:122:21)
                            ! 2018-09-01 16:14:41.964 - [31merror[39m: Caught by controller[3]: at Socket.Parser.__onData (/opt/iobroker/node_modules/socksv5/lib/client.parser.js:33:10)
                            ! 2018-09-01 16:14:41.964 - [31merror[39m: Caught by controller[3]: at Socket.emit (events.js:182:13)
                            ! 2018-09-01 16:14:41.965 - [31merror[39m: Caught by controller[3]: at addChunk (_stream_readable.js:283:12)
                            ! 2018-09-01 16:14:41.965 - [31merror[39m: Caught by controller[3]: at readableAddChunk (_stream_readable.js:264:11)
                            ! 2018-09-01 16:14:41.965 - [31merror[39m: Caught by controller[3]: at Socket.Readable.push (_stream_readable.js:219:10)
                            ! 2018-09-01 16:14:41.965 - [31merror[39m: Caught by controller[3]: at TCP.onread (net.js:639:20) code: 'EACCES' }
                            ! 2018-09-01 16:14:41.966 - [31merror[39m: host.cubie instance system.adapter.telegram.0 terminated with code 0 (OK)
                            ! 2018-09-01 16:14:41.966 - [32minfo[39m: host.cubie Restart adapter system.adapter.telegram.0 because enabled
                            ! 2018-09-01 16:14:43.011 - [32minfo[39m: host.cubie instance system.adapter.telegram.0 started with pid 14390
                            ! 2018-09-01 16:14:49.076 - [32minfo[39m: telegram.0 starting. Version 1.2.7 in /opt/iobroker/node_modules/iobroker.telegram, node: v10.9.0
                            ! 2018-09-01 16:14:50.097 - [31merror[39m: telegram.0 uncaught exception: connection not allowed by ruleset
                            ! 2018-09-01 16:14:50.103 - [31merror[39m: telegram.0 Error: connection not allowed by ruleset
                            ! at Parser._onData (/opt/iobroker/node_modules/socksv5/lib/client.parser.js:122:21)
                            ! at Socket.Parser.__onData (/opt/iobroker/node_modules/socksv5/lib/client.parser.js:33:10)
                            ! at Socket.emit (events.js:182:13)
                            ! at addChunk (_stream_readable.js:283:12)
                            ! at readableAddChunk (_stream_readable.js:264:11)
                            ! at Socket.Readable.push (_stream_readable.js:219:10)
                            ! at TCP.onread (net.js:639:20)
                            Ходил по адресу https://github.com/yagop/node-telegram- … issues/319 , но ни чего так и не понял.

                            1 Reply Last reply Reply Quote 0
                            • aurodionov
                              aurodionov last edited by

                              @andrey1509:

                              дальше

                              попытался получить пароль , не пойму как.

                              Ходил по адресу https://github.com/yagop/node-telegram- … issues/319 , но ни чего так и не понял. `

                              пароль задаешь свой, при конекте бот его спросит

                              1 Reply Last reply Reply Quote 0
                              • A
                                andrey1509 last edited by

                                @aurodionov:

                                @andrey1509:

                                дальше

                                попытался получить пароль , не пойму как.

                                Ходил по адресу https://github.com/yagop/node-telegram- … issues/319 , но ни чего так и не понял. `

                                пароль задаешь свой, при конекте бот его спросит `
                                Бот ни чего не просит.

                                В proxy пароль даю свой который в danted прописал.

                                1 Reply Last reply Reply Quote 0
                                • aurodionov
                                  aurodionov last edited by

                                  51___________3.png
                                  все настройки

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    andrey1509 last edited by

                                    Эти настройки я делаю , но значок горит желтым.

                                    В логе " telegram.0 polling_error:EFATAL, EFATAL: Error: connect ETIMEDOUT 149.154.167.220:443"

                                    1 Reply Last reply Reply Quote 0
                                    • aurodionov
                                      aurodionov last edited by

                                      @andrey1509:

                                      Эти настройки я делаю , но значок горит желтым.

                                      В логе " telegram.0 polling_error:EFATAL, EFATAL: Error: connect ETIMEDOUT 149.154.167.220:443" `

                                      провайдер блокирует, в России у многих так

                                      приходится телеграмм трафик заворачивать в впн канал, еще есть место с подменой днс

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        andrey1509 last edited by

                                        @aurodionov:

                                        @andrey1509:

                                        Эти настройки я делаю , но значок горит желтым.

                                        В логе " telegram.0 polling_error:EFATAL, EFATAL: Error: connect ETIMEDOUT 149.154.167.220:443" `

                                        провайдер блокирует, в России у многих так

                                        приходится телеграмм трафик заворачивать в впн канал, еще есть место с подменой днс `

                                        Я это из лога понял.

                                        Как это обойти?

                                        Пробую danted не получается, в логе отправляют https://github.com/yagop/node-telegram- … issues/319.

                                        А там чего делать не понятно (англицкий на уровне - ниже плинтуса 😄 )

                                        1 Reply Last reply Reply Quote 0
                                        • aurodionov
                                          aurodionov last edited by

                                          @andrey1509:

                                          @aurodionov:

                                          @andrey1509:

                                          Эти настройки я делаю , но значок горит желтым.

                                          В логе " telegram.0 polling_error:EFATAL, EFATAL: Error: connect ETIMEDOUT 149.154.167.220:443" `

                                          провайдер блокирует, в России у многих так

                                          приходится телеграмм трафик заворачивать в впн канал, еще есть место с подменой днс `

                                          Я это из лога понял.

                                          Как это обойти?

                                          Пробую danted не получается, в логе отправляют https://github.com/yagop/node-telegram- … issues/319.

                                          А там чего делать не понятно (англицкий на уровне - ниже плинтуса 😄 ) `

                                          я же написал, завернуть трафик до серверов телеги в впн и проверить что пров не подменяет днс

                                          как завернуть ….каждому свое, у меня микрот и выделенный сервер на арубе

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            Bosya last edited by

                                            Писал ранее. Ответ не получил. Через клиент отправляю команду боту и тут он попадает в цикл.
                                            В драйвере это видно как одинаковые комманды одна за другой. Если послать другую комманду - может остановится, а может снова уйти в цикл...

                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:12:24.526	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:12:24.512	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:12:17.123	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:12:17.109	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:12:09.541	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:12:09.531	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:12:01.159	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:12:01.148	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:11:53.498	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:11:53.487	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:11:45.920	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:11:45.900	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:11:38.172	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:11:38.143	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:11:30.547	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:11:30.529	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:11:23.653	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:11:23.649	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:11:16.572	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:11:16.549	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:11:09.178	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:11:09.165	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:11:01.639	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:11:01.630	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:10:54.357	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:10:54.351	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:10:45.658	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:10:45.646	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:10:38.446	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:10:38.437	2019-05-16 09:43:37.614
                                            stateChange	telegram.0.communicate.request	"[Sergii]/ip"	false	telegram.0	2019-05-16 16:10:31.055	2019-05-16 09:54:33.176
                                            stateChange	telegram.0.communicate.requestMessageId	110915	false	telegram.0	2019-05-16 16:10:31.036	2019-05-16 09:43:37.614
                                            

                                            Не совсем понятно что с этим делать и как остановить...

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            674
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            20
                                            55
                                            17686
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo