Hi all,
I have setup the Airavata and Django Portal as mentioned in [1]. The
gateway loaded successfully, but when I tried to create an account or login
using the default username and password request has failed with the
following error in the console.
File
"/home/isuru/Airavata/airavata-django-portal/django_airavata/apps/auth/forms.py",
line 91, in clean
username):
File
"/home/isuru/Airavata/airavata-django-portal/django_airavata/apps/auth/iam_admin_client.py",
line 15, in is_username_available
authz_token = utils.get_service_account_authz_token()
File
"/home/isuru/Airavata/airavata-django-portal/django_airavata/apps/auth/utils.py",
line 44, in get_service_account_authz_token
verify=verify_ssl)
File
"/home/isuru/Airavata/airavata-django-portal/venv/lib/python3.6/site-packages/requests_oauthlib/oauth2_session.py",
line 183, in fetch_token
raise InsecureTransportError()
oauthlib.oauth2.rfc6749.errors.InsecureTransportError: (insecure_transport)
OAuth 2 MUST utilize https.
[04/Jul/2019 13:41:04] "POST /auth/create-account HTTP/1.1" 200 7916
Is there any configuration to enable HTTPS ?
[1]https://github.com/apache/airavata/tree/develop/modules/ide-integration