← Back to team overview

dhis2-users team mailing list archive

Re: Browser not working

 

Adding to that, could you please try to reproduce with Chrome Canary?

https://www.google.com/chrome/browser/canary.html

(Will investigate further soon, currently on holiday).


On Tue, Jul 19, 2016 at 8:17 PM, Jason Pickering <
jason.p.pickering@xxxxxxxxx> wrote:

> I have seen this before as well, but never like it has been described
> here. In my case, it was related to an incorrect nginx config.
>
> Is there something common here? Are all of you using dhis-tools, or
> homebaked nginx configurations?
>
> Does the browser/Tomcat/nginx log provide any useful information?
>
> Do you observe the same thing if you attempt to hit DHIS2 directly without
> going through the reverse proxy?
>
> Regards,
> Jason
>
>
> On Tue, Jul 19, 2016 at 6:45 PM, Steven Uggowitzer <whotopia@xxxxxxxxx>
> wrote:
>
>> It's for Chrome and Safari here.
>> One interesting symptom:  when logging in with correct username and
>> password the resulting URL includes jsessionid, but bounces back to the
>> login screen, versus incorrect authentication parameters result in "Wrong
>> username or password".   See attached screen shot for comparison:
>>
>>
>> [image: Inline images 1]
>>
>> --------------------------
>> Steven Uggowitzer
>> eSHIfT Partner Network,  Entuura Ventures Ltd
>> Tel: +41 22 366 1920
>> Mob: +41 79 719 4180
>> Skype: fendant123
>> LinkedIn: http://ch.linkedin.com/in/stevenuggowitzer
>>
>> On 19 July 2016 at 18:04, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
>>
>>> Is this only in chrome?
>>>
>>> On 19 July 2016 at 17:01, Olav Poppe <olav.poppe@xxxxxx> wrote:
>>>
>>>> I can confirm that I now see the same issue in non-2.22 as well. Very
>>>> strange behavior - I can at times log in, but is then logged off when
>>>> navigation between different modules.
>>>>
>>>>
>>>>
>>>> 19. jul. 2016 kl. 15.28 skrev Olav Poppe <olav.poppe@xxxxxx>:
>>>>
>>>> Forwarding to user list. Not 2.24 issue then it seems.
>>>>
>>>> Olav
>>>>
>>>>
>>>>
>>>> Videresendt melding:
>>>>
>>>> *Fra: *ifeanyiokoye@xxxxxxxxx
>>>> *Emne: **Re: [Dhis2-users] Browser not working*
>>>> *Dato: *19. juli 2016 kl. 15.19.34 GMT
>>>> *Til: *Olav Poppe <olav.poppe@xxxxxx>
>>>>
>>>> Just to add that I'm using version 2.22 build 22086
>>>>
>>>>
>>>> *From: *Olav Poppe
>>>> *Sent: *Tuesday, 19 July 2016 16:08
>>>> *To: *ifeanyiokoye@xxxxxxxxx
>>>> *Cc: *Bob Jolliffe; Ntawuyirusha Emmanuel; DHIS Users
>>>> *Subject: *Re: [Dhis2-users] Browser not working
>>>>
>>>> Hi, I can add that I have the same problem on two different servers:
>>>> logging in with Chrome (or Safari) does not work, Firefox works fine.
>>>> Instances are both 2.24 build. Nginx 1.4.6 are running on both servers.
>>>> Both servers have other non-2.24 instances that does not have the same
>>>> problem.
>>>>
>>>> To add to the problem, the DHIS 2 top menu does not work in Firefox,
>>>> e.g. nothing works…Not sure if that’s a general problem or not. Again, menu
>>>> works in non-24 instances.
>>>>
>>>> Regards
>>>> Olav
>>>>
>>>>
>>>>
>>>>
>>>> 19. jul. 2016 kl. 14.41 skrev ifeanyiokoye@xxxxxxxxx:
>>>>
>>>> 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 <ntawemma@xxxxxxxxx>
>>>> 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 <knutst@xxxxxxxxx> wrote:
>>>>
>>>>
>>>> Maybe try to reinstall Chrome.
>>>>
>>>> Knut
>>>>
>>>>
>>>> On Tuesday, July 19, 2016, Ntawuyirusha Emmanuel <ntawemma@xxxxxxxxx>
>>>> 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 <bobjolliffe@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>
>>>> oops, forgot users ...
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>>>> Date: 18 July 2016 at 11:40
>>>> Subject: Re: [Dhis2-users] Browser not working
>>>> To: Emmanuel Ntawuyirusha <ntawemma@xxxxxxxxx>
>>>>
>>>>
>>>> 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 <ntawemma@xxxxxxxxx>
>>>> 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@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Mr. Emmanuel NTAWUYIRUSHA*
>>>> HMIS/MOH
>>>> Telephone: *+250 788408772*
>>>> Email: ntawemma@xxxxxxxxx
>>>> "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: ntawemma@xxxxxxxxx
>>>> "Do Good. Do It Well."
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+46764147049
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Halvdan Hoem Grelland
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/>

PNG image


References