Re: [Dhis2-users] [Dhis2-devs] About filter in Data visualizer

2016-08-16 Thread ifeanyiokoye
  Hello Elmarie,The thing is, I'm not sure exactly where that setting is made for the analytics. If you could provide a clue, I can go and check to see if we have the wrong setting. You have been quite helpful. Thank you. Ifeanyi From: Elmarie ClaasenSent: Tuesday, 16 August 2016 21:25To: 'Ifeanyi Okoye'; 'Derek Kahongo Mukenge'Cc: dhis2-users@lists.launchpad.net; 'Lars Helge Øverland'; 'DHIS 2 Developers list'Subject: RE: [Dhis2-devs] [Dhis2-users]  About filter in Data visualizerHi Ifeanyi, You should not set an aggregation start level then analytics will aggregate from the lowest level up. Only if you have set a start level to e.g. OU4 then it will only use values captured from OU4 and above to higher levels so that now does not seem like your problem.  I am sorry other than the allocation of orgunitgroups and whether you are filtering on groups or not I cant think of anything else that can cause it. Maybe someone else has some ideas.  Regards, Elmarie ClaasenProject ManagerHealth Information Systems ProgramTel:  041-367 1027Cell: 082 374 2209E-mail: elma...@hisp.orgSkype:  elmarie.claasen52   This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer .   Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclai...@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.  From: Ifeanyi Okoye [mailto:ifeanyiok...@yahoo.com] Sent: 16 August 2016 01:30 PMTo: Elmarie Claasen; 'Derek Kahongo Mukenge'Cc: dhis2-users@lists.launchpad.net; 'Lars Helge Øverland'; 'DHIS 2 Developers list'Subject: Re: [Dhis2-devs] [Dhis2-users] About filter in Data visualizer Hello Elmarie,Forgive me, but I am not sure where to set the aggregation start level. For the reports, what we have started to do is to select org units at levels (Comprehensive, Satellite, and Outreach) when we noted this issue. I do not know if this is a wrong method. But this is a big concern as we would not like to misrepresent the data. Thank you.  Warm Regards, IfeanyiRead DrMaestro's Blogwww.ifeanyiokoye.com From: Elmarie Claasen To: 'Ifeanyi Okoye' ; 'Derek Kahongo Mukenge'  Cc: dhis2-users@lists.launchpad.net; 'Lars Helge Øverland' ; 'DHIS 2 Developers list' Sent: Monday, August 15, 2016 2:46 PMSubject: RE: [Dhis2-devs] [Dhis2-users] About filter in Data visualizer Hi Ifeanyi, Did you perhaps define the aggregation start level for your data elements as OU4 or are you also filtering on orgunitgroups in the report which can cause the inconsistency in reports at different levels?   Regards, Elmarie ClaasenProject ManagerHealth Information Systems ProgramTel:  041-367 1027Cell: 082 374 2209E-mail: elma...@hisp.orgSkype:  elmarie.claasen52   This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer .   Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclai...@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.  From: Ifeanyi Okoye [mailto:ifeanyiok...@yahoo.com] Sent: 15 August 2016 02:38 PMTo: Derek Kahongo Mukenge; Elmarie ClaasenCc: dhis2-users@lists.launchpad.net; Lars Helge Øverland; DHIS 2 Developers listSubject: Re: [Dhis2-devs] [Dhis2-users] About filter in Data visualizer Hello Everyone,I had reported this a few weeks ago and did not get any response. We have data entered at OU4 (comprehensive sites), OU5 (satellite sites), and OU6 (outreach sites). When we do tables or charts and select the parent OU (OU1), the data displayed is for OU4 (comprehensive sites) alone. When I select the different levels, I get a different output. I have taken the time to compare the outputs from the tables and the data entry forms and I see that for some reason, DHIS isn't aggregating data below OU4 into the parent OU. Not 

Re: [Dhis2-users] Browser not working

2016-07-19 Thread ifeanyiokoye
  ‎Hello Everyone,We are using Tomcat as web server not nginx. We also did not use dhis2-tools. ThanksFrom: Bob JolliffeSent: Tuesday, 19 July 2016 23:33To: Olav PoppeCc: DHIS Users; Steven UggowitzerSubject: Re: [Dhis2-users] Browser not workingWhat I am seeing (comparing firefox to chrome) is that chrome is ignoring the set-cookie it gets from the login.action and doesn't use it in the redirected request.So for examplePOST /hmis/dhis-web-commons-security/login.action HTTP/1.1Host: hmis.moh.gov.rwConnection: keep-aliveContent-Length: 36Cache-Control: max-age=0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Origin: https://hmis.moh.gov.rwUpgrade-Insecure-Requests: 1User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36Content-Type: application/x-www-form-urlencodedReferer: https://hmis.moh.gov.rw/hmis/dhis-web-commons/security/login.action;jsessionid=9AAEAFA84230F8727E1A6B77D80B2C01Accept-Encoding: gzip, deflateAccept-Language: en-GB,en-US;q=0.8,en;q=0.6Cookie: JSESSIONID=9AAEAFA84230F8727E1A6B77D80B2C01produces this responseHTTP/1.1 302 FoundServer: nginx/1.4.6 (Ubuntu)Date: Tue, 19 Jul 2016 22:15:16 GMTContent-Length: 0Connection: keep-aliveX-XSS-Protection: 1; mode=blockX-Frame-Options: DENYX-Content-Type-Options: nosniffSet-Cookie: JSESSIONID=2065911121DF703529E7F9CBDB526AF6; Path=/hmis/; HttpOnlyLocation: https://hmis.moh.gov.rw/hmis(Note the set-cookie)Now when firefox follows the redirect it includes that cookie and the user logs in successfully, but chrome produces the following response to the 302:GET /hmis HTTP/1.1Host: hmis.moh.gov.rwConnection: keep-aliveCache-Control: max-age=0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Upgrade-Insecure-Requests: 1User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36Referer: https://hmis.moh.gov.rw/hmis/dhis-web-commons/security/login.action;jsessionid=9AAEAFA84230F8727E1A6B77D80B2C01Accept-Encoding: gzip, deflate, sdchAccept-Language: en-GB,en-US;q=0.8,en;q=0.6As you see chrome has ignored the Cookie.  It looks very similar to an old "misbehaviour" in chrome described here : https://bugs.chromium.org/p/chromium/issues/detail?id=150066.  Like there is something about the response which chrome doesn't like and hence silently drops the cookie.That's all I can say for now.On 19 July 2016 at 22:46, Bob Jolliffe  wrote:Not really related, but those double GETs I see probably indicate that you are redirecting to http and that in turn to https.  Can you check that in developer tools?On 19 July 2016 at 22:30, Olav Poppe  wrote:The two servers I’m currently experiencing this with is using dhis2-tools, and I assume the one Tony wrote about earlier is using the same. As for logs, catalina.out shows the following:* WARN  2016-07-19 21:18:41,983 Authentication event AuthenticationSuccessEvent: olavpo; details: org.springframework.security.web.authentication.WebAuthenticationDetails@380f4: RemoteIpAddress: 127.0.0.1; SessionId: 2FD09C6C6D9D1DEE16E8E38A8F7A38DE (LoggerListener.java [tomcat-http-9])* WARN  2016-07-19 21:18:41,984 Authentication event SessionFixationProtectionEvent: olavpo; details: org.springframework.security.web.authentication.WebAuthenticationDetails@380f4: RemoteIpAddress: 127.0.0.1; SessionId: 2FD09C6C6D9D1DEE16E8E38A8F7A38DE (LoggerListener.java [tomcat-http-9])* WARN  2016-07-19 21:18:41,984 Authentication event InteractiveAuthenticationSuccessEvent: olavpo; details: org.springframework.security.web.authentication.WebAuthenticationDetails@380f4: RemoteIpAddress: 127.0.0.1; SessionId: 2FD09C6C6D9D1DEE16E8E38A8F7A38DE (LoggerListener.java [tomcat-http-9])* INFO  2016-07-19 21:18:41,987 'olavpo' update org.hisp.dhis.user.UserCredentials, name: Olav Poppe, uid: R8ZvjXptEW2 (AuditLogUtil.java [tomcat-http-9])And nginx access.log the following (nothing in error.log):1.76.8.51 - - [19/Jul/2016:21:28:02 +] "GET /dhis/dhis-web-commons-stream/ping.action?_=1468963693718 HTTP/1.1" 200 34 "https://XXX/dhis/dhis-web-dataentry/index.action" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.8 Safari/537.36"212.60.79.122 - - [19/Jul/2016:21:28:26 +] "POST /staging/dhis

Re: [Dhis2-users] Browser not working

2016-07-19 Thread ifeanyiokoye
Dear Bob,
I am having this same issue to with Chrome. After entering the log in 
credentials, it opens a page with API data and does not log in. If I am lucky 
and have a data entry page open, then I can log in at the prompt and that 
works. 
Our instance is set to load the dashboard as the opening page.

Have to keep struggling with it till it eventually logs in. 

Thanks
  Original Message  
From: Bob Jolliffe
Sent: Tuesday, 19 July 2016 14:58
To: Ntawuyirusha Emmanuel
Cc: dhis2-users
Subject: Re: [Dhis2-users] Browser not working

Hi Emmanuel

I am following up on a separate thread. I'll copy you into that.

I see it is a problem, seemingly related to chrome mishandling the
JSESSIONID cookie so even though the credentials are tested and dhis2
logs a successful authentication, the browser cookie doesn't match the
session id in dhis and so you don't get in. I am really not sure why
What I also don't know is what might have changed to cause this to
happen. I am assuming you didn't just wake up one morning and this
started to happen. There has been some change to nginx configuration
or dhis2 upgrade or something similar.

On 19 July 2016 at 14:40, Ntawuyirusha Emmanuel  wrote:
> i tried to uninstall and reinstall it again but the issue is still
> remaining, Note that this is happening to all users using Goggle Chrome as
> most of them are familiar with it.
>
> Regards
>
> On Mon, Jul 18, 2016 at 7:49 PM, Knut Staring  wrote:
>>
>> Maybe try to reinstall Chrome.
>>
>> Knut
>>
>>
>> On Tuesday, July 19, 2016, Ntawuyirusha Emmanuel 
>> wrote:
>>>
>>> Thank you Bob,
>>>
>>> I tried to use New Incognito windows and Clear browsing data but the
>>> issue is remaining for Google Chrome , actually when we restart the server
>>> the username and password work only once and then after the problem persist.
>>> we are still waiting for your support.
>>>
>>> Regards
>>>
>>> On Mon, Jul 18, 2016 at 12:42 PM, Bob Jolliffe 
>>> wrote:

 oops, forgot users ...

 -- Forwarded message --
 From: Bob Jolliffe 
 Date: 18 July 2016 at 11:40
 Subject: Re: [Dhis2-users] Browser not working
 To: Emmanuel Ntawuyirusha 


 Hi Emmanuel

 If it works with firefox then it is really likely to be a chrome cache
 issue. Try and login with chrome incognito mode. If that works then
 you can be reasonably sure.

 If so, then try ...

 https://www.dhis2.org/tutorials/how-to-really-clear-browser-cache

 Bob

 On 18 July 2016 at 11:08, Emmanuel Ntawuyirusha 
 wrote:
 > Deal all, we are facing the issue of using Google Chrome, when using
 > username and password there is a message saying wrong username and
 > password.
 > But it is working well with Mozilla Firefox. We tried to clean cash
 > but
 > nothing improved
 > Does any one know what to do to fix this problem.
 >
 >
 > ___
 > Mailing list: https://launchpad.net/~dhis2-users
 > Post to : dhis2-users@lists.launchpad.net
 > Unsubscribe : https://launchpad.net/~dhis2-users
 > More help : https://help.launchpad.net/ListHelp
 >

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help : https://help.launchpad.net/ListHelp
>>>
>>>
>>>
>>>
>>> --
>>> *Mr. Emmanuel NTAWUYIRUSHA*
>>> HMIS/MOH
>>> Telephone: *+250 788408772*
>>> Email: ntawe...@gmail.com
>>> "Do Good. Do It Well."
>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522
>> Skype: knutstar
>> http://dhis2.org
>>
>
>
>
> --
> *Mr. Emmanuel NTAWUYIRUSHA*
> HMIS/MOH
> Telephone: *+250 788408772*
> Email: ntawe...@gmail.com
> "Do Good. Do It Well."
>

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp