celery trying again
来源:互联网 发布:mac 好用的卸载软件 编辑:程序博客网 时间:2024/06/05 06:43
response = push.send()Request failed with status 400: '1011 {'code': 1011, 'message': 'cannot find user by this audience'}': "cannot find user by this audience"import jpush_jpush = jpush.JPush('38445dcca2aaf44a9ce7bd4b', '0477f04bbfd8d97c04a9208c') # dev_jpush = jpush.JPush('fd2370dacc7c25531ed9c55a', '66c6f36049b92664c65520e6') # propush = _jpush.create_push()alias_list = ['39576fb3d5ed72ffb370f521ca93e890']push.audience = jpush.audience(jpush.alias(*alias_list))alert = 'test001'data = {"uri": "", "page": 13, "params": {"duration": 5, "text": {"desc": "这就是一条描述", "title": "标题", "coupons": {"expireAt": "2018-05-29", "status": 0, "ccontrolNo": "F849BF801FD8", "couponType": 1, "price": 0, "redeemCode": "397301100098", "id": 84, "name": "名字", "description": "另一个描述 description", "detail": "详情1,2,3,4"} }, "record_id": 438909}, "redbadge": {"100": 1}}sound = 'default'ios_production = Truepush.notification = jpush.notification( alert=alert, ios={"extras": {"data": data}, "sound": sound, "content-available": True,})push.options = {"apns_production": ios_production}push.platform = jpush.all_response = push.send()print('response: %s' % response.payload)583b98f9b9d7fb0ec1e65f54:39576fb3d5ed72ffb370f521ca93e890测试Sroadcast.send_msg_to_user('586b87213a09807014c1ac83', message='test')celery worker -A -l info --beat celery.worker.consumer consumer: Cannot connect to redis://10.44.34.124:16379/6: .Trying again in 32.00 seconds...
日志等级
http://www.jianshu.com/p/9e422d9f1ce2
阅读全文
0 0
- celery trying again
- Celery
- celery
- celery
- Celery
- AMQP server on c ontroller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.
- checking for pg_config... no No pg_config... trying anyway. If building fails, please try again with
- checking for pg_config... no No pg_config... trying anyway. If building fails, please try again with
- [Celery]Celery 最佳实践
- Again
- celery 简介
- celery入门
- 使用Celery
- Celery实践
- Celery架构
- celery分布式
- 初识Celery
- 使用Celery
- idea中git提交代码遇到的问题(反复输入密码,用户名显示不正常)
- 射频识别技术漫谈(27)——CPU卡概述
- 顺时针打印矩阵
- 简单的js+css的输入框自动提示功能实现
- tcpdump
- celery trying again
- Python BeautifulSoup4 select方法执行css选择器
- 包含min函数的栈
- 用于mmgrid表格批量删除的函数
- linux_守护进程
- Spring MVC原理及用法
- iSCSI
- Happiness
- 整数与IP地址间的转换