-
Notifications
You must be signed in to change notification settings - Fork 2
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
HTTPError: 502 Server Error triggered by repair_faulty_edx_user, non-ascii username #2574
Comments
Response content from edx server is HTML with text:
from url = edx_url(OPENEDX_SOCIAL_LOGIN_XPRO_PATH)
resp = req_session.get(url)
resp.raise_for_status() |
Appears to be related to non-ascii "full name". To recreate:
|
When creating the user in local xpro with devstack:
False alarm, does not happen on RC or prod. Must be a local devstack setting somewhere. |
Error occurs with usernames having non-ascii characters, but there does not seem to be a standard length beyond which the error is raised. A sample name in Chinese characters only works when the number of unicode characters is shortened to a length of 10: Adding one more Chinese character causes the error. But a sample name in Arabic characters works when the number of unicode characters is twice that length. |
Sentry Issue: XPRO-5ZG
The text was updated successfully, but these errors were encountered: