getaddrinfo ENOTFOUND api.telegram.org
See original GitHub issueUnhandled rejection Error: getaddrinfo ENOTFOUND api.telegram.org api.telegram.org:443
at errnoException (dns.js:26:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26)
This error every day. I think it’s because long plain. Maybe add live reload when exception?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top Results From Across the Web
getaddrinfo ENOTFOUND api.telegram.org (Telegraf)
This is my code const config = require('./config.json'); const {Telegraf} = require('telegraf'); // require('dotenv').config(); const bot ...
Read more >Telegram node-red is no longer working - General
I have an inject node that I am using to test and I get this message after a few seconds that the message...
Read more >getaddrinfo ENOTFOUND api.telegram.org - Bountysource
Coming soon: A brand new website interface for an even better experience!
Read more >Node.js Error Message “getaddrinfo ENOTFOUND localhost ...
Today I want to go over a quick fix to an error that had me very confused when I first started my program...
Read more >即使电脑处于休眠模式,如何使用Wifi保持nodejs程序运行?
... getaddrinfo ENOTFOUND api.telegram.org"} 。 我不能让我的电脑一直处于休眠模式,所以我想知道是否有一种方法可以防止我的电脑在休眠模式下断开与Wifi的连接。
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It’s actually still not solved after 6 years
I also get sometimes
getaddrinfo EAI_AGAIN api.telegram.org, often after a system reboot. And yes my DNS resolver is correctly configured.My guess is that Docker is actually starting-up faster the Docker container than my system network / DNS resolver is ready to handle the requests. Something like that.
My bet is that my systemd is missing requires network dependency (see:
Requires:) in the Docker service file:Although I see that containerd.service requires
network.targetas dependency. Maybe this isn’t enough or on the wrong level or it should usenetwork-online.targetinstead ofnetwork.target? OrAfter=network-online.target Wants=network-online.targetor maybe better:After=nss-lookup.targetshould be added.Restarting the specific docker container manually always fixes the issue.