Hi All, I'm Jayan and a new one to this Airavata community. I was able to setup the Airavata API service and Django Portal referring the README files in the Django project and the Airavata project. However, I have faced the following errors.
1) *Airavata API server startup Exception* Exception in thread "main" java.lang.RuntimeException: Failed to post-initialize the expcatalog database at org.apache.airavata.registry.core.utils.ExpCatalogDBInitConfig.postInit(ExpCatalogDBInitConfig.java:81) at org.apache.airavata.common.utils.DBInitializer.initializeDB(DBInitializer.java:46) at org.apache.airavata.registry.api.service.RegistryAPIServer.StartRegistryServer(RegistryAPIServer.java:69) at org.apache.airavata.registry.api.service.RegistryAPIServer.start(RegistryAPIServer.java:151) at org.apache.airavata.ide.integration.APIServerStarter.main(APIServerStarter.java:23) Caused by: java.lang.RuntimeException: Failed to get EntityManager at org.apache.airavata.registry.core.repositories.AbstractRepository.execute(AbstractRepository.java:137) at org.apache.airavata.registry.core.repositories.AbstractRepository.get(AbstractRepository.java:75) at org.apache.airavata.registry.core.repositories.AbstractRepository.isExists(AbstractRepository.java:113) at org.apache.airavata.registry.core.repositories.expcatalog.GatewayRepository.isGatewayExist(GatewayRepository.java:99) at org.apache.airavata.registry.core.utils.ExpCatalogDBInitConfig.postInit(ExpCatalogDBInitConfig.java:62) ... 4 more 2) *Trying to login Local Django portal * Traceback (most recent call last): File "/home/jayan/Desktop/Airavata/airavata-django-portal/django_airavata/apps/auth/backends.py", line 38, in authenticate token, userinfo = self._get_token_and_userinfo_password_flow( File "/home/jayan/Desktop/Airavata/airavata-django-portal/django_airavata/apps/auth/backends.py", line 111, in _get_token_and_userinfo_password_flow token = oauth2_session.fetch_token(token_url=token_url, File "/home/jayan/Desktop/Airavata/airavata-django-portal/venv/lib/python3.8/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. *** I have already tried 'export OAUTHLIB_INSECURE_TRANSPORT=1' . But it's not worked for me* I'm looking for some assistance to move forward by resolving these errors. Also, I have followed the Airawata tutorials[1],[2] and I would like to play with a few jobs on testdrive[3] if it's possible to get permission.(username : jayancv) Thanks. [1] https://apache-airavata-django-portal.readthedocs.io/en/latest/tutorial/custom_ui_tutorial/ [2] https://www.youtube.com/watch?v=ES4LNC_j8a0 [3] https://testdrive.airavata.org/workspace/dashboard -- Best Regards Jayan Vidanapathirana [image: https://lk.linkedin.com/in/jayancv] <https://lk.linkedin.com/in/jayancv>