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.

at C:\Users\nikhi\OneDrive\Documents\GitHub\RedditGram\node_modules\node-telegram-bot-api\src\telegramPolling.js:74:15
at tryCatcher (C:\Users\nikhi\OneDrive\Documents\GitHub\RedditGram\node_modules\bluebird\js\main\util.js:26:23)
at Promise._settlePromiseFromHandler (C:\Users\nikhi\OneDrive\Documents\GitHub\RedditGram\node_modules\bluebird\js\main\promise.js:507:31)
at Promise._settlePromiseAt (C:\Users\nikhi\OneDrive\Documents\GitHub\RedditGram\node_modules\bluebird\js\main\promise.js:581:18)
at Promise._settlePromises (C:\Users\nikhi\OneDrive\Documents\GitHub\RedditGram\node_modules\bluebird\js\main\promise.js:697:14)
at Async._drainQueue (C:\Users\nikhi\OneDrive\Documents\GitHub\RedditGram\node_modules\bluebird\js\main\async.js:123:16)
at Async._drainQueues (C:\Users\nikhi\OneDrive\Documents\GitHub\RedditGram\node_modules\bluebird\js\main\async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\nikhi\OneDrive\Documents\GitHub\RedditGram\node_modules\bluebird\js\main\async.js:15:14)
at processImmediate [as _immediateCallback] (timers.js:383:17)

Unhandled rejection Error: 502 <html>

<head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center>

502 Bad Gateway

</center>
<center>nginx/1.6.2</center> </body> </html>

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
roccomusocommented, Oct 13, 2018

That happened to me right now. And telegram was offline for a couple of hours (and apparently still having issues). There’s not so much we can do.

0reactions
Indiana3714commented, Oct 14, 2018

Whats pm2? What would be the best way to handle this error anyway? Currently my program that uses telegram would freeze indefinitely (with no prints) during that Telegram server issue, a previous version of this python-telegram-bot would raise TimedOut() errors.

Read more comments on GitHub >

github_iconTop Results From Across the Web

502 Bad Gateway - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 502 Bad Gateway server error response code indicates that the server, while acting as a gateway or ...
Read more >
How to Fix 502 Bad Gateway Error - Hostinger
The 502 Bad Gateway error indicates that the server which you're connecting to received an invalid response. When accessing a URL, your browser ......
Read more >
Bad Gateway Errors: Why They Happen and 5 Solutions - Okta
A 502 bad gateway message indicates that one server got an invalid response from another. In essence, you've connected with some kind of...
Read more >
What is a 502 Bad Gateway Error (And How Can I Fix It)?
A 502 Bad Gateway Error means that the web server you've connected to is acting as a proxy for relaying information from another...
Read more >
How To Fix a 502 Bad Gateway Error - Kinsta
The 502 (Bad Gateway) status code indicates that the server, while acting as a gateway or proxy, received an invalid response from an...
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