Coder Social home page Coder Social logo

Comments (13)

Osrx avatar Osrx commented on July 22, 2024 4

Home Bot stop functioning today...
Russia....

Please add socks proxy support!

from iobroker.telegram.

GermanBluefox avatar GermanBluefox commented on July 22, 2024

from iobroker.telegram.

Osrx avatar Osrx commented on July 22, 2024

from iobroker.telegram.

GermanBluefox avatar GermanBluefox commented on July 22, 2024

from iobroker.telegram.

Osrx avatar Osrx commented on July 22, 2024

Also there is a way to implement SOCK5 support to Telegram bot.
Can you add this in your connector?

yagop/node-telegram-bot-api#562 (comment)

from iobroker.telegram.

Haba1234 avatar Haba1234 commented on July 22, 2024

Hi!

please test socks5 https://github.com/Haba1234/ioBroker.telegram

from iobroker.telegram.

Osrx avatar Osrx commented on July 22, 2024

I think i do something wrong.
For clear test, I've delete current telegram instance. Also telegram folder was deleted from filesystem.
Install from GitHub folder from URL: https://github.com/Haba1234/ioBroker.telegram

The debug log is:

`

host.cubieboard2 2018-04-18 20:14:23.511 info Update repository "default" under "http://download.iobroker.net/sources-dist.json"
iobroker 2018-04-18 20:14:22.861 info exit 0
iobroker 2018-04-18 20:14:22.666 info └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], requ
iobroker 2018-04-18 20:14:22.666 info [email protected] var/opt/iobroker/node_modules/iobroker.telegram├── [email protected] ([email protected])
web.0 2018-04-18 20:13:48.602 info 2018-04-18T17:13:48.601Z Connected system.user.admin
web.0 2018-04-18 20:13:28.979 info 2018-04-18T17:13:28.978Z Connected system.user.admin
iobroker 2018-04-18 20:12:48.495 info [email protected]: wanted: {"node":">= 6.4.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
iobroker 2018-04-18 20:12:48.488 info npm WARN engine
iobroker 2018-04-18 20:12:47.515 info WARN engine [email protected]: wanted: {"node":">= 6.4.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
iobroker 2018-04-18 20:12:47.505 info npm
iobroker 2018-04-18 20:12:34.959 info npm install https://github.com/Haba1234/ioBroker.telegram/tarball/master --production --prefix "/var/opt/iobroker" (System call)
iobroker 2018-04-18 20:12:34.050 info install https://github.com/Haba1234/ioBroker.telegram/tarball/master
`

I see folder structure with changes about socks proxy.
` root@cubieboard2:/var/opt/iobroker/node_modules/iobroker.telegram/admin# cat ./words.js | grep Prox
"Proxy Socks5 enable": { "en": "Proxy Socks5 enable", "de": "Proxy Socks5 aktivieren", "ru": "Включить proxy Socks5", "pt": "Proxy Socks5 ativar", "nl": "Proxy Socks5 inschakelen", "fr": "Proxy Socks5 activer", "it": "Abilita Proxy Socks5", "es": "Proxy Socks5 habilita", "pl": "Włącz Proxy Socks5"},
"proxy Host": { "en": "proxy Host", "de": "Proxy-Host", "ru": "прокси-сервер", "pt": "host proxy", "nl": "Proxy host", "fr": "Hôte proxy", "it": "host proxy", "es": "host proxy", "pl": "Host proxy"},

root@cubieboard2:/var/opt/iobroker/node_modules/iobroker.telegram/admin#`

Also I see that Telegram adapter version 1.2.1 installed in adapter tab.

But I don't see that Telegram.0 instance appears in "Instances" tab...
So I can not configure it. Or check something...

from iobroker.telegram.

Haba1234 avatar Haba1234 commented on July 22, 2024

after installation with the github, you need to click "plus" (install the driver) on the tab "Drivers"

from iobroker.telegram.

Osrx avatar Osrx commented on July 22, 2024

Ok.
If I click "+" and adapter installed. But in adapter settings I've see nothing about proxy... =(

There is two files index.html and index_m.html and only in second there is something about Proxy.
If I rename one to another I start to see settings page with proxy settings but there is no Save button...

Where is a problem?

from iobroker.telegram.

Haba1234 avatar Haba1234 commented on July 22, 2024

Андрей, админка у тебя второй версии что-ли? Драйвер я апгрейдил под третью админку только (index_m.html который). В группе телеграм есть?

from iobroker.telegram.

Osrx avatar Osrx commented on July 22, 2024

Написано 2.0.9
Ума не приложу как ее обновить. Он не говорит что есть более новая версия я и не обновляю... =(
Ты про какую группу? Название дай.

from iobroker.telegram.

kirovilya avatar kirovilya commented on July 22, 2024

С прокси сейчас работает только отправка текста, а картинки и видео не отправляются.
Нашел упоминание этой же ошибки в используемой библиотеке mattcg/socks5-https-client#22 но решения нет.

from iobroker.telegram.

Apollon77 avatar Apollon77 commented on July 22, 2024

SHould be done since v1.2.2/1.2.3 ?! Please reopen if not

from iobroker.telegram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.