-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Malawi Core] Failing to sign in on the application ID page #1146
Comments
When assigned this please ping @dubdabasoduba to help get access to the Dtree oauth creds. |
Shared on slack |
Configs received, trying to run the app |
Okay successfully replicated, investigating. |
Possible reason why this happen is because of the recent changes in using Composition resource to carry the configs. Nothing wrong with the code. |
@f-odhiambo can you perhaps reach out to the malawi side and see if their app still works? assuming that they use the old codebase that is before this commit? https://github.com/opensrp/fhircore/tree/41069023317777b121aac402922f0aff95b996b8 Because this error happens in our app latest codebase that points to their FHIR_BASE_URL |
This is noted @FikriMilano. I think we can use a generic config perhaps for ANC |
Will use our ANC configs for the Malawi Core for now. |
@FikriMilano How did this go? Did it work? |
@dubdabasoduba |
@ellykits @f-odhiambo @dubdabasoduba But instead, I got this error after clicking the load config button:
|
You can check the Composition resource in this link https://fhir-dev.d-tree.org/fhir/Composition/1126 |
Fo the above issue we had to exempt the Binary resource from being authenticated via Keycloack token in issues To follow up with the D-Tree team to also add these changes to their HAPI FHIR Server |
Based on above comment marking this issues as blocked |
There is also differences in HAPI server version: Ours (5.7.0) D-Tree (5.6.0) |
@f-odhiambo & @FikriMilano - does this mean that we have to update to version 5.7.0? |
They just need to update their JPA server deployment with the latest hapi-fhir-keycloak dependency this can be found here https://oss.sonatype.org/content/repositories/snapshots/org/smartregister/hapi-fhir-keycloak/ HAPI FHIR also updated to 5.7.0 so they also need to may that update on their JPA-instance too. They can deploy this https://github.com/opensrp/hapi-fhir-jpaserver-starter it has all the above suggested changes on master |
@dubdabasoduba - I tried updating from version 5.6.0 to version 5.7.0, getting errors attached. I also found an issue that might be related hapifhir/hapi-fhir#3412. It seems to be coming from the same function ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.getOrCreateTag. Any work around? |
@gosso22 Are deploying the https://github.com/opensrp/hapi-fhir-jpaserver-starter project? |
@dubdabasoduba - yes I am deploying the above. Regarding the above error, it was my mistake I hadnt updated the I was able to successfully update the server to the current master HAPI server v5.7.0 @FikriMilano - can you test and confirm if this solves your issue? |
@gosso22 @f-odhiambo @dubdabasoduba @KhumboLihonga |
@FikriMilano Next step here would be to add a Tag for Malawi Core to save and sync Malawi Core specific data as we do for g6pd as an example |
Also will need to change the following items perhaps in a new ticket
From there we can plug in the other workflows |
@f-odhiambo @ellykits |
@FikriMilano here are a few examples Patient Management Quest/G6PD patient: https://fhir.labs.smartregister.org/fhir/Patient/8abe9963-05b7-42d7-9cd3-5f0453c35e99
Quest Patient:https://fhir.labs.smartregister.org/fhir/Patient/04a1297c-9a2b-4a11-b72d-698c7c923621
Quest/G6PD Questionnaire : https://fhir.labs.smartregister.org/fhir/Questionnaire/3435
Will need to
|
@FikriMilano, additionally the patient will be created and the tags (managing ID) will be added via a structure map while the other resources will be synced from HAPI based on the Tags during Questionnaire authoring before posting to HAPI |
@f-odhiambo @dubdabasoduba Question 2: Question 3: |
I will liase with @Gental-Giant to give an instruction onhow to go about this
Yes
I think for now most data is experimental , test data so we can create new data , if we need to do batch then will need to check how to go about it from HAPI/server side |
Nice, thank you |
@f-odhiambo @Gental-Giant Kindly update that, so I can add the other resource with the proper tags. |
Here's some Patients that I have created. |
This is noted. Working on it |
@f-odhiambo @dubdabasoduba @AbdulWahabMemon |
All configs are saved here https://fhir-dev.d-tree.org/fhir/Composition/1126 |
@AbdulWahabMemon Check this out |
I think this is solved (?) |
Describe the bug
When the app is configured to point to our server, trying to sign in on the application ID page fails. The configuration is done in the local.properties file on the FHIR_BASE_URL attribute. Using the ID 'quest', the app takes a couple of seconds before displaying a toast notification that states, "Error loading configuration. Details: application quest not found."
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to continue to the user login page
Screenshots
N/A
Smartphone (please complete the following information):
Additional context
When the FHIR_BASE_URL is set to 'https://fhir.labs.smartregister.org/fhir/', signing in works as expected. In addition, I believe this has been caused by a recent change to the repo, it was working 2 weeks ago.
The text was updated successfully, but these errors were encountered: