Hi,
I am receiving an error from studio when I try to login. When I click ‘sign in’ I am redirected to the lms login page, where I successfully login, before being redirected back to studio, where I receive an error message.
Looking at the tutor cms logs (https://pastebin.com/gQH9EtzP), the first error is:
requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: http://lms:8000/oauth2/access_token
with the final error:
social_core.exceptions.AuthUnreachableProvider: The authentication provider could not be reached
There are no errors in the lms logs. Lms login works fine.
I am running tutor 14.2.3 with an nginx reverse proxy, which is run behind a network proxy. Tutor is configured with , CADDY_HTTP_PORT=127.0.0.1:81 ENABLE_HTTPS=true ENABLE_WEB_PROXY=false and a tutor plugin:
from tutor import hooks
hooks.Filters.ENV_PATCHES.add_items([
(
"openedx-cms-common-settings",
"SOCIAL_AUTH_REDIRECT_IS_HTTPS = True"
),
(
"openedx-common-settings",
"SOCIAL_AUTH_PROXIES = {'https': 'http://proxy.site.com:3128'}"
),
])
Any help would be greatly appreciated.