推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
Kcelone
V2EX  ›  Python

celery 任务有时注册失败

  •  1
     
  •   Kcelone · Oct 9, 2018 · 3079 views
    This topic created in 2909 days ago, the information mentioned may be changed or developed.

    当服务器收到界面请求,调用 celery 执行异步任务时,查看 celery 执行结果,发现有时成功,有时失败,当失败时接收不到任务注册,redis 作为 backend,Redis 中的执行结果为 failure,原因是 Not Registered

    1. 现象: 任务注册有时成功有时失败,失败时提示 Not Registered。
    2. 配置:celery 4.2.1, python3.6 redis 存储。

    有人遇到过我这种情况吗?

    2 replies  •  2019-04-18 09:26:59 +08:00
    Kcelone
        1
    Kcelone  
    OP
       Oct 9, 2018
    本地测试( postman 连接本地服务) OK,测试服务器测试就异常。
    CyJaySong
        2
    CyJaySong  
       Apr 18, 2019
    我也遇到了这个问题,您解决没
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2472 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:48 · PVG 18:48 · LAX 03:48 · JFK 06:48
    ♥ Do have faith in what you're doing.