notifier-celery-worker throwing 'HTTP Error 403: FORBIDDEN'

128 views
Skip to first unread message

Emmanuel Jaep

unread,
Jul 11, 2018, 8:41:28 AM7/11/18
to Open edX operations
Hi,

I am encountering the following error into the notifier log:

The content of the /edx/var/log/supervisor/notifier-celery-workers-stderr.log file is:

2018-07-11 06:55:01,415 [INFO] [service_name=notifier] [job] Task notifier.tasks.do_forums_digests[6506c225-b1a9-4941-8ff3-498382c05d47] retry: Retry in 60s: UserServiceException('HTTP Error 403: FORBIDDEN',)



If I understood correctly, the keys between the /edx/app/notifier/notifier_env and the /edx/app/edxapp/lms.auth.json configuration should match.

 The content of /edx/app/notifier/notifier_env is:

export DATADOG_API_KEY="aaa"
export US_HTTP_AUTH_PASS="rrr"
export US_HTTP_AUTH_USER="staff"
export SECRET_KEY="bbb"
export CS_API_KEY="ccc"
export US_API_KEY="ddd"


and the content of /edx/app/edxapp/lms.auth.json is:

{
   
"ANALYTICS_API_KEY": "",
   
"ANALYTICS_DATA_TOKEN": "",
   
"AWS_ACCESS_KEY_ID": "eee",
   
"AWS_S3_CUSTOM_DOMAIN": "***",
   
"AWS_SECRET_ACCESS_KEY": "fff",
   
"AWS_STORAGE_BUCKET_NAME": "***",
   
"CELERY_BROKER_PASSWORD": "ggg",
   
"CELERY_BROKER_USER": "celery",
   
"CREDIT_PROVIDER_SECRET_KEYS": {},
   
"DATADOG_API": "hhh",
   
"ECOMMERCE_API_SIGNING_KEY": "hhh",
   
"EDX_API_KEY": "iii",
   
"PROFILE_IMAGE_SECRET_KEY": "placeholder_secret_key",
   
"SECRET_KEY": "jjj",
   
"SEGMENT_KEY": null,
   
"SOCIAL_AUTH_OAUTH_SECRETS": "kkk",
   
"SOCIAL_AUTH_SAML_SP_PRIVATE_KEY": "lll",
   
"SWIFT_KEY": "mmm",
   
"XQUEUE_INTERFACE": {
       
"basic_auth": [
           
"nnn",
           
"ooo"
       
],
       
"django_auth": {
           
"password": "ppp",
           
"username": "qqq"
       
}
   
}
}


My questions are the following:
  1. Am I right in thinking that the keys between those two files should match?
  2. If no: what keys (files) should match?
  3. If yes: which values should match?
Thanks in advance for the help.

Emmanuel
Reply all
Reply to author
Forward
Message has been deleted
0 new messages