Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/local/lib/python3.7/site-packages/celery/platforms.py:801: RuntimeWarning: You're running the worker with superuser privileges: this is
- absolutely not recommended!
- Please specify a different user using the --uid option.
- User information: uid=0 euid=0 gid=0 egid=0
- uid=uid, euid=euid, gid=gid, egid=egid,
- [2020-01-29 15:52:14,176: INFO/MainProcess] Connected to redis://develop-starcourse-backend-redis-master:6379//
- [2020-01-29 15:52:14,190: INFO/MainProcess] mingle: searching for neighbors
- [2020-01-29 15:52:15,227: INFO/MainProcess] mingle: sync with 1 nodes
- [2020-01-29 15:52:15,228: INFO/MainProcess] mingle: sync complete
- [2020-01-29 15:52:15,263: WARNING/MainProcess] /usr/local/lib/python3.7/site-packages/celery/fixups/django.py:202: UserWarning: Using settings.DEBUG leads to a memory leak, never use this setting in production environments!
- warnings.warn('Using settings.DEBUG leads to a memory leak, never '
- [2020-01-29 15:52:15,263: INFO/MainProcess] celery@develop-starcourse-backend-celery-84757b749f-g2rgb ready.
- [2020-01-29 15:58:31,796: INFO/MainProcess] Received task: courses.tasks.mark_posts_as_expired[0872b22f-2169-41b2-ba6d-f5655c630b06]
- /usr/local/lib/python3.7/site-packages/celery/platforms.py:801: RuntimeWarning: You're running the worker with superuser privileges: this is
- absolutely not recommended!
- Please specify a different user using the --uid option.
- User information: uid=0 euid=0 gid=0 egid=0
- uid=uid, euid=euid, gid=gid, egid=egid,
- [2020-01-29 15:58:31,815: WARNING/ForkPoolWorker-1] Удалено из выдачи постов по просроченным урокам: 0
- [2020-01-29 15:58:31,820: INFO/ForkPoolWorker-1] Task courses.tasks.mark_posts_as_expired[0872b22f-2169-41b2-ba6d-f5655c630b06] succeeded in 0.019979554694145918s: None
- [2020-01-29 16:01:44,775: INFO/MainProcess] Received task: notifications.tasks.send_notifications.send_notifications[35a5af2d-785c-48bc-bfff-d659f5757ea0] ETA:[2020-01-29 16:01:44.718785+00:00]
- [2020-01-29 16:01:44,779: INFO/MainProcess] Received task: notifications.tasks.send_notifications.send_notifications[d7d54221-8dd3-4072-8abb-286d9b11977e] ETA:[2020-01-29 16:01:44.718785+00:00]
- [2020-01-29 16:01:44,796: INFO/ForkPoolWorker-1] Task notifications.tasks.send_notifications.send_notifications[35a5af2d-785c-48bc-bfff-d659f5757ea0] succeeded in 0.014622777700424194s: None
- /usr/local/lib/python3.7/site-packages/celery/platforms.py:801: RuntimeWarning: You're running the worker with superuser privileges: this is
- absolutely not recommended!
- Please specify a different user using the --uid option.
- User information: uid=0 euid=0 gid=0 egid=0
- uid=uid, euid=euid, gid=gid, egid=egid,
- [2020-01-29 16:01:44,801: INFO/ForkPoolWorker-2] Task notifications.tasks.send_notifications.send_notifications[d7d54221-8dd3-4072-8abb-286d9b11977e] succeeded in 0.018755536060780287s: None
- [2020-01-29 16:02:34,431: INFO/MainProcess] Received task: notifications.tasks.send_notifications.send_notifications[ed18a532-55b8-4c9d-b8eb-5940f4a90eff]
- [2020-01-29 16:02:34,440: INFO/MainProcess] Received task: notifications.tasks.send_notifications.send_notifications[bfa05ae7-20a6-4bfe-b214-21797b3227a9]
- [2020-01-29 16:02:34,473: INFO/ForkPoolWorker-1] Task notifications.tasks.send_notifications.send_notifications[ed18a532-55b8-4c9d-b8eb-5940f4a90eff] succeeded in 0.02932301489636302s: None
- [2020-01-29 16:02:35,039: INFO/ForkPoolWorker-2] Received unhandled event <RemoteSettingsChanged changed_settings:{ChangedSetting(setting=SettingCodes.HEADER_TABLE_SIZE, original_value=4096, new_value=4096), ChangedSetting(setting=SettingCodes.MAX_CONCURRENT_STREAMS, original_value=None, new_value=1000), ChangedSetting(setting=SettingCodes._max_frame_size, original_value=16384, new_value=16384), ChangedSetting(setting=SettingCodes._max_header_list_size, original_value=None, new_value=8000)}>
- [2020-01-29 16:02:35,040: INFO/ForkPoolWorker-2] Connected to APNs
- [2020-01-29 16:02:35,046: ERROR/ForkPoolWorker-2] Task notifications.tasks.send_notifications.send_notifications[bfa05ae7-20a6-4bfe-b214-21797b3227a9] raised unexpected: TypeError("__init__() got multiple values for argument 'custom'")
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
- R = retval = fun(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 648, in __protected_call__
- return self.run(*args, **kwargs)
- File "/app/notifications/tasks/send_notifications.py", line 33, in send_notifications
- notification_devices.send_message(message)
- File "/app/push_notifications/models.py", line 128, in send_message
- certfile=certfile, **kwargs
- File "/app/push_notifications/apns.py", line 137, in apns_send_bulk_message
- certfile=certfile, **kwargs
- File "/app/push_notifications/apns.py", line 84, in _apns_send
- token=rid, payload=_apns_prepare(rid, alert, **kwargs)) for rid in registration_id]
- File "/app/push_notifications/apns.py", line 84, in <listcomp>
- token=rid, payload=_apns_prepare(rid, alert, **kwargs)) for rid in registration_id]
- File "/app/push_notifications/apns.py", line 60, in _apns_prepare
- url_args, custom=extra, thread_id=thread_id)
- TypeError: __init__() got multiple values for argument 'custom'
- [2020-01-29 16:04:58,141: INFO/MainProcess] Received task: notifications.tasks.send_notifications.send_notifications[0d2b6750-bed7-4721-a0e1-79e898deaf62] ETA:[2020-01-29 16:04:58.135538+00:00]
- [2020-01-29 16:04:58,146: INFO/MainProcess] Received task: notifications.tasks.send_notifications.send_notifications[4059db29-9124-4855-9550-812fba385638] ETA:[2020-01-29 16:04:58.135538+00:00]
- [2020-01-29 16:04:58,161: INFO/ForkPoolWorker-1] Task notifications.tasks.send_notifications.send_notifications[0d2b6750-bed7-4721-a0e1-79e898deaf62] succeeded in 0.012584049720317125s: None
- [2020-01-29 16:04:58,744: INFO/ForkPoolWorker-2] Received unhandled event <RemoteSettingsChanged changed_settings:{ChangedSetting(setting=SettingCodes.HEADER_TABLE_SIZE, original_value=4096, new_value=4096), ChangedSetting(setting=SettingCodes.MAX_CONCURRENT_STREAMS, original_value=None, new_value=1000), ChangedSetting(setting=SettingCodes._max_frame_size, original_value=16384, new_value=16384), ChangedSetting(setting=SettingCodes._max_header_list_size, original_value=None, new_value=8000)}>
- [2020-01-29 16:04:58,744: INFO/ForkPoolWorker-2] Connected to APNs
- [2020-01-29 16:04:58,749: ERROR/ForkPoolWorker-2] Task notifications.tasks.send_notifications.send_notifications[4059db29-9124-4855-9550-812fba385638] raised unexpected: TypeError("__init__() got multiple values for argument 'custom'")
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
- R = retval = fun(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 648, in __protected_call__
- return self.run(*args, **kwargs)
- File "/app/notifications/tasks/send_notifications.py", line 33, in send_notifications
- notification_devices.send_message(message)
- File "/app/push_notifications/models.py", line 128, in send_message
- certfile=certfile, **kwargs
- File "/app/push_notifications/apns.py", line 137, in apns_send_bulk_message
- certfile=certfile, **kwargs
- File "/app/push_notifications/apns.py", line 84, in _apns_send
- token=rid, payload=_apns_prepare(rid, alert, **kwargs)) for rid in registration_id]
- File "/app/push_notifications/apns.py", line 84, in <listcomp>
- token=rid, payload=_apns_prepare(rid, alert, **kwargs)) for rid in registration_id]
- File "/app/push_notifications/apns.py", line 60, in _apns_prepare
- url_args, custom=extra, thread_id=thread_id)
- TypeError: __init__() got multiple values for argument 'custom'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement