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

Closed
Silidrone opened this issue Feb 21, 2024 · 3 comments
Closed

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

Silidrone opened this issue Feb 21, 2024 · 3 comments

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.

@hurtstotouchfire hurtstotouchfire added the needs maintainer attention Issue or PR specifically needs the attention of the maintainer. label Feb 26, 2024
@justinhynes justinhynes moved this to Triage in Aperture-Maintained Feb 27, 2024
@justinhynes
Copy link
Contributor

Hi @Silidrone,

I've created a ticket for team to take a look at the reported issue, but it will take a little bit of time before it is prioritized and actioned on.

Is there any chance you'd like to submit your fix and we can review it?

Otherwise, we appreciate your report and will get to it as soon as possible.

@justinhynes justinhynes moved this from Triage to Backlog in Aperture-Maintained Feb 27, 2024
@justinhynes justinhynes removed the needs maintainer attention Issue or PR specifically needs the attention of the maintainer. label Feb 28, 2024
@justinhynes
Copy link
Contributor

Hi @Silidrone,

After chatting with a few others from the community, we believe this to be an issue with the Credentials plugin itself for Tutor. I'm going to close this issue and open one against the tutor-credentials project.

@justinhynes
Copy link
Contributor

Issue opened against the tutor-credentials project: overhangio/tutor-credentials#36

@github-project-automation github-project-automation bot moved this from Backlog to Done in Aperture-Maintained Mar 1, 2024
@github-project-automation github-project-automation bot moved this to Done in Arch-BOM Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants