Unhandled rejection TimeoutError
See original GitHub issuecode:
var bot = new TelegramBot(token, {polling: true});
bot.on('message', function (msg) {
console.log(JSON.stringify(msg));
});
error:
Unhandled rejection TimeoutError: operation timed out
at afterTimeout (/path/to/project/node_modules/bluebird/js/main/timers.js:16:15)
at timeoutTimeout (/path/to/project/node_modules/bluebird/js/main/timers.js:59:9)
at Timer.listOnTimeout (timers.js:92:15)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Unhandled rejection TimeoutError: operation timed out #170
The timeout issue is basically breaking the bot receiving messages completely. After timeout it just spins on this error forever. app-0 at Timer ......
Read more >unhandled rejection timeouterror: resourcerequest timed out
I am getting this error in my node program with sequelize. unhandled rejection timeouterror: resourcerequest timed out.
Read more >nodejs/node - Gitter
Anyone know what this error is? ``` Unhandled rejection TimeoutError: ResourceRequest timed out at ResourceRequest._fireTimeout (C:\Users\ ...
Read more >Developers - Unhandled rejection TimeoutError: operation timed out -
Coming soon: A brand new website interface for an even better experience!
Read more >Window: unhandledrejection event - Web APIs | MDN
The unhandledrejection event is sent to the global scope of a script when a JavaScript Promise that has no rejection handler is rejected; ......
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

Sounds like a Telegram server error. Blame them please.
I thought client must handle server and network errors and do not any unexpected behavior.