Hi Karan, Can you check whether the email credentials that you have provided are correct in conf/airavata-server.properties file?
Thanks Dimuthu On Sat, Oct 6, 2018 at 2:40 PM Kotabagi, Karan <[email protected]> wrote: > Hi Dev, > > > In the airavata centos image, the email-monitor log of the helix is being > spammed with the following error message and the centos image is getting > full. > > > 2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - > [EJM]: Caught a throwable while closing email store > java.lang.NullPointerException: null > at > org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:220) > at java.lang.Thread.run(Thread.java:748) > 2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - > [EJM]: Couldn't connect to the store > javax.mail.MessagingException: imap.gmail.com > at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670) > at javax.mail.Service.connect(Service.java:295) > at javax.mail.Service.connect(Service.java:176) > at > org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:174) > at java.lang.Thread.run(Thread.java:748) > Caused by: java.net.UnknownHostException: imap.gmail.com > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) > at java.net.Socket.connect(Socket.java:589) > at java.net.Socket.connect(Socket.java:538) > at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:319) > at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:233) > at com.sun.mail.iap.Protocol.<init>(Protocol.java:113) > at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:111) > at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:637) > ... 4 common frames omitted > 2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - > [EJM]: Caught a throwable while closing email store > java.lang.NullPointerException: null > at > org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:220) > at java.lang.Thread.run(Thread.java:748) > 2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - > [EJM]: Couldn't connect to the store > javax.mail.MessagingException: imap.gmail.com > at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670) > at javax.mail.Service.connect(Service.java:295) > at javax.mail.Service.connect(Service.java:176) > > > Please advise if there are any of the solutions to resolve the same. > > > Regards > > Karan​ >
