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 #35

Closed
Silidrone opened this issue Feb 21, 2024 · 1 comment
Closed

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

Silidrone opened this issue Feb 21, 2024 · 1 comment

Comments

@Silidrone
Copy link

Silidrone commented Feb 21, 2024

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.

@Silidrone
Copy link
Author

Sorry, this should've been added to edx-platform, not here.

@Silidrone Silidrone closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
@github-project-automation github-project-automation bot moved this from Pending Triage to Done in Tutor project management Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant