Hi Saurav,

The reason for the issue is missing account credentials for email job
monitoring. To resolve this, follow the instructions in section [1] to
create an email account. Then, update the 'email.based.monitor.address' and
'email.based.monitor.password' properties within the
modules/distribution/src/main/docker/docker-compose.yml file.
This will resolve the issue you're having.

[1] -
https://github.com/apache/airavata/tree/develop/modules/ide-integration#starting-job-monitoring-components

Cheers!
Lahiru

On Fri, Jun 2, 2023 at 4:44 PM saurav kumar jha <imsauravgaurav...@gmail.com>
wrote:

> Hi Lahiru,
> Thanks a lot for the response.
>
> while trying to run Airavata locally on Ubuntu using this command
>  ```docker-compose -f
> modules/ide-integration/src/main/containers/docker-compose.yml -f
> modules/distribution/src/main/docker/docker-compose.yml up```
>
> Email store Authentication related error comes up. I have pasted the log
> below. I have done nothing for authentication nor have I started any db
> separately. All that I am doing is running above command after creating a
> docker image using the steps mentioned in the readme file of Airavata. What
> should I do to fix this?
>
> emailmonitor_1  | 2023-06-02 07:56:34,488 [Thread-0] ERROR
> org.apache.airavata.monitor.email.EmailBasedMonitor {} - [EJM]: Couldn't
> connect to the store
> emailmonitor_1  | javax.mail.AuthenticationFailedException:
> [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> emailmonitor_1  |       at
> com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:732)
> ~[javax.mail-1.6.2.jar:1.6.2]
> emailmonitor_1  |       at javax.mail.Service.connect(Service.java:366)
> ~[javax.mail-1.6.2.jar:1.6.2]
> emailmonitor_1  |       at javax.mail.Service.connect(Service.java:246)
> ~[javax.mail-1.6.2.jar:1.6.2]
> emailmonitor_1  |       at
> org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:185)
> ~[email-monitor-0.21-SNAPSHOT.jar:0.21-SNAPSHOT]
> emailmonitor_1  |       at java.lang.Thread.run(Thread.java:829) ~[?:?]
> emailmonitor_1  | 2023-06-02 07:56:34,489 [Thread-0] ERROR
> org.apache.airavata.monitor.email.EmailBasedMonitor {} - [EJM]: Caught a
> throwable while closing email store
> emailmonitor_1  | java.lang.NullPointerException: null
> emailmonitor_1  |       at
> org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:231)
> ~[email-monitor-0.21-SNAPSHOT.jar:0.21-SNAPSHOT]
> emailmonitor_1  |       at java.lang.Thread.run(Thread.java:829) ~[?:?]
> emailmonitor_1  | 2023-06-02 07:56:35,595 [Thread-0] ERROR
> org.apache.airavata.monitor.email.EmailBasedMonitor {} - [EJM]: Couldn't
> connect to the store
> emailmonitor_1  | javax.mail.AuthenticationFailedException:
> [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> emailmonitor_1  |       at
> com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:732)
> ~[javax.mail-1.6.2.jar:1.6.2]
> emailmonitor_1  |       at javax.mail.Service.connect(Service.java:366)
> ~[javax.mail-1.6.2.jar:1.6.2]
> emailmonitor_1  |       at javax.mail.Service.connect(Service.java:246)
> ~[javax.mail-1.6.2.jar:1.6.2]
> emailmonitor_1  |       at
> org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:185)
> ~[email-monitor-0.21-SNAPSHOT.jar:0.21-SNAPSHOT]
> emailmonitor_1  |       at java.lang.Thread.run(Thread.java:829) ~[?:?]
> emailmonitor_1  | 2023-06-02 07:56:35,596 [Thread-0] ERROR
> org.apache.airavata.monitor.email.EmailBasedMonitor {} - [EJM]: Caught a
> throwable while closing email store
> emailmonitor_1  | java.lang.NullPointerException: null
> emailmonitor_1  |       at
> org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:231)
> ~[email-monitor-0.21-SNAPSHOT.jar:0.21-SNAPSHOT]
> emailmonitor_1  |       at java.lang.Thread.run(Thread.java:829) ~[?:?]
> apiserver_1     | 2023-06-02 07:56:35,753 [main] INFO
> org.apache.airavata.common.utils.ApplicationSettings {} - Settings loaded
> from file:/opt/apache-airavata-api-server/bin/airavata-server.properties
> apiserver_1     | Exception in thread "main"
> org.apache.airavata.common.exception.ApplicationSettingsException:
> api.server.monitoring.enabled
> apiserver_1     |       at
> org.apache.airavata.common.utils.ApplicationSettings.getSettingImpl(ApplicationSettings.java:196)
> apiserver_1     |       at
> org.apache.airavata.common.utils.ApplicationSettings.getBooleanSetting(ApplicationSettings.java:350)
> apiserver_1     |       at
> org.apache.airavata.server.ServerMain.main(ServerMain.java:175)
> emailmonitor_1  | 2023-06-02 07:56:36,848 [Thread-0] ERROR
> org.apache.airavata.monitor.email.EmailBasedMonitor {} - [EJM]: Couldn't
> connect to the store
> emailmonitor_1  | javax.mail.AuthenticationFailedException:
> [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> emailmonitor_1  |       at
> com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:732)
> ~[javax.mail-1.6.2.jar:1.6.2]
> emailmonitor_1  |       at javax.mail.Service.connect(Service.java:366)
> ~[javax.mail-1.6.2.jar:1.6.2]
> emailmonitor_1  |       at javax.mail.Service.connect(Service.java:246)
> ~[javax.mail-1.6.2.jar:1.6.2]
> emailmonitor_1  |       at
> org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:185)
> ~[email-monitor-0.21-SNAPSHOT.jar:0.21-SNAPSHOT]
> emailmonitor_1  |       at java.lang.Thread.run(Thread.java:829) ~[?:?]
> emailmonitor_1  | 2023-06-02 07:56:36,848 [Thread-0] ERROR
> org.apache.airavata.monitor.email.EmailBasedMonitor {} - [EJM]: Caught a
> throwable while closing email store
> emailmonitor_1  | java.lang.NullPointerException: null
> emailmonitor_1  |       at
> org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:231)
> ~[email-monitor-0.21-SNAPSHOT.jar:0.21-SNAPSHOT]
> emailmonitor_1  |       at java.lang.Thread.run(Thread.java:829) ~[?:?]
> containers_apiserver_1 exited with code 1
> emailmonitor_1  | 2023-06-02 07:56:37,968 [Thread-0] ERROR
> org.apache.airavata.monitor.email.EmailBasedMonitor {} - [EJM]: Couldn't
> connect to the store
> emailmonitor_1  | javax.mail.AuthenticationFailedException:
> [AUTHENTICATIONFAILED] Invalid credentials (Failure)
>
> Thanks & Regards,
> Saurav Kumar Jha
>
> On Tue, May 30, 2023 at 9:18 PM Lahiru Jayathilake <
> lahirujayathil...@gmail.com> wrote:
>
>> Hi Saurav,
>>
>> Regarding the development environments.
>> You can do the development with the OS that you prefer. (However, based
>> on my experience, I'd recommend going with Linux)
>>
>> You can follow this document [1, 2] to set up a local Airavata
>> development environment and use it in the settings file. Alternatively, if
>> you select any of the options mentioned in this section [3], you just need
>> to set up the Airavata Django Portal as your development environment.
>>
>>
>> [1] - https://github.com/apache/airavata/blob/develop/README.md
>> [2] - https://github.com/apache/airavata/tree/develop
>> [3] -
>> https://github.com/apache/airavata-django-portal#:~:text=Create%20a%20local%20settings%20file
>> .
>>
>> Cheers!
>> Lahiru
>>
>> On Tue, May 30, 2023 at 12:12 PM saurav kumar jha <
>> imsauravgaurav...@gmail.com> wrote:
>>
>>> Hi Suresh & Eroma,
>>> I have got overview of technical requirements of the following jira::
>>> [AIRAVATA-3594] Dashboards to get quick statistics - ASF JIRA
>>> (apache.org) <https://issues.apache.org/jira/browse/AIRAVATA-3594>
>>>
>>> I have a few questions related to it.
>>>
>>> Should I do development setup of Airavata Django portal
>>> <https://github.com/apache/airavata-django-portal> on linux or on
>>> windows for working on above jira?
>>>
>>> Can you please assign this jira to me?
>>>
>>> What are the repositories other than Airavata Django Portal
>>> <https://github.com/apache/airavata-django-portal> which I should set
>>> up locally for development purposes?
>>>
>>> Thanks & Regards,
>>> Saurav Kumar Jha
>>>
>>>
>>>
>>>

Reply via email to