Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid CREDENTIALS_SERVICE_USERNAME in lms/envs/common.py #36

Closed
justinhynes opened this issue Mar 1, 2024 · 1 comment · Fixed by #40
Closed

Invalid CREDENTIALS_SERVICE_USERNAME in lms/envs/common.py #36

justinhynes opened this issue Mar 1, 2024 · 1 comment · Fixed by #40
Assignees
Labels
bug Something isn't working

Comments

@justinhynes
Copy link

justinhynes commented Mar 1, 2024

Originally reported by https://github.com/Silidrone, please see: openedx/edx-platform#34271

Hi,

I believe this is a BUG.

I am using tutor 17.0.0
Freshly set up credential fails to generate program certificate with the following error:

Failed to create a credentials API client to award program certificates

(for reference, it fails in openedx/core/djangoapps/programs/tasks.py on line 232, where CREDENTIALS_SERVICE_USERNAME is used as a parameter to get_credentials_api_client)

After some investigation, I figured out this is because the CREDENTIALS_SERVICE_USERNAME is currently incorrectly set in lms/envs/common.py. Currently it is set as credentials_service_user but when I change it to credentials only, my program certificate gets generated successfully.

@regisb
Copy link
Collaborator

regisb commented Mar 26, 2024

Indeed, this looks like an obvious bug. @Faraz32123 can you please have a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

3 participants