Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6190171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:32:23+00:00 2026-05-24T02:32:23+00:00

we use celery with rabbitMQ backend and some of our servers hang with error:

  • 0

we use celery with rabbitMQ backend and some of our servers hang with error: “[Errno 113] No route to host”(which can be a result of half of our servers being in US and half in Europe).

I need to be sure that every task is being delivered, unfortunately I have no idea how to retry tasks sent using send_task/string identifier(server that sends tasks has no access to code of remote worker) like this:

send_task("remote1.tasks.add_data", args=[...], kwargs={}, queue="remote1")

Is it possible to retry such task?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:32:24+00:00Added an answer on May 24, 2026 at 2:32 am

    sent_task send just the message to the broker, if the exception is raised on the servers that call the sent_task, probably the message simply doesn’t reach the broker, than there is no task to retry but just an exception to be handled.
    Otherwise if all you workers randomly raise this exception because they can’t reach the broker for some reason probably you can solve by set to true the celery conf vars

    CELERY_ACKS_LATE = True

    “Late ack means the task messages will be acknowledged after the task has been executed, not just before, which is the default behavior.”
    This means that if something go mad during the execution of the task in the worker, the broker doesn’t receive the acks and another worker will execute the task.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use Celery to run web spiders which crawl some data, and after that
I use: Celery Django-Celery RabbitMQ I can see all my tasks in the Django
I am using celery 2.4.1 with python 2.6, the rabbitmq backend, and django. I
I started playing around with Celery and RabbitMQ this morning and defined some basic
I know (but I do not understand) that Celery can use Beanstalk as delivery
I am using celery and i want to use the max-tasks-per-child-setting because some of
Question I use celery to launch task sets that look like this: I perform
I'm running a Django website where I use Celery to implement preventive caching -
use Control::CLI; $cli = new Control::CLI('SSH'); $cli->connect(Host=>'10.10.10.10',Username=>'user',Password=>'pwd'); $cli->waitfor('>'); $cli->print('Show XXXXXXXXXXXXXXXXXXXX| grep Active'); @f=$cli->waitfor('>'); print
I'm trying to use the methods of class as the django-celery tasks, marking it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.