Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API collector bot: failure on reload #1986

Closed
monoidic opened this issue Jun 10, 2021 · 0 comments
Closed

API collector bot: failure on reload #1986

monoidic opened this issue Jun 10, 2021 · 0 comments
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior component: bots
Milestone

Comments

@monoidic
Copy link
Contributor

When reloading the collector bot, it seems that the shutdown procedures in shutdown are insufficient, as the IO loop is not properly closed. The result is an unresponsive collector, accepting connections, but not responding.

Exception in thread Thread-2:
API-Test-Collector: Bot initialization completed.
Traceback (most recent call last):
INFO:API-Test-Collector:Bot initialization completed.
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/tornado/platform/asyncio.py", line 199, in start
    self.asyncio_loop.run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 560, in run_forever
    self._check_running()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 552, in _check_running
    raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
@ghost ghost added bug Indicates an unexpected problem or unintended behavior component: bots labels Jun 10, 2021
@ghost ghost added this to the 3.0.0 milestone Jun 10, 2021
@ghost ghost closed this as completed in c337f22 Jun 17, 2021
@ghost ghost assigned monoidic Jun 17, 2021
waldbauer-certat pushed a commit that referenced this issue May 31, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior component: bots
Projects
None yet
Development

No branches or pull requests

1 participant