guiconti / Gibot

4 stars 1 forks source link

Error: EPARSE: Error parsing Telegram response: <html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.10.0</center> </body> </html> #32

Closed guiconti closed 6 years ago

guiconti commented 6 years ago

View details in Rollbar: https://rollbar.com/guiconti/Gibot/items/12/


Error: EPARSE: Error parsing Telegram response: <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.0</center>
</body>
</html>

  File "/home/ec2-user/github/Gibot/node_modules/node-telegram-bot-api/src/telegram.js", line 206, in request.then.resp
              throw new errors.ParseError(`Error parsing Telegram response: ${resp.body}`, resp);
  File "/home/ec2-user/github/Gibot/node_modules/bluebird/js/release/util.js", line 16, in tryCatcher
            return target.apply(this, arguments);
  File "/home/ec2-user/github/Gibot/node_modules/bluebird/js/release/promise.js", line 512, in Promise._settlePromiseFromHandler
            x = tryCatch(handler).call(receiver, value);
  File "/home/ec2-user/github/Gibot/node_modules/bluebird/js/release/promise.js", line 569, in Promise._settlePromise
                this._settlePromiseFromHandler(handler, receiver, value, promise);
  File "/home/ec2-user/github/Gibot/node_modules/bluebird/js/release/promise.js", line 614, in Promise._settlePromise0
        this._settlePromise(promise, handler, receiver, value);
  File "/home/ec2-user/github/Gibot/node_modules/bluebird/js/release/promise.js", line 693, in Promise._settlePromises
                this._settlePromise0(this._fulfillmentHandler0, value, bitField);
  File "/home/ec2-user/github/Gibot/node_modules/bluebird/js/release/async.js", line 133, in Async._drainQueue
                fn._settlePromises();
  File "/home/ec2-user/github/Gibot/node_modules/bluebird/js/release/async.js", line 143, in Async._drainQueues
        this._drainQueue(this._normalQueue);
  File "/home/ec2-user/github/Gibot/node_modules/bluebird/js/release/async.js", line 17, in Immediate.Async.drainQueues
            self._drainQueues();
  File "timers.js", line 672, in runCallback
  File "timers.js", line 645, in tryOnImmediate
  File "timers.js", line 617, in processImmediate [as _immediateCallback]