question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unhandled rejection TimeoutError

See original GitHub issue

code:

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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
yagopcommented, Apr 20, 2016

Sounds like a Telegram server error. Blame them please.

0reactions
smmoosavicommented, Apr 20, 2016

I thought client must handle server and network errors and do not any unexpected behavior.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found