I am writing to seek your assistance in that I am facing with the configuration of the 2.39 backend and the Data Visualizer front-end React app.
I have been trying to configure the 2.39 backend from scratch and connect it to the Data Visualizer front-end React app, but have been unable to do so successfully. I have added the necessary CORS whitelist on the settings access backend instance, but I am still unable to connect the two.
Note from app: I am successfully connect on
Server : DHIS 2 Demo - Sierra Leone
Username : admin
Password : district
Thank you for sharing! Are you able to access the server using a custom app but only seeing this issue when trying to use the Data Visualizer app instead?
Could you share the steps to reproduce this issue?
BTW, it’d be interesting if you share with the community and software developers, what you’re trying to configure as it could be a feature request that’s helpful for the community.
I have successfully configured Ubuntu 20.04, Java 11, and Postgres 12.6 on my system. You can check the following URL: http://202.166.195.132:8080/ and login with the username “test” and password “Test@123”.
An issue that I am experiencing with my server of this instance with connect dhis react app.( Configuration locally )
As a developer, I am eager to fully explore all the existing features and to join the developer community. Currently, I am studying the workflow and development process of React applications and backend systems. As a developer from Nepal, my team and I are planning to localize the Nepali calendar selection within the data visualizer’s “Periods” section, specifically within the “Fixed Periods” option. This will allow users to select the Nepali calendar when customizing their calendar settings.
I am reaching out to you because I am a new user of DHIS2, and I am interested in connecting with the developer community to learn more about the platform.
Hi @rcpoudel , are you running the app from localhost or somewhere else? a potential issue could be mixed content as an error would be thrown trying to call an http endpoint from an https client. Are you getting an error on the console within these lines?
We also built some UI components that support a Nepali day picker , and these are already released in dhis/ui, here it is in the docs and storybook , any feedback for either will be highly appreciated (:
Regarding your query about the app, I am running dhis2 instance on server(http://202.166.195.132:8080 ) and development visualization app on localhost.
Regarding Nepali Calendar
Based on my testing on both the https://pr-2233--dhis2-data-visualizer.netlify.app/ and dhis debug link, I can confirm that everything works perfectly as expected. Furthermore, I have also tested the UI components on my local machine and can confirm that they are working properly. I will keep you updated on any developments related to Nepali calendar updates coming from Nepal.
Additionally, I would like to request the latest version of the visualizer app with war file. If possible, could you please share the updated file with me so that I can ensure that my visualizer app is up-to-date?
I think this latest error is about the CORS whitelist, you’d need For this to add https://*.netlify.app under the CORS whitelist in your DHIS2 test instances (system settings → Access → CORS whitelist). Let me know if that works.
We should have a war file ready this week with latest core and apps that support Nepali calendar. I will keep you in the loop.
I have tried logging into the server URL https://dhis.amakomaya.com using the username “test” and password “Test@123,” but I am still encountering the same error.
@rcpoudel it is hard to tell and I do not know of an easy way to reset the admin password. But if the user is locked (because of too many failed login attempts, as I’d suspect), then you could connect to the database with psql and run update userinfo set disabled = false where username='test' and try again. Otherwise, you could also copy the password hash of another user with a known password into the database entry for this user update userinfo set password='HASH_VALUE' where username = 'test';
I am writing to inquire about the release of the 2.38 war file that support Nepali calendar for purposes. We have been eagerly awaiting its release and I was wondering if there is any good news regarding its availability.
I apologize for any inconvenience this may cause and for bothering you with this request.
And,
As per our previous conversation, I have tested the user manually logging in from the web and it works, but I am still unable to connect. Despite my efforts, I have been unable to resolve this issue.