Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.75 KB | None | 0 0
  1. /usr/local/lib/python3.7/site-packages/celery/platforms.py:801: RuntimeWarning: You're running the worker with superuser privileges: this is
  2. absolutely not recommended!
  3.  
  4. Please specify a different user using the --uid option.
  5.  
  6. User information: uid=0 euid=0 gid=0 egid=0
  7.  
  8. uid=uid, euid=euid, gid=gid, egid=egid,
  9. [2020-01-29 15:52:14,176: INFO/MainProcess] Connected to redis://develop-starcourse-backend-redis-master:6379//
  10. [2020-01-29 15:52:14,190: INFO/MainProcess] mingle: searching for neighbors
  11. [2020-01-29 15:52:15,227: INFO/MainProcess] mingle: sync with 1 nodes
  12. [2020-01-29 15:52:15,228: INFO/MainProcess] mingle: sync complete
  13. [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!
  14. warnings.warn('Using settings.DEBUG leads to a memory leak, never '
  15. [2020-01-29 15:52:15,263: INFO/MainProcess] celery@develop-starcourse-backend-celery-84757b749f-g2rgb ready.
  16. [2020-01-29 15:58:31,796: INFO/MainProcess] Received task: courses.tasks.mark_posts_as_expired[0872b22f-2169-41b2-ba6d-f5655c630b06]
  17. /usr/local/lib/python3.7/site-packages/celery/platforms.py:801: RuntimeWarning: You're running the worker with superuser privileges: this is
  18. absolutely not recommended!
  19.  
  20. Please specify a different user using the --uid option.
  21.  
  22. User information: uid=0 euid=0 gid=0 egid=0
  23.  
  24. uid=uid, euid=euid, gid=gid, egid=egid,
  25. [2020-01-29 15:58:31,815: WARNING/ForkPoolWorker-1] Удалено из выдачи постов по просроченным урокам: 0
  26. [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
  27. [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]
  28. [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]
  29. [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
  30. /usr/local/lib/python3.7/site-packages/celery/platforms.py:801: RuntimeWarning: You're running the worker with superuser privileges: this is
  31. absolutely not recommended!
  32.  
  33. Please specify a different user using the --uid option.
  34.  
  35. User information: uid=0 euid=0 gid=0 egid=0
  36.  
  37. uid=uid, euid=euid, gid=gid, egid=egid,
  38. [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
  39. [2020-01-29 16:02:34,431: INFO/MainProcess] Received task: notifications.tasks.send_notifications.send_notifications[ed18a532-55b8-4c9d-b8eb-5940f4a90eff]
  40. [2020-01-29 16:02:34,440: INFO/MainProcess] Received task: notifications.tasks.send_notifications.send_notifications[bfa05ae7-20a6-4bfe-b214-21797b3227a9]
  41. [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
  42. [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)}>
  43. [2020-01-29 16:02:35,040: INFO/ForkPoolWorker-2] Connected to APNs
  44. [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'")
  45. Traceback (most recent call last):
  46. File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
  47. R = retval = fun(*args, **kwargs)
  48. File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 648, in __protected_call__
  49. return self.run(*args, **kwargs)
  50. File "/app/notifications/tasks/send_notifications.py", line 33, in send_notifications
  51. notification_devices.send_message(message)
  52. File "/app/push_notifications/models.py", line 128, in send_message
  53. certfile=certfile, **kwargs
  54. File "/app/push_notifications/apns.py", line 137, in apns_send_bulk_message
  55. certfile=certfile, **kwargs
  56. File "/app/push_notifications/apns.py", line 84, in _apns_send
  57. token=rid, payload=_apns_prepare(rid, alert, **kwargs)) for rid in registration_id]
  58. File "/app/push_notifications/apns.py", line 84, in <listcomp>
  59. token=rid, payload=_apns_prepare(rid, alert, **kwargs)) for rid in registration_id]
  60. File "/app/push_notifications/apns.py", line 60, in _apns_prepare
  61. url_args, custom=extra, thread_id=thread_id)
  62. TypeError: __init__() got multiple values for argument 'custom'
  63. [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]
  64. [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]
  65. [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
  66. [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)}>
  67. [2020-01-29 16:04:58,744: INFO/ForkPoolWorker-2] Connected to APNs
  68. [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'")
  69. Traceback (most recent call last):
  70. File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
  71. R = retval = fun(*args, **kwargs)
  72. File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 648, in __protected_call__
  73. return self.run(*args, **kwargs)
  74. File "/app/notifications/tasks/send_notifications.py", line 33, in send_notifications
  75. notification_devices.send_message(message)
  76. File "/app/push_notifications/models.py", line 128, in send_message
  77. certfile=certfile, **kwargs
  78. File "/app/push_notifications/apns.py", line 137, in apns_send_bulk_message
  79. certfile=certfile, **kwargs
  80. File "/app/push_notifications/apns.py", line 84, in _apns_send
  81. token=rid, payload=_apns_prepare(rid, alert, **kwargs)) for rid in registration_id]
  82. File "/app/push_notifications/apns.py", line 84, in <listcomp>
  83. token=rid, payload=_apns_prepare(rid, alert, **kwargs)) for rid in registration_id]
  84. File "/app/push_notifications/apns.py", line 60, in _apns_prepare
  85. url_args, custom=extra, thread_id=thread_id)
  86. TypeError: __init__() got multiple values for argument 'custom'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement