Re: [Dhis2-devs] Fwd: 502 Bad Gateway nginx/1.10.0 (Ubuntu

2016-12-06 Thread Lars Helge Øverland
Hi Olav,

this warning comes from a cache-related setting in Tomcat 8.5 having a
quite low default value. You can adjust it by including this in
tomcat/conf/context.xml:



The crash might come from something else.

Lars






On Mon, Dec 5, 2016 at 7:28 PM, Olav Poppe  wrote:

> Hi devs, we're having som problems woth a 2.24 instance that crashes. This
> is what we find in the logs (below) - the warning repeats itself until
> tomcat crashes. Any advice?
>
> Regards
> Olav
>
>
> * INFO  2016-12-05 13:08:02,235 'lamin' update 
> org.hisp.dhis.program.ProgramInstance,
> uid: vACQtdeeQ11 (AuditLogUtil.java [tomcat-http-10])
> * WARN  2016-12-05 13:08:31,680 The configured limit of 1,000 object
> references was reached while attempting to calculate the size of the object
> graph. Severe performance degradation could occur if the sizing operation
> continues. This can be avoided by setting the CacheManger or Cache
>  elements maxDepthExceededBehavior to "abort" or adding stop
> points with @IgnoreSizeOf annotations. If performance degradation is NOT an
> issue at the configured limit, raise the limit value using the CacheManager
> or Cache  elements maxDepth attribute. For more information,
> see the Ehcache configuration documentation. (ObjectGraphWalker.java
> [tomcat-http-2])
> * WARN  2016-12-05 13:08:37,197 The configured limit of 1,000 object
> references was reached while attempting to calculate the size of the object
> graph. Severe performance degradation could occur if the sizing operation
> continues. This can be avoided by setting the CacheManger or Cache
>  elements maxDepthExceededBehavior to "abort" or adding stop
> points with @IgnoreSizeOf annotations. If performance degradation is NOT an
> issue at the configured limit, raise the limit value using the CacheManager
> or Cache  elements maxDepth attribute. For more information,
> see the Ehcache configuration documentation. (ObjectGraphWalker.java
> [tomcat-http-2])
> etc….
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Fwd: couple questions about dataValueSets API

2016-12-06 Thread Vladimer Shioshvili
-- Forwarded message -
From: Vladimer Shioshvili 
Date: Tue, Dec 6, 2016 at 6:04 AM
Subject: couple questions about dataValueSets API
To: 


1) just to confirm, web api only accets uncompressed file, right? and it's
the import/export app that is capable of handling zip file?

2) does DELETE import strategy work for dataValueSets? I have not been able
to get it to work.

I am running on 2.24, if it makes a difference.

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


Re: [Dhis2-devs] Fwd: 502 Bad Gateway nginx/1.10.0 (Ubuntu

2016-12-06 Thread Bob Jolliffe
Thanks Lars.  Is that cacheMaxSize="10" an arbitrary example or a
sensible default?  (I am thinking here of setting the default on
dhis2-tools instance)

On 6 December 2016 at 08:02, Lars Helge Øverland  wrote:

> Hi Olav,
>
> this warning comes from a cache-related setting in Tomcat 8.5 having a
> quite low default value. You can adjust it by including this in
> tomcat/conf/context.xml:
>
> 
>
> The crash might come from something else.
>
> Lars
>
>
>
>
>
>
> On Mon, Dec 5, 2016 at 7:28 PM, Olav Poppe  wrote:
>
>> Hi devs, we're having som problems woth a 2.24 instance that crashes.
>> This is what we find in the logs (below) - the warning repeats itself until
>> tomcat crashes. Any advice?
>>
>> Regards
>> Olav
>>
>>
>> * INFO  2016-12-05 13:08:02,235 'lamin' update
>> org.hisp.dhis.program.ProgramInstance, uid: vACQtdeeQ11
>> (AuditLogUtil.java [tomcat-http-10])
>> * WARN  2016-12-05 13:08:31,680 The configured limit of 1,000 object
>> references was reached while attempting to calculate the size of the object
>> graph. Severe performance degradation could occur if the sizing operation
>> continues. This can be avoided by setting the CacheManger or Cache
>>  elements maxDepthExceededBehavior to "abort" or adding stop
>> points with @IgnoreSizeOf annotations. If performance degradation is NOT an
>> issue at the configured limit, raise the limit value using the CacheManager
>> or Cache  elements maxDepth attribute. For more information,
>> see the Ehcache configuration documentation. (ObjectGraphWalker.java
>> [tomcat-http-2])
>> * WARN  2016-12-05 13:08:37,197 The configured limit of 1,000 object
>> references was reached while attempting to calculate the size of the object
>> graph. Severe performance degradation could occur if the sizing operation
>> continues. This can be avoided by setting the CacheManger or Cache
>>  elements maxDepthExceededBehavior to "abort" or adding stop
>> points with @IgnoreSizeOf annotations. If performance degradation is NOT an
>> issue at the configured limit, raise the limit value using the CacheManager
>> or Cache  elements maxDepth attribute. For more information,
>> see the Ehcache configuration documentation. (ObjectGraphWalker.java
>> [tomcat-http-2])
>> etc….
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Test Email in Email Settings is not Working.

2016-12-06 Thread Sourabh Bhardwaj
Hi all,

I have setup the email settings as:

*Hostname: s...@gmail.com *
*Port: 587*
*username: @gmail.com *
*password: ***(gmail password)*
*sender: ***@gmail.com *


But test mail never receives to the user. Following error is  coming:

*Sending email to user: admin with email address:***@gmail.com
 to host: smtp.gmail.com:587 
(EmailMessageSender.java [taskScheduler-8])*
*   * WARN  2016-12-06 17:51:15,540 Could not send email: Sending
the email to the following server failed : smtp.gmail.com:587
, org.apache.commons.mail.EmailException:
Sending the email to the following server failed : smtp.gmail.com:587
*


Has anyone used the Email Settings before?

Thanks & Regards,
Sourabh Bhardwaj
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Events not getting auto-generated

2016-12-06 Thread Abyot Asalefew Gizaw
Hi Arun,

There happens to be a bug when auto generating event. It is fixed from
master (2.26) all the way to 2.23.

Thank you for reporting.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Nov 18, 2016 at 9:07 AM, Abyot Asalefew Gizaw 
wrote:

> Is it possible to access your system so that I can take a close look? or
> share your db privately?
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Nov 18, 2016 at 5:58 AM, Arun Paul  wrote:
>
>> Hi Abyot,
>>
>> That's not the case. Anyway I cleaned the browser cache just to be double
>> sure.
>> The issue is still not solved.
>> Any other ideas?
>>
>> ​Thanks
>> ,
>> - Arun Paul
>>
>> On Wed, Nov 16, 2016 at 11:19 AM, Abyot Asalefew Gizaw 
>> wrote:
>>
>>> May be the meta data is changed after the app has run... if this is the
>>> case, the solution is to fully clear your browser cache and run the app
>>> again.
>>>
>>> ---
>>>
>>> Thank you,
>>> Abyot.
>>> (sent from mobile)
>>>
>>> On Nov 16, 2016 03:39, "Arun Paul"  wrote:
>>>
 Hi Abyot,

 This issue is still not resolved. I am attaching the screenshots here.
 I could not find anything error-like on the browser console too. I have
 attached the both the screenshots, just after enrolling to the program and
 just after manually generating the stage1 event.


 Let me know if you find anything.
 Thanks in advance.

 - Arun Paul

 On Mon, Nov 14, 2016 at 12:25 PM, Abyot Asalefew Gizaw >>> > wrote:

> Hi Arun,
>
> It works fine in our demo server - which is 2.25. I don't remember any
> big change in that area between 2.23 and 2.25.
>
> Can you share us some screenshots? Also, do you see anything in red
> under your browser console?
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, Nov 14, 2016 at 6:11 AM, Arun Paul 
> wrote:
>
>> Thanks Prosper.
>> Yes I set the incident date as the delivery date but it does not help.
>> Is there anything else I have to check?
>>
>> Regards,
>> Arun
>>
>> On Mon, Nov 14, 2016 at 1:09 AM, Prosper BT 
>> wrote:
>>
>>> Dear Arun,
>>>
>>> Is delivery date your incident date?
>>> You must have an incident date or use enrollment date for the auto
>>> generate events to work.
>>>
>>> Regards
>>>
>>> Prosper Behumbiize, MPH
>>> DHIS2 Implementation| HISP Uganda/University Of Oslo
>>> +256 752 751 776 | +256 776 139 139
>>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>>> prospertb
>>>
>>> On Sat, Nov 12, 2016 at 3:22 PM, Arun Paul 
>>> wrote:
>>>
 Hi everyone,

 I am creating a program for tracking the PNC visits in the lines of

 "​
 MNCH / PNC (Adult Woman)
 ​"​ Program configured in the Sierra Leon Demo system.

 In my case I have created multiple PNC visits such as PNC 1, PNC2,
 PNC3 that would occur at 1,3,5 days after the delivery date which is 
 the
 incident date of the program.

 I would like these events to be auto-generated at scheduled days,
 so that I can generate overdue reports for the health workers to act 
 upon.
 However, I cannot get this working, despite doing all the
 configurations(Listed down below). Even after the required number of 
 days,
  I can't see the overdue events are being generated for the patients, 
 nor
 can I see them listed in the events overdue reports.

 In the program stage configuration for each stages :
 "Scheduled days from start" was given a valid value.
 "Auto-generate event" was ticked on.

 Have I missed any configuration? I am using version 2.23.

 Please help.

 Thanks,
 Arun Paul.

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-us...@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-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

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


Re: [Dhis2-devs] [Dhis2-users] Test Email in Email Settings is not Working.

2016-12-06 Thread Stian Sandvold
Hi,

first, did you enable TLS as well?

I followed the steps listed here: 
https://support.google.com/mail/answer/7126229?hl=en 


This works fine for me. Is there any way you misspelled your email or password?

Seemed to work without enabling POP/IMAP in my gmail account as well, but if 
you can’t get it to work, you should try to enable it as well I guess.

Let me know how it goes.

——
Stian Sandvold
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org




> On 6 Dec 2016, at 13:36, Sourabh Bhardwaj  wrote:
> 
> Hi all,
> 
> I have setup the email settings as: 
> 
> Hostname: s...@gmail.com 
> Port: 587
> username: @gmail.com 
> password: ***(gmail password)
> sender: ***@gmail.com 
> 
> But test mail never receives to the user. Following error is  coming:
> 
> Sending email to user: admin with email address:***@gmail.com 
>  to host: smtp.gmail.com:587  
> (EmailMessageSender.java [taskScheduler-8])
>* WARN  2016-12-06 17:51:15,540 Could not send email: Sending the 
> email to the following server failed : smtp.gmail.com:587 
> , org.apache.commons.mail.EmailException: Sending 
> the email to the following server failed : smtp.gmail.com:587 
> 
> 
> Has anyone used the Email Settings before?
> 
> Thanks & Regards,
> Sourabh Bhardwaj
> 
> 
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp

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


Re: [Dhis2-devs] [Dhis2-users] Test Email in Email Settings is not Working.

2016-12-06 Thread Sam Kasozi
Also enabling the 'less secure apps to access your account' option in the
Gmail account configured in the DHIS 2.

If this is the case, then when you log into the same account, you will find
a blocked sign-in attempt notification email with the option for allowing
the access.

https://www.google.com/settings/security/lesssecureapps

regards,

Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug

On Tue, Dec 6, 2016 at 5:16 PM, Stian Sandvold  wrote:

> Hi,
>
> first, did you enable TLS as well?
>
> I followed the steps listed here: https://support.google.
> com/mail/answer/7126229?hl=en
>
> This works fine for me. Is there any way you misspelled your email or
> password?
>
> Seemed to work without enabling POP/IMAP in my gmail account as well, but
> if you can’t get it to work, you should try to enable it as well I guess.
>
> Let me know how it goes.
>
> ——
> Stian Sandvold
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
>
>
>
> On 6 Dec 2016, at 13:36, Sourabh Bhardwaj  wrote:
>
> Hi all,
>
> I have setup the email settings as:
>
> *Hostname: s...@gmail.com *
> *Port: 587*
> *username: @gmail.com *
> *password: ***(gmail password)*
> *sender: ***@gmail.com *
>
>
> But test mail never receives to the user. Following error is  coming:
>
> *Sending email to user: admin with email address:***@gmail.com
>  to host: smtp.gmail.com:587
>  (EmailMessageSender.java [taskScheduler-8])*
> *   * WARN  2016-12-06 17:51:15,540 Could not send email: Sending
> the email to the following server failed : smtp.gmail.com:587
> , org.apache.commons.mail.EmailException:
> Sending the email to the following server failed : smtp.gmail.com:587
> *
>
>
> Has anyone used the Email Settings before?
>
> Thanks & Regards,
> Sourabh Bhardwaj
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DOCKERIZE ALL THE THINGS...

2016-12-06 Thread Paulo Grácio
Hi all,

I have been working on this project https://github.com/pgracio/dhis2-docker

to
Dockerize DHIS2 and would like to kindly ask you to spend 2 minutes, of
your precious time, answering this survey. We would love to hear your
thoughts or feedback on how we can improve your experience!

https://goo.gl/forms/GAKD9sQOzeOSvNN23

Best regards,
Paulo Grácio
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Kurdish Language Name Problem in v.2.25

2016-12-06 Thread Chris Leonard
Jason,

Do you know the exact source of this language list?

I know the Debian project maintains a localized set of the various isocode
standards for language name, country, currency, etc.  If you could help me
track down the code source, I'm more than willing to look into bugging them
about representing Kurdish Sorani properly in their code.

Chris Leonard

On Mon, Dec 5, 2016 at 5:59 AM, Jason Pickering  wrote:

> Hi Antonia,
>
> I will discuss with the development team, but  as you point out, its more
> of a problem of the underlying libraries themselves, which do not have a
> corresponding translation of the official ISO code for Kudish Sorani. We
> would need to add an enhancement I think to use the equivalent icu4j
> classes to get the language names for these codes which are not part of the
> core Java Locale classes.
> Regards,
> Jason
>
>
>
> On Mon, Dec 5, 2016 at 11:26 AM, Antonia Bezenchek - INFORMApro <
> antonia.bezenc...@informa.pro> wrote:
>
>> Dear developers and translation team,
>> in the upgrade process from v.2.22 to v.2.25 we encountered the fallowng
>> 2 problems with the translation.
>> - the the language *Kurdish*, created especially for our implementation,
>> is not more visible as Kurdish in the User's Interface language, but
>> with its ISO code "*ckb*". All users with assigned Kurdish language have *not
>> assigned any language* and and the system default language appears. If I
>> assign manually the "ckb" language to the user, the Kurdish translation of
>> the interface appears.
>>
>> But for the final users "ckb" is not comprehensible name.
>>
>> Could you change the name to *Kurdish* or *Kurdish Sorani* the language
>> code (ckb - ISO 639-3)
>> for the v. 2.25 and all new versions.
>>
>> I know that if not fixed in a stable mode in the source, the problem will
>> appears in any new version,  because it is not part of the underlying 
>> libraries
>> (*GTK and  the Java libraries*) which provides these names, as specified
>> by Jason Pickering in a mail (May 1st 2016)  and we could not make it
>> change for the moment.
>>
>> Thanks in advance for your help.
>> Antonia
>>
>>  www.informa.pro - *Seguici su *LinkedIn
>> 
>> INFORMAPRO S.r.l. - via Luigi Rava 43,  Rome 00149 , Italy
>> tel. +39 06 5758926 <+39%2006%20575%208926>, fax +39  06 62207168, P.IVA
>> IT08095781004
>> Skype: informa_antonia.bezenchek
>> Eng. Antonia Bezenchek - CIO - ICT Engineer
>>
>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049 <+46%2076%20414%2070%2049>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Suggestion

2016-12-06 Thread Nayeem Al Mifthah
Dear Hama
Thank you for your suggestions.

I am fully agree with your suggestions. Specially the first part need to be
address by developer community.

Inside the second part (the register event page components) most of the
suggestions are already available by designing custom form for registration
and program stage.

Although there are some bugs in some versions. Which version you are using?

*Nayeem Al Mifthah*
*Consultant for HSS, Health MIS, M&E*
Email: n.mift...@gmail.com
Cell:+8801914030574
Skype: nayeem.a.m

On Tue, Dec 6, 2016 at 11:51 AM, Knut Staring  wrote:

> Hi Hama,
> Sending this to the user list.
> Knut
>
> 5. des. 2016 9.24 p.m. skrev "Hama Khdir" :
>
>> Hi my name is Hama, Dhis2 user
>>
>> I have some suggestions about *Capture event* Page face and data entry,
>>
>> First Previews table sorting (*incident date*) field data in all pages,
>> descending sort better than ascending sort.
>>
>> Why? Because the Users can see last his saved data i.e. always (last data
>> saved) preview on the user screen, so user know end work time!
>>
>> Searching operation in any fields should be searching all pages at the
>> same time.
>>
>> For example we want to find (Suha Samir) *patient name*, it must display
>> whit out we will search page by page.
>>
>> According to print operation, when we will select *(All) option* it must
>> print all data saved in our data base ... please check it be carefully!
>>
>> *Register event page Components*
>>
>> Some text field has its own specialty,
>>
>> >*patient name* allow enter text only, But *Weight in grams*
>> and
>>
>>  *Age text field* allow number and limited, for example less than 150
>> year! , 10 gram!!
>>
>> > *Residence type combo box,* %90 preset of people has resident, the
>> combo default value must be Resident
>>
>> >*Type of birth combo box*, the result of (Gestational age (weeks)) show
>> what item should be chose if (weeks>30) is Regular or Default value is
>> Regular.
>>
>> >*Twin birth Option*, more then %90 present patients *are (No) option*,
>> and only one Newborn1Info must be show another should be hidden
>>
>> When we chose *(Yes) option* another NewbornX Info must be show.
>>
>> >*Number of brothers alive* *=* Previous pregnancies  *- *Previous
>> abortions equation
>>
>> >*Born alive/dead combox*, default value is *Alive* true and
>> correct.
>>
>>
>>
>>  Hama Khdir Hama
>>
>>
>>
>>   5/12/2016 Qaldiz
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Test Email in Email Settings is not Working.

2016-12-06 Thread Sourabh Bhardwaj
Thanks Stian & Sam,

I have followed your instructions and now it is working fine after enabling
IMAP and less securing apps.



On Tue, Dec 6, 2016 at 6:41 PM, Sam Kasozi  wrote:

> Also enabling the 'less secure apps to access your account' option in the
> Gmail account configured in the DHIS 2.
>
> If this is the case, then when you log into the same account, you will
> find a blocked sign-in attempt notification email with the option for
> allowing the access.
>
> https://www.google.com/settings/security/lesssecureapps
>
> regards,
>
> Sam Kasozi
> +256 788-993-565
> Skype: sam.kasoziug
>
> On Tue, Dec 6, 2016 at 5:16 PM, Stian Sandvold  wrote:
>
>> Hi,
>>
>> first, did you enable TLS as well?
>>
>> I followed the steps listed here: https://support.google.c
>> om/mail/answer/7126229?hl=en
>>
>> This works fine for me. Is there any way you misspelled your email or
>> password?
>>
>> Seemed to work without enabling POP/IMAP in my gmail account as well, but
>> if you can’t get it to work, you should try to enable it as well I guess.
>>
>> Let me know how it goes.
>>
>> ——
>> Stian Sandvold
>> Software developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>>
>>
>>
>> On 6 Dec 2016, at 13:36, Sourabh Bhardwaj  wrote:
>>
>> Hi all,
>>
>> I have setup the email settings as:
>>
>> *Hostname: s...@gmail.com *
>> *Port: 587*
>> *username: @gmail.com *
>> *password: ***(gmail password)*
>> *sender: ***@gmail.com *
>>
>>
>> But test mail never receives to the user. Following error is  coming:
>>
>> *Sending email to user: admin with email address:***@gmail.com
>>  to host: smtp.gmail.com:587
>>  (EmailMessageSender.java [taskScheduler-8])*
>> *   * WARN  2016-12-06 17:51:15,540 Could not send email: Sending
>> the email to the following server failed : smtp.gmail.com:587
>> , org.apache.commons.mail.EmailException:
>> Sending the email to the following server failed : smtp.gmail.com:587
>> *
>>
>>
>> Has anyone used the Email Settings before?
>>
>> Thanks & Regards,
>> Sourabh Bhardwaj
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@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-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp