Discovery Service

42 views
Skip to first unread message

Saud Alhamiedie

unread,
Nov 14, 2019, 4:05:23 AM11/14/19
to opene...@googlegroups.com
Hello All,

I have a Fullstack Heathrow installation, and i have enabled Discovery service.

and i have configured the oauth2 for discovery service following below documentation:


but i still get the below error message when i try to cache_programs:

""""

==> /edx/var/log/supervisor/discovery-stdout.log <==
2019-11-14 08:45:09,720 INFO 5612 [edx_rest_framework_extensions.utils] /edx/app/discovery/venvs/discovery/lib/python3.5/site-packages/edx_rest_framework_extensions/utils.py:85 - Token decode failed for issuer 'http://upskilling-lms.sa/oauth2'
Traceback (most recent call last):
 File "/edx/app/discovery/venvs/discovery/lib/python3.5/site-packages/edx_rest_framework_extensions/utils.py", line 80, in jwt_decode_handler
   algorithms=[api_settings.JWT_ALGORITHM]
 File "/edx/app/discovery/venvs/discovery/lib/python3.5/site-packages/jwt/api_jwt.py", line 92, in decode
   jwt, key=key, algorithms=algorithms, options=options, **kwargs
 File "/edx/app/discovery/venvs/discovery/lib/python3.5/site-packages/jwt/api_jws.py", line 156, in decode
   key, algorithms)
 File "/edx/app/discovery/venvs/discovery/lib/python3.5/site-packages/jwt/api_jws.py", line 223, in _verify_signature
   raise InvalidSignatureError('Signature verification failed')
jwt.exceptions.InvalidSignatureError: Signature verification failed
2019-11-14 08:45:09,742 ERROR 5612 [edx_rest_framework_extensions.utils] /edx/app/discovery/venvs/discovery/lib/python3.5/site-packages/edx_rest_framework_extensions/utils.py:88 - All combinations of JWT issuers and secret keys failed to validate the token.

"""""

is something I'm messing, or is there a proper documentation to enable Discovery service and load courses and programs in it.

Regards.  


Reply all
Reply to author
Forward
0 new messages