# \[Bug 1609361\] \[NEW\] Login fails in Google Chrome

**URL:** <https://community.dhis2.org/t/bug-1609361-new-login-fails-in-google-chrome/33236>\
**Category:** Support - Assistance technique\
**Created:** [3 August 2016 11:28 UTC](https://community.dhis2.org/t/bug-1609361-new-login-fails-in-google-chrome/33236 "2016-08-03T11:28:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Don\_Vieira](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/don_vieira/32/45709_2.png) [@Don\_Vieira](https://community.dhis2.org/u/Don_Vieira)\
**Post date:** [3 August 2016 11:28 UTC](https://community.dhis2.org/t/bug-1609361-new-login-fails-in-google-chrome/33236/1 "2016-08-03T11:28:38Z")

</div>

Public bug reported:

All my users can't login into DHIS2 using Google Chrome, it does not give any error message.  
They can only login using Mozilla Firefox. What could be the problem?

\*\* Affects: dhis2  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Importance: Undecided  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Status: New

> **···**
>
> --  
> You received this bug notification because you are a member of DHIS 2  
> developers, which is subscribed to DHIS.  
> [https://bugs.launchpad.net/bugs/1609361](https://bugs.launchpad.net/bugs/1609361)
> 
> Title:  
> &nbsp;&nbsp;Login fails in Google Chrome
> 
> Status in DHIS:  
> &nbsp;&nbsp;New
> 
> Bug description:  
> &nbsp;&nbsp;All my users can't login into DHIS2 using Google Chrome, it does not give any error message.  
> &nbsp;&nbsp;They can only login using Mozilla Firefox. What could be the problem?
> 
> To manage notifications about this bug go to:  
> [https://bugs.launchpad.net/dhis2/+bug/1609361/+subscriptions](https://bugs.launchpad.net/dhis2/+bug/1609361/+subscriptions)

---

<div class="post-metadata">

**Author:** ![Lars](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/lars/32/34166_2.png) [@Lars](https://community.dhis2.org/u/Lars)\
**Post date:** [3 August 2016 12:59 UTC](https://community.dhis2.org/t/bug-1609361-new-login-fails-in-google-chrome/33236/2 "2016-08-03T12:59:28Z")

</div>

\*\* Changed in: dhis2  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assignee: (unassigned) =\> Halvdan Hoem Grelland (halvdanhg)

\*\* Changed in: dhis2  
&nbsp;&nbsp;&nbsp;&nbsp;Milestone: None =\> 2.25

\*\* Changed in: dhis2  
&nbsp;&nbsp;&nbsp;Importance: Undecided =\> High

> **···**
>
> --  
> You received this bug notification because you are a member of DHIS 2  
> developers, which is subscribed to DHIS.  
> [https://bugs.launchpad.net/bugs/1609361](https://bugs.launchpad.net/bugs/1609361)
> 
> Title:  
> &nbsp;&nbsp;Login fails in Google Chrome
> 
> Status in DHIS:  
> &nbsp;&nbsp;New
> 
> Bug description:  
> &nbsp;&nbsp;All my users can't login into DHIS2 using Google Chrome, it does not give any error message.  
> &nbsp;&nbsp;They can only login using Mozilla Firefox. What could be the problem?
> 
> To manage notifications about this bug go to:  
> [https://bugs.launchpad.net/dhis2/+bug/1609361/+subscriptions](https://bugs.launchpad.net/dhis2/+bug/1609361/+subscriptions)

---

<div class="post-metadata">

**Author:** ![Halvdan\_Hoem\_Grellan](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/h/ecae2f/32.png) [@Halvdan\_Hoem\_Grellan](https://community.dhis2.org/u/Halvdan_Hoem_Grellan)\
**Post date:** [3 August 2016 13:21 UTC](https://community.dhis2.org/t/bug-1609361-new-login-fails-in-google-chrome/33236/3 "2016-08-03T13:21:06Z")

</div>

Hi and thanks for reporting.

This is a known issue that has cropped up since the release of the most  
recent versions of Chrome (52) and Opera.

The issue seems to be caused by an inconsistency in the URL of the  
session cookie and the redirect after login. See archived thread from  
dhis2-users: [Re: Browser not working : Mailing list archive : dhis2-users team in Launchpad](https://lists.launchpad.net/dhis2-users/msg10800.html)

We are looking into the issue, but have not been able to fix it yet. A  
possible workaround has been described in the aforementioned thread. In  
short, use '[https://mydomain/dhis/&#39](https://mydomain/dhis/&#39); instead of '[https://mydomain/dhis&#39](https://mydomain/dhis&#39);  
(add the trailing slash). Could be done in a reverse proxy as well, I  
guess.

Sorry for the inconvenience.

> **···**
>
> --  
> You received this bug notification because you are a member of DHIS 2  
> developers, which is subscribed to DHIS.  
> [https://bugs.launchpad.net/bugs/1609361](https://bugs.launchpad.net/bugs/1609361)
> 
> Title:  
> &nbsp;&nbsp;Login fails in Google Chrome
> 
> Status in DHIS:  
> &nbsp;&nbsp;New
> 
> Bug description:  
> &nbsp;&nbsp;All my users can't login into DHIS2 using Google Chrome, it does not give any error message.  
> &nbsp;&nbsp;They can only login using Mozilla Firefox. What could be the problem?
> 
> To manage notifications about this bug go to:  
> [https://bugs.launchpad.net/dhis2/+bug/1609361/+subscriptions](https://bugs.launchpad.net/dhis2/+bug/1609361/+subscriptions)

---

<div class="post-metadata">

**Author:** ![Don\_Vieira](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/don_vieira/32/45709_2.png) [@Don\_Vieira](https://community.dhis2.org/u/Don_Vieira)\
**Post date:** [3 August 2016 16:12 UTC](https://community.dhis2.org/t/bug-1609361-new-login-fails-in-google-chrome/33236/4 "2016-08-03T16:12:41Z")

</div>

Hi Halvadan

Thanks it works,the secret is just to add a forward slash at the end.

> **···**
>
> --  
> You received this bug notification because you are a member of DHIS 2  
> developers, which is subscribed to DHIS.  
> [https://bugs.launchpad.net/bugs/1609361](https://bugs.launchpad.net/bugs/1609361)
> 
> Title:  
> &nbsp;&nbsp;Login fails in Google Chrome
> 
> Status in DHIS:  
> &nbsp;&nbsp;New
> 
> Bug description:  
> &nbsp;&nbsp;All my users can't login into DHIS2 using Google Chrome, it does not give any error message.  
> &nbsp;&nbsp;They can only login using Mozilla Firefox. What could be the problem?
> 
> To manage notifications about this bug go to:  
> [https://bugs.launchpad.net/dhis2/+bug/1609361/+subscriptions](https://bugs.launchpad.net/dhis2/+bug/1609361/+subscriptions)
