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

Fix celery tasks #88

Open
esloch opened this issue Jul 30, 2022 · 0 comments
Open

Fix celery tasks #88

esloch opened this issue Jul 30, 2022 · 0 comments
Assignees

Comments

@esloch
Copy link
Collaborator

esloch commented Jul 30, 2022

  • Tweets
  • Pegatemperatura
Traceback (most recent call last):
  File "/AlertaDengueCaptura/crawlclima/pegatweets.py", line 50, in <module>
    pega_tweets.delay(
  File "/opt/conda/lib/python3.10/site-packages/celery/app/task.py", line 422, in delay
    return self.apply_async(args, kwargs)
  File "/opt/conda/lib/python3.10/site-packages/celery/app/task.py", line 572, in apply_async
    return app.send_task(
  File "/opt/conda/lib/python3.10/site-packages/celery/app/base.py", line 767, in send_task
    amqp.send_task_message(P, name, message, **options)
  File "/opt/conda/lib/python3.10/site-packages/celery/app/amqp.py", line 510, in send_task_message
    ret = producer.publish(
  File "/opt/conda/lib/python3.10/site-packages/kombu/messaging.py", line 177, in publish
    return _publish(
  File "/opt/conda/lib/python3.10/site-packages/kombu/connection.py", line 523, in _ensured
    return fun(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/kombu/messaging.py", line 186, in _publish
    channel = self.channel
  File "/opt/conda/lib/python3.10/site-packages/kombu/messaging.py", line 209, in _get_channel
    channel = self._channel = channel()
  File "/opt/conda/lib/python3.10/site-packages/kombu/utils/functional.py", line 32, in __call__
    value = self.__value__ = self.__contract__()
  File "/opt/conda/lib/python3.10/site-packages/kombu/messaging.py", line 225, in <lambda>
    channel = ChannelPromise(lambda: connection.default_channel)
  File "/opt/conda/lib/python3.10/site-packages/kombu/connection.py", line 895, in default_channel
    self._ensure_connection(**conn_opts)
  File "/opt/conda/lib/python3.10/site-packages/kombu/connection.py", line 432, in _ensure_connection
    with ctx():
  File "/opt/conda/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/opt/conda/lib/python3.10/site-packages/kombu/connection.py", line 450, in _reraise_as_library_errors
    raise ConnectionError(str(exc)) from exc
kombu.exceptions.OperationalError: [Errno -2] Name or service not kno
@esloch esloch self-assigned this Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant