Skip to content

Instantly share code, notes, and snippets.

@sid-r-singh
Created March 16, 2021 08:13
Show Gist options
  • Save sid-r-singh/12856d1473aef82ee85bc6b69c1ca329 to your computer and use it in GitHub Desktop.
Save sid-r-singh/12856d1473aef82ee85bc6b69c1ca329 to your computer and use it in GitHub Desktop.
2021-03-16T08:04:51.000000+00:00 app[api]: Build succeeded
2021-03-16T08:04:53.420172+00:00 app[web.1]: 2021-03-16 08:04:53,418 - apscheduler.scheduler - INFO - Scheduler started
2021-03-16T08:04:54.048348+00:00 app[web.1]: 2021-03-16 08:04:54,048 - telegram.ext.updater - ERROR - Error while bootstrap set webhook: Bad webhook: webhook can be set up only on ports 80, 88, 443 or 8443
2021-03-16T08:04:54.049035+00:00 app[web.1]: 2021-03-16 08:04:54,048 - telegram.ext.updater - ERROR - Failed bootstrap phase after 0 retries (Bad webhook: webhook can be set up only on ports 80, 88, 443 or 8443)
2021-03-16T08:04:54.062135+00:00 app[web.1]: 2021-03-16 08:04:54,049 - telegram.ext.updater - ERROR - unhandled exception in Bot:1670826992:updater
2021-03-16T08:04:54.062138+00:00 app[web.1]: Traceback (most recent call last):
2021-03-16T08:04:54.062138+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 236, in _thread_wrapper
2021-03-16T08:04:54.062140+00:00 app[web.1]: target(*args, **kwargs)
2021-03-16T08:04:54.062140+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 602, in _start_webhook
2021-03-16T08:04:54.062141+00:00 app[web.1]: ip_address=ip_address,
2021-03-16T08:04:54.062141+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 674, in _bootstrap
2021-03-16T08:04:54.062142+00:00 app[web.1]: bootstrap_interval,
2021-03-16T08:04:54.062143+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 530, in _network_loop_retry
2021-03-16T08:04:54.062143+00:00 app[web.1]: onerr_cb(telegram_exc)
2021-03-16T08:04:54.062143+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 652, in bootstrap_onerr_cb
2021-03-16T08:04:54.062145+00:00 app[web.1]: raise exc
2021-03-16T08:04:54.062145+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 516, in _network_loop_retry
2021-03-16T08:04:54.062146+00:00 app[web.1]: if not action_cb():
2021-03-16T08:04:54.062146+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 640, in bootstrap_set_webhook
2021-03-16T08:04:54.062146+00:00 app[web.1]: drop_pending_updates=drop_pending_updates,
2021-03-16T08:04:54.062147+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/bot.py", line 127, in decorator
2021-03-16T08:04:54.062147+00:00 app[web.1]: result = func(*args, **kwargs)
2021-03-16T08:04:54.062148+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/bot.py", line 2863, in set_webhook
2021-03-16T08:04:54.062149+00:00 app[web.1]: result = self._post('setWebhook', data, timeout=timeout, api_kwargs=api_kwargs)
2021-03-16T08:04:54.062149+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/bot.py", line 260, in _post
2021-03-16T08:04:54.062150+00:00 app[web.1]: f'{self.base_url}/{endpoint}', data=data, timeout=effective_timeout
2021-03-16T08:04:54.062151+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/utils/request.py", line 354, in post
2021-03-16T08:04:54.062151+00:00 app[web.1]: **urlopen_kwargs,
2021-03-16T08:04:54.062152+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/utils/request.py", line 272, in _request_wrapper
2021-03-16T08:04:54.062152+00:00 app[web.1]: raise BadRequest(message)
2021-03-16T08:04:54.062222+00:00 app[web.1]: telegram.error.BadRequest: Bad webhook: webhook can be set up only on ports 80, 88, 443 or 8443
2021-03-16T08:04:54.063565+00:00 app[web.1]: Exception in thread Bot:1670826992:updater:
2021-03-16T08:04:54.063566+00:00 app[web.1]: Traceback (most recent call last):
2021-03-16T08:04:54.063566+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/threading.py", line 916, in _bootstrap_inner
2021-03-16T08:04:54.063567+00:00 app[web.1]: self.run()
2021-03-16T08:04:54.063567+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/threading.py", line 864, in run
2021-03-16T08:04:54.063568+00:00 app[web.1]: self._target(*self._args, **self._kwargs)
2021-03-16T08:04:54.063568+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 236, in _thread_wrapper
2021-03-16T08:04:54.063569+00:00 app[web.1]: target(*args, **kwargs)
2021-03-16T08:04:54.063569+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 602, in _start_webhook
2021-03-16T08:04:54.063570+00:00 app[web.1]: ip_address=ip_address,
2021-03-16T08:04:54.063570+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 674, in _bootstrap
2021-03-16T08:04:54.063570+00:00 app[web.1]: bootstrap_interval,
2021-03-16T08:04:54.063571+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 530, in _network_loop_retry
2021-03-16T08:04:54.063572+00:00 app[web.1]: onerr_cb(telegram_exc)
2021-03-16T08:04:54.063572+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 652, in bootstrap_onerr_cb
2021-03-16T08:04:54.063573+00:00 app[web.1]: raise exc
2021-03-16T08:04:54.063573+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 516, in _network_loop_retry
2021-03-16T08:04:54.063573+00:00 app[web.1]: if not action_cb():
2021-03-16T08:04:54.063574+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/updater.py", line 640, in bootstrap_set_webhook
2021-03-16T08:04:54.063574+00:00 app[web.1]: drop_pending_updates=drop_pending_updates,
2021-03-16T08:04:54.063574+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/bot.py", line 127, in decorator
2021-03-16T08:04:54.063575+00:00 app[web.1]: result = func(*args, **kwargs)
2021-03-16T08:04:54.063575+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/bot.py", line 2863, in set_webhook
2021-03-16T08:04:54.063575+00:00 app[web.1]: result = self._post('setWebhook', data, timeout=timeout, api_kwargs=api_kwargs)
2021-03-16T08:04:54.063576+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/bot.py", line 260, in _post
2021-03-16T08:04:54.063576+00:00 app[web.1]: f'{self.base_url}/{endpoint}', data=data, timeout=effective_timeout
2021-03-16T08:04:54.063577+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/utils/request.py", line 354, in post
2021-03-16T08:04:54.063577+00:00 app[web.1]: **urlopen_kwargs,
2021-03-16T08:04:54.063577+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/telegram/utils/request.py", line 272, in _request_wrapper
2021-03-16T08:04:54.063578+00:00 app[web.1]: raise BadRequest(message)
2021-03-16T08:04:54.063578+00:00 app[web.1]: telegram.error.BadRequest: Bad webhook: webhook can be set up only on ports 80, 88, 443 or 8443
2021-03-16T08:04:54.063643+00:00 app[web.1]:
2021-03-16T08:04:54.965816+00:00 app[web.1]: 2021-03-16 08:04:54,965 - telegram.ext.dispatcher - CRITICAL - stopping due to exception in another thread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment