CHT Login Errors

We configured our environment and started collecting data, which was spread at different weeks based on the target regions for the study

I noted from last week that I cant login to the portal using any accounts both on my phone and on the desktop and laptop. Colleagues who could comfortably access the Medic App on the phone also can’t access it now, we all get the error below:

Trying to figure out what went wrong, will appreciate any support


Please check your medic-api logs for something that starts with Error logging in: <error stack trace>. The stack trace should provide some clues as to what is happening.
You might also get some information from the browser console logs, when attempting to log in.

Thank you very much for reaching out, I have the following error from the browser console:

rsync error: unexplained error (code 255) at io.c(235) [Receiver=3.1.3]

Trying to check solutions online
Regard, Philip

I share a screen shot with the errors, thank you

This is strange. We don’t actually use strict-dynamic in our CSP. These are our content security policy rules: cht-core/routing.js at master · medic/cht-core · GitHub

Are you seeing these warnings on the login page?
What can you see if you check the browser console after you try to log in? Are there any additional log entries?

Dear Diana
I share more log entries from the browser console, interestingly i cant access both the production server (using domain name) and test server (using ip address)


Can you please share the URL you are loading in your browser when you see these errors? For security, you could change your actual host name with a placeholder.

I see, so you are getting redirected to login.
Can you please follow the steps described here to check medic-api logs How do I get the medic-api logs when using Docker??

Dear Diana,
Interesting the medic-os container is not running :anguished:
Let me restart and see the results

Dear Diana
Thank you very much for taking time to review our errors, containers in both servers were off, we have powered them and now we can access the portal, now I can review setting analytics from targets

Need to figure out why they both were shutdown and prevent recurrence, I suspect updates or server restarting due to power challenges


4 posts were split to a new topic: CHT Instance failing to sync