Unable to load the application with a CHW user

Hi @diallotafsir52, welcome to the community.

We are trying to solve the issue similar to what you are facing and it is being tracked here in the cht-core repo.

Meanwhile, you can use a workaround that we suggest for testing the app locally to get around the valid SSL requirement for service workers:

  1. Create a ngrok account at https://ngrok.com/
  2. Follow instructions on downloading and linking your computer (server) to your ngrok account.
  3. Start ngrok by executing: ./ngrok http 443 from your server

Then you should be able to access the app from the https:// URL provided by ngrok and use your CHW account to log in.

If the above method with ngrok does not work, please try a similar service serveo following this guide.

Thanks

3 Likes