opensrp / opensrp-client-path-zeir

Other
1 stars 5 forks source link

ZEIR android users not able to log in #125

Closed AnnieMungai closed 3 years ago

AnnieMungai commented 3 years ago

In production, the app URL was switched over. Since the switch, users were not able to log on to the app.

Could be related to this issue, it is the only change that happened for users not to be able to log in.

AnnieMungai commented 3 years ago

The users can now log in to Keycloak and the app.

tychus6 commented 3 years ago

Problem found: The cause of the problem was the failure of OpenSRP to communicate with the Keycloak instance sitting in the same server, therefore one could not log in to the application since the login request could not be sent to keycloak.

Workaround: This issue was resolved by hosting the Keycloak instance on the cloud(AWS) while OpenSRP server was deployed on-premise. Since the hosting environments are different, this allowed OpenSRP to communicate with the Keycloak instance. Way forward: However, this is a temporary fix, a long-term fix is still required to resolve the issue of communication between Keycloak and OpenSRP hosted in the same environment.