Coder Social home page Coder Social logo

Comments (3)

vitorfs avatar vitorfs commented on May 27, 2024

Hi @abhas

Basically I have RabbitMQ running on the server, and the scripts that I'm using in production right now are those:

Worker: https://github.com/vitorfs/colossus/blob/master/etc/colossus_celery_worker_supervisord.conf
Beat/Scheduler: https://github.com/vitorfs/colossus/blob/master/etc/colossus_celery_beat_supervisord.conf

Those are supervisor configuration files (http://supervisord.org)

This is what I'm using in production, but during development I just run the commands in a terminal (one for each):

celery beat -A colossus

And

celery worker -A colossus

For those to work you need to be running RabbitMQ server:

rabbitmq-server

Usually that's what I do

from colossus.

abhas avatar abhas commented on May 27, 2024

Hi @vitorfs,

I tried to run celery in the manner you've detailed above. But colossus does not even attempt to talk to celery. And hence, none of the mails pass through. When I checked out the configuration for celery, it all seemed to be there by default. Do I need to do any configuration for colossus to talk to celery? Is there a way I can enable more debug logs?

I'm sorry I am not familiar enough with Celery myself (or even much Python). And hence these questions.

Once I get it working, I will build a docker-compose file to run all of these via docker. Hope you saw the pull request that contains the Dockerfile.

Cheers, Abhas.

from colossus.

abhas avatar abhas commented on May 27, 2024

Hi @vitorfs --- if you can provide some quick suggestions on what to debug, It would really be helpful. I can try to use colossus.

Thanks a lot...

from colossus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.