mast / telegram-bot-api

First Telegram Bot API node.js library
http://mast.github.io/telegram-bot-api/
MIT License
246 stars 64 forks source link

bot over ipv6 #61

Closed mirisu2 closed 5 years ago

mirisu2 commented 5 years ago

Hi. Is it possible to run bot over ipv6? When I run application on node, I receive this error message:

Error: RequestError: Error: connect ETIMEDOUT 149.154.167.220:443 at /var/www/telegram.bot/node_modules/telegram-bot-api/lib/telegram-bot.js:1686:19

I know, many telegram's ipv4 IPs blocked now. I have ipv6 address on server. If I ping -4 api.telegram.org, server cannot resolv address. If I ping -6 api.telegram.org - it works fine.

V-MilkyWay commented 2 years ago

Как ты это сделал????????????!!!!!)