:-)

Hello Maxim,
Earlier you suggested a step
>>check if connection to smtp.gmail.com through the port selected is
allowed from your OM server

Can you please clarify how to check the above?

Regards
Jitendra

On Mon, 28 Dec 2020 at 14:07, Ali Alhaidary <[email protected]>
wrote:

> Good, back to square 1 :-)
>
> Now follow @Max recommendations ...
>
> Ali
> On 12/28/20 11:33 AM, GuruCoool Learnings wrote:
>
> Thanks for the update.
> I tried these commands one by one-
>
> >> sudo /etc/init.d/tomcat4 stop
> >> sudo chown -R nobody:nogroup /opt/open510
> >> sudo reboot
> >> sudo /etc/init.d/tomcat4 start
>
> Nothing happened. Still I am getting the same error when tried to send a
> mail-
>
> com.sun.mail.util.MailConnectException: Couldn't connect to host, port:
> smtp.gmail.com, 587; timeout 30000; nested exception is:
> java.net.SocketTimeoutException: connect timed out at
> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2209) at
> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:740) at
> javax.mail.Service.connect(Service.java:388) at
> javax.mail.Service.connect(Service.java:246) at
> javax.mail.Service.connect(Service.java:195) at
> javax.mail.Transport.send0(Transport.java:254) at
> javax.mail.Transport.send(Transport.java:124) at
> org.apache.openmeetings.core.mail.MailHandler.lambda$send$0(MailHandler.java:221)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834) Caused by:
> java.net.SocketTimeoutException: connect timed out at
> java.base/java.net.PlainSocketImpl.socketConnect(Native Method) at
> java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
> at
> java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
> at
> java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
> at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) at
> java.base/java.net.Socket.connect(Socket.java:609) at
> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:357) at
> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238) at
> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2175)
> ... 10 more
>
> Thanks and regards
> Jitendra
>
> On Mon, 28 Dec 2020 at 13:11, Denis Noctor <[email protected]> wrote:
>
>> Just to be careful... rather than just using “sudo reboot”, make sure to
>> shutdown all OM related activities in advanced... especially Maria Database
>> (make a backup in advance) as it can sometimes corrupt the database. I’ve
>> been there and it is not a nice experience.
>>
>> Sent from my iPhone
>>
>> On Dec 27, 2020, at 10:58 AM, Ali Alhaidary <[email protected]>
>> wrote:
>>
>> since you said you are not very much into computers, it would be
>> difficult for you to trace the issue, so rebooting the server can cut the
>> story short
>>
>> sudo reboot
>>
>> and after the server boots start om and wait for 50 sec and see what is
>> written in the log
>>
>> Ali
>> On 12/27/20 7:52 PM, GuruCoool Learnings wrote:
>>
>> OS is ubuntu 18.04 LTS.
>> Restarting the server and restarting the OM are different? I thought they
>> are same and generally I do it by the command
>> >> sudo /etc/init.d/tomcat4 restart
>>
>> Regards
>> Jitendra
>>
>> On Sun, 27 Dec 2020 at 18:59, Ali Alhaidary <[email protected]>
>> wrote:
>>
>>> And restart the server, then start OM
>>> *, openmeetings.log should have something .... *
>>>
>>> Ali
>>> On 12/27/20 4:27 PM, Ali Alhaidary wrote:
>>>
>>> What is your OS? check owner of files please
>>>
>>> Ali
>>> On 12/27/20 4:02 PM, GuruCoool Learnings wrote:
>>>
>>> These are the files in /opt/open510/logs directory-
>>>
>>> catalina.2020-12-11.log  host-manager.2020-12-11.log
>>>  localhost.2020-12-19.log
>>> localhost_access_log.2020-12-21.txt  manager.2020-12-26.log
>>> catalina.2020-12-12.log  host-manager.2020-12-12.log
>>>  localhost.2020-12-25.log
>>> localhost_access_log.2020-12-22.txt  manager.2020-12-27.log
>>> catalina.2020-12-15.log  host-manager.2020-12-15.log
>>>  localhost.2020-12-26.log
>>> localhost_access_log.2020-12-23.txt  openmeetings.2020-12-11.0.log
>>> catalina.2020-12-16.log  host-manager.2020-12-17.log
>>>  localhost.2020-12-27.log
>>>  localhost_access_log.2020-12-24.txt  openmeetings.log
>>> catalina.2020-12-17.log  host-manager.2020-12-18.log
>>>  localhost_access_log.2020-12-11.txt  localhost_access_log.2020-12-25.txt
>>>  sessions.2020-12-20.0.log
>>> catalina.2020-12-18.log  host-manager.2020-12-19.log
>>>  localhost_access_log.2020-12-12.txt  localhost_access_log.2020-12-26.txt
>>>  sessions.2020-12-21.0.log
>>> catalina.2020-12-19.log  host-manager.2020-12-25.log
>>>  localhost_access_log.2020-12-13.txt  localhost_access_log.2020-12-27.txt
>>>  sessions.2020-12-22.0.log
>>> catalina.2020-12-20.log  host-manager.2020-12-26.log
>>>  localhost_access_log.2020-12-14.txt  manager.2020-12-11.log
>>> sessions.2020-12-23.0.log
>>> catalina.2020-12-21.log  host-manager.2020-12-27.log
>>>  localhost_access_log.2020-12-15.txt  manager.2020-12-12.log
>>> sessions.2020-12-24.0.log
>>> catalina.2020-12-24.log  localhost.2020-12-11.log
>>> localhost_access_log.2020-12-16.txt  manager.2020-12-15.log
>>> sessions.2020-12-25.0.log
>>> catalina.2020-12-25.log  localhost.2020-12-12.log
>>> localhost_access_log.2020-12-17.txt  manager.2020-12-17.log
>>> sessions.2020-12-26.0.log
>>> catalina.2020-12-26.log  localhost.2020-12-15.log
>>> localhost_access_log.2020-12-18.txt  manager.2020-12-18.log
>>> sessions.log
>>> catalina.2020-12-27.log  localhost.2020-12-17.log
>>> localhost_access_log.2020-12-19.txt  manager.2020-12-19.log
>>> catalina.out                     localhost.2020-12-18.log
>>> localhost_access_log.2020-12-20.txt  manager.2020-12-25.log
>>>
>>> I earlier renamed openmeetings to sessions so I checked in sessions.log.
>>> openmeetings.log is empty after I deleted the content.
>>>
>>> Regards
>>> Jitendra
>>>
>>> On Sun, 27 Dec 2020 at 18:25, GuruCoool Learnings <[email protected]>
>>> wrote:
>>>
>>>> This is all I got after deleting the content and starting the OM again.
>>>>
>>>> Regards
>>>> Jitendra
>>>>
>>>> On Sun, 27 Dec 2020 at 18:24, Ali Alhaidary <
>>>> [email protected]> wrote:
>>>>
>>>>> These entries does not show the service did not start, where is the
>>>>> rest ?
>>>>>
>>>>> Ali
>>>>>
>>>>>
>>>>> On 12/27/20 3:33 PM, GuruCoool Learnings wrote:
>>>>>
>>>>> I followed the steps suggested by you and here is what I got in
>>>>> openmeetings.log ( NOT STARTED)-
>>>>>
>>>>> INFO 12-27 12:24:43.292 o.s.w.c.ContextLoader:271 [main] - Root
>>>>> WebApplicationContext: initialization started
>>>>>  INFO 12-27 12:24:46.420 o.s.o.j.LocalEntityManagerFactoryBean:434
>>>>> [main] - Initialized JPA EntityManagerFactory for pe$ INFO 12-27
>>>>> 12:24:47.633 o.s.s.c.ThreadPoolTaskExecutor:181 [main] - Initializing
>>>>> ExecutorService 'taskExecutor'
>>>>> DEBUG 12-27 12:24:47.844 o.a.o.c.r.KurentoHandler:151
>>>>> [pool-1-thread-1] - Reconnecting KMS
>>>>>  INFO 12-27 12:24:48.098 o.k.j.c.JsonRpcClientNettyWebSocket:191
>>>>> [pool-1-thread-1] -  Connecting native client
>>>>>  INFO 12-27 12:24:48.102 o.k.j.c.JsonRpcClientNettyWebSocket:220
>>>>> [pool-1-thread-1] -  Creating new NioEventLoopGroup
>>>>>  INFO 12-27 12:24:48.792 o.k.j.c.JsonRpcClientNettyWebSocket:234
>>>>> [ntLoopGroup-2-1] -  Initiating new Netty channel. Wil$ INFO 12-27
>>>>> 12:24:48.919 o.q.i.StdSchedulerFactory:1220 [main] - Using default
>>>>> implementation for ThreadExecutor
>>>>>  INFO 12-27 12:24:49.015 o.q.c.SchedulerSignalerImpl:61 [main] -
>>>>> Initialized Scheduler Signaller of type: class org.qua$ INFO 12-27
>>>>> 12:24:49.016 o.q.c.QuartzScheduler:229 [main] - Quartz Scheduler v.2.3.2
>>>>> created.
>>>>>  INFO 12-27 12:24:49.018 o.q.s.RAMJobStore:155 [main] - RAMJobStore
>>>>> initialized.
>>>>>  INFO 12-27 12:24:49.043 o.q.c.QuartzScheduler:294 [main] - Scheduler
>>>>> meta-data: Quartz Scheduler (v2.3.2) 'org.springf$  Scheduler class:
>>>>> 'org.quartz.core.QuartzScheduler' - running locally.
>>>>>   NOT STARTED.
>>>>>   Currently in standby mode.
>>>>>   Number of jobs executed: 0
>>>>>   Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10
>>>>> threads.
>>>>>   Using job-store 'org.quartz.simpl.RAMJobStore' - which does not
>>>>> support persistence. and is not clustered.
>>>>>
>>>>>  INFO 12-27 12:24:49.044 o.q.i.StdSchedulerFactory:1374 [main] -
>>>>> Quartz scheduler 'org.springframework.scheduling.quart$ INFO 12-27
>>>>> 12:24:49.044 o.q.i.StdSchedulerFactory:1378 [main] - Quartz scheduler
>>>>> version: 2.3.2
>>>>>  INFO 12-27 12:24:49.051 o.q.c.QuartzScheduler:2293 [main] -
>>>>> JobFactory set to: org.springframework.scheduling.quartz.A$ INFO 12-27
>>>>> 12:24:49.098 o.s.s.q.SchedulerFactoryBean:727 [main] - Starting Quartz
>>>>> Scheduler now
>>>>>  INFO 12-27 12:24:49.099 o.q.c.QuartzScheduler:547 [main] - Scheduler
>>>>> org.springframework.scheduling.quartz.SchedulerFa$ INFO 12-27 12:24:49.133
>>>>> o.s.w.c.ContextLoader:307 [main] - Root WebApplicationContext initialized
>>>>> in 5832 ms
>>>>> INFO 12-27 12:24:49.255 o.a.w.u.f.WebXmlFile:235 [main] - web.xml: url
>>>>> mapping found for filter with name Openmeetings$ INFO 12-27 12:24:49.520
>>>>> o.a.o.c.r.KurentoHandler:181 [pool-1-thread-1] - !!! Kurento connected
>>>>>  INFO 12-27 12:24:49.780 o.a.w.Application:558 [main] -
>>>>> [OpenmeetingsApplication] init: org.wicketstuff.dashboard.Dashb$ INFO 
>>>>> 12-27
>>>>> 12:24:51.296 o.a.w.Application:558 [main] - [OpenmeetingsApplication] 
>>>>> init:
>>>>> Wicket core library initializer
>>>>>  INFO 12-27 12:24:51.304 o.a.w.Application:558 [main] -
>>>>> [OpenmeetingsApplication] init: Wicket jQuery UI initializer
>>>>>  INFO 12-27 12:24:51.312 o.a.w.Application:558 [main] -
>>>>> [OpenmeetingsApplication] init: Wicket jQuery UI initializer (p$ INFO 
>>>>> 12-27
>>>>> 12:24:51.318 o.a.w.Application:558 [main] - [OpenmeetingsApplication] 
>>>>> init:
>>>>> Wicket extensions initializer
>>>>>  INFO 12-27 12:24:51.410 o.a.w.Application:558 [main] -
>>>>> [OpenmeetingsApplication] init: DevUtils DebugBar Initializer
>>>>>  INFO 12-27 12:24:57.181 c.h.system:65 [main] - [172.105.37.153]:5701
>>>>> [dev] [4.1] Hazelcast 4.1 (20201104 - 2a1a477) st$
>>>>>
>>>>> The server has not started. Can I do anything in this case?
>>>>>
>>>>> Regards
>>>>> Jitendra
>>>>>
>>>>> On Sun, 27 Dec 2020 at 17:36, Ali Alhaidary <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> 1. stop om service
>>>>>>
>>>>>> 2. delete the contents of openmeetings.log
>>>>>>
>>>>>> 3. start om service
>>>>>>
>>>>>> 4. check openmeetings.log
>>>>>>
>>>>>>
>>>>>> On 12/27/20 2:17 PM, GuruCoool Learnings wrote:
>>>>>>
>>>>>> Since I am now not able to access the localhost url so please help
>>>>>> which file I can update smtp records in?
>>>>>>
>>>>>> Regards
>>>>>> Jitendra
>>>>>>
>>>>>> On Sun, 27 Dec 2020 at 14:33, GuruCoool Learnings <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> These are a few last lines-
>>>>>>>
>>>>>>> DEBUG 12-27 03:07:14.300 o.a.o.w.a.WebSession:223 [nio-5443-exec-3]
>>>>>>> - checkHashes, secure: 'null', invitation:
>>>>>>> 'ff51cfbd-4797-4f30-9d60-3f78955f00b4'
>>>>>>> DEBUG 12-27 03:07:14.338 o.a.o.w.a.WebSession:225 [nio-5443-exec-3]
>>>>>>> - checkHashes, has soap in session ? 'false'
>>>>>>> DEBUG 12-27 03:07:14.420 o.a.o.w.a.ClientManager:352
>>>>>>> [nio-5443-exec-3] - Cluster:: The only server found
>>>>>>> DEBUG 12-27 03:07:14.492 o.a.o.d.u.AuthLevelUtil:40
>>>>>>> [nio-5443-exec-3] - Level ADMIN :: [DENIED]
>>>>>>> DEBUG 12-27 03:07:14.498 o.a.o.d.u.AuthLevelUtil:40
>>>>>>> [nio-5443-exec-3] - Level GROUP_ADMIN :: [DENIED]
>>>>>>> DEBUG 12-27 03:07:14.519 o.a.o.d.u.AuthLevelUtil:40
>>>>>>> [nio-5443-exec-3] - Level ADMIN :: [DENIED]
>>>>>>> DEBUG 12-27 03:07:14.525 o.a.o.d.u.AuthLevelUtil:40
>>>>>>> [nio-5443-exec-3] - Level ADMIN :: [DENIED]
>>>>>>> DEBUG 12-27 03:07:14.566 o.a.o.w.c.OmWebSocketPanel:74
>>>>>>> [nio-5443-exec-3] - pingTimer is attached
>>>>>>> DEBUG 12-27 03:07:18.703 o.a.o.d.d.l.ConferenceLogDao:52
>>>>>>> [nio-5443-exec-1] - [add]:
>>>>>>> org.apache.openmeetings.db.entity.log.ConferenceLog@7a836ea7
>>>>>>> DEBUG 12-27 03:07:18.718 o.a.o.w.a.ClientManager:126
>>>>>>> [nio-5443-exec-1] - Adding online client:
>>>>>>> 2b627591-eeb1-4c49-8b8c-c5a6528634af, room: null
>>>>>>> DEBUG 12-27 03:07:18.728 o.a.o.w.c.MainPanel:160 [nio-5443-exec-1] -
>>>>>>> WebSocketBehavior::onConnect [uid: 2b627591-eeb1-4c49-8b8c-c5a6528634af,
>>>>>>> session: F307B900D3DFADE9$DEBUG 12-27 03:07:18.752
>>>>>>> o.a.o.d.d.l.ConferenceLogDao:52 [nio-5443-exec-1] - [add]:
>>>>>>> org.apache.openmeetings.db.entity.log.ConferenceLog@5cb63b3c
>>>>>>> DEBUG 12-27 03:07:18.757 o.a.o.w.a.ClientManager:257
>>>>>>> [nio-5443-exec-1] - Adding online room client:
>>>>>>> 2b627591-eeb1-4c49-8b8c-c5a6528634af, room: 11
>>>>>>> DEBUG 12-27 03:07:18.764 o.a.o.w.a.ClientManager:275
>>>>>>> [nio-5443-exec-1] - Cluster:: room 11 was not found for server 
>>>>>>> 'server-1',
>>>>>>> adding ...
>>>>>>> DEBUG 12-27 03:07:18.765 o.a.o.w.a.ClientManager:448
>>>>>>> [nio-5443-exec-1] - Cluster:: room 11 is added to server, whole list 
>>>>>>> [11]
>>>>>>> DEBUG 12-27 03:07:18.766 o.a.o.w.a.ClientManager:114
>>>>>>> [erver-1.event-1] - Cluster:: Server was updated server-1 ->
>>>>>>> ServerInfo[rooms: [11]]
>>>>>>> DEBUG 12-27 03:07:18.770 o.a.o.d.u.AuthLevelUtil:40
>>>>>>> [nio-5443-exec-1] - Level ADMIN :: [DENIED]
>>>>>>>  INFO 12-27 03:07:18.771 o.a.o.w.r.RoomPanel:395 [nio-5443-exec-1] -
>>>>>>> Setting rights for client:: [AUDIO, VIDEO] -> false
>>>>>>> DEBUG 12-27 03:07:18.783 o.a.o.d.u.AuthLevelUtil:40
>>>>>>> [nio-5443-exec-1] - Level ADMIN :: [DENIED]
>>>>>>> DEBUG 12-27 03:07:18.789 o.a.o.d.d.r.PollDao:87 [nio-5443-exec-1] -
>>>>>>>  :: getPoll :: 11
>>>>>>> DEBUG 12-27 03:07:18.799 o.a.o.d.d.r.PollDao:98 [nio-5443-exec-1] -
>>>>>>>  :: getArchived :: 11
>>>>>>> DEBUG 12-27 03:07:18.829 o.a.o.d.d.f.FileItemDao:55
>>>>>>> [nio-5443-exec-1] - getByOwner() started
>>>>>>> DEBUG 12-27 03:07:18.832 o.a.o.d.d.f.FileItemDao:50
>>>>>>> [nio-5443-exec-1] - getByRoom roomId :: 11
>>>>>>>  WARN 12-27 03:07:23.779 o.a.o.w.a.TimerService:69 [Thread-2609] -
>>>>>>> Moderator room check 11
>>>>>>>  WARN 12-27 03:07:23.783 o.a.o.w.r.RoomPanel:588 [Thread-2611] - !!
>>>>>>> moderatorInRoom: false
>>>>>>>
>>>>>>> Jitendra
>>>>>>>
>>>>>>> On Sun, 27 Dec 2020 at 14:31, GuruCoool Learnings <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> I checked but couldn't trace.
>>>>>>>>
>>>>>>>> Honestly, I am not friendly with these processes. I am not a coder
>>>>>>>> or developer. I am a maths teacher and anyhow set up the server with 
>>>>>>>> the
>>>>>>>> help of the documentation provided by openmeetings.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Jitendra
>>>>>>>>
>>>>>>>> On Sun, 27 Dec 2020 at 13:02, Ali Alhaidary <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Could be, check openmeetings.log to see if the service has started
>>>>>>>>> ...
>>>>>>>>>
>>>>>>>>> Ali
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 12/27/20 10:26 AM, GuruCoool Learnings wrote:
>>>>>>>>>
>>>>>>>>> One more thing I remember I did. In OM >> Administration >>
>>>>>>>>> Configuration, I erased the records of smtp records like server 
>>>>>>>>> email, port
>>>>>>>>> number etc.
>>>>>>>>> Can this be a reason for "This site can’t be reached"?
>>>>>>>>>
>>>>>>>>> On Sun, 27 Dec 2020 at 12:43, GuruCoool Learnings <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> I was trying to check the ports by the command
>>>>>>>>>> netstat -a -n
>>>>>>>>>>
>>>>>>>>>> and made no change there. After that I just restarted the server
>>>>>>>>>> and unfortunately, the server is not accessible.
>>>>>>>>>> It says,"This site can’t be reached".
>>>>>>>>>>
>>>>>>>>>> I don't know what to do now.
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>> Jitendra
>>>>>>>>>>
>>>>>>>>>> On Sun, 27 Dec 2020 at 11:54, Maxim Solodovnik <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> please read this article:
>>>>>>>>>>> https://support.google.com/a/answer/176600?hl=en
>>>>>>>>>>> Especially this Use the Gmail SMTP server part
>>>>>>>>>>>
>>>>>>>>>>> as i wrote before
>>>>>>>>>>> for TLS (port 587) you have to enable
>>>>>>>>>>> "mail.smtp.starttls.enable" in OM -> Admin -> Config
>>>>>>>>>>> for SSL (port 465) you have to enable "mail.smtp.ssl.enable" in
>>>>>>>>>>> OM -> Admin -> Config
>>>>>>>>>>>
>>>>>>>>>>> and check if connection to smtp.gmail.com through the port
>>>>>>>>>>> selected is allowed from your OM server
>>>>>>>>>>>
>>>>>>>>>>> On Sun, 27 Dec 2020 at 12:09, GuruCoool Learnings <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hello dear Maxim,
>>>>>>>>>>>> By security options, do you mean Forwarding and POP/IMAP in my
>>>>>>>>>>>> Gmail?
>>>>>>>>>>>> If yes, I have enabled it already. If no, then please guide me
>>>>>>>>>>>> what exactly I need to do for correct security options.
>>>>>>>>>>>>
>>>>>>>>>>>> Also, you mentioned about firewall settings, please guide me on
>>>>>>>>>>>> this also.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks and regards
>>>>>>>>>>>> Jitendra
>>>>>>>>>>>>
>>>>>>>>>>>> On Sat, 26 Dec 2020 at 08:37, GuruCoool Learnings <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks. Please guide me for correct security options and
>>>>>>>>>>>>> firewall settings. I am not savy with these processes.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks & Regards
>>>>>>>>>>>>> Jitendra
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sat, Dec 26, 2020, 07:18 Maxim Solodovnik <
>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> The correct settings for gmail are here:
>>>>>>>>>>>>>> https://support.google.com/mail/answer/7126229?hl=en
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> You have to specify only ONE of
>>>>>>>>>>>>>> mail.smtp.starttls.enable
>>>>>>>>>>>>>> mail.smtp.ssl.enable
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> timeout error might be because you are not setting correct
>>>>>>>>>>>>>> security option
>>>>>>>>>>>>>> Or maybe your provider/firewall blocks the connection
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Fri, 25 Dec 2020 at 22:20, GuruCoool Learnings <
>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Nothing happened even after restarting the server.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Jitendra
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Fri, 25 Dec 2020 at 13:44, GuruCoool Learnings <
>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Okay. I will try and then will let you know.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>> Jitendra
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Dec 25, 2020, 13:29 Ali Alhaidary <
>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> You must restart the server so tat any new settings can
>>>>>>>>>>>>>>>>> take effect
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Ali
>>>>>>>>>>>>>>>>> On 12/25/20 3:54 AM, GuruCoool Learnings wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> It shows error message in OM email management section
>>>>>>>>>>>>>>>>> only.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Jitendra
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Fri, Dec 25, 2020, 01:17 Alvaro <[email protected]>
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ...right now i tested my OM 5.1.0 at localhost  and gmail
>>>>>>>>>>>>>>>>>> configuration and send mail ok to "[email protected]".
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Please take a look in your spam Gmail web.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> .....................
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> El jue, 24-12-2020 a las 23:20 +0530, GuruCoool Learnings
>>>>>>>>>>>>>>>>>> escribió:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Tried both 587 and 465 one by one but didn't find any
>>>>>>>>>>>>>>>>>> solution. However thanks for your replies.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I have one more query. generally openmeetings generates
>>>>>>>>>>>>>>>>>> user specific invitation links. Is it possible to create 
>>>>>>>>>>>>>>>>>> invitation links
>>>>>>>>>>>>>>>>>> that can be given to anyone who is not registered on my 
>>>>>>>>>>>>>>>>>> server?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Thu, 24 Dec 2020 at 23:16, Ali Alhaidary <
>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> It did not work with me as well :-)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> try port 465
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Ali
>>>>>>>>>>>>>>>>>> On 12/24/20 8:23 PM, GuruCoool Learnings wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> gurucoool.com is my main site where I use the same gmail
>>>>>>>>>>>>>>>>>> smtp details that I want to use with openmeetings. Gmail 
>>>>>>>>>>>>>>>>>> smtp works fine
>>>>>>>>>>>>>>>>>> with my main site gurucoool.com but is not working with
>>>>>>>>>>>>>>>>>> openmeetings.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Thu, 24 Dec 2020 at 13:05, Ali Alhaidary <
>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I think you should use the SMTP of gurucool.com instead
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Ali
>>>>>>>>>>>>>>>>>> On 12/24/20 10:06 AM, GuruCoool Learnings wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Ali,
>>>>>>>>>>>>>>>>>> I have followed the guidelines provided by the
>>>>>>>>>>>>>>>>>> openmeetings documentation which is as follows-
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> A valid example to configure the mail server with Gmail,
>>>>>>>>>>>>>>>>>> is as follows:
>>>>>>>>>>>>>>>>>> (replace [email protected] with your real Gmail account)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Mail-Refer == [email protected]
>>>>>>>>>>>>>>>>>> SMTP-Server == smtp.gmail.com
>>>>>>>>>>>>>>>>>> SMTP-Server Port (default
>>>>>>>>>>>>>>>>>> Smtp-Server Port is 25) == 587
>>>>>>>>>>>>>>>>>> SMTP-Username == [email protected]
>>>>>>>>>>>>>>>>>> SMTP-Userpass == password of [email protected] (this is
>>>>>>>>>>>>>>>>>> the one I use to open the mail box at [email protected])
>>>>>>>>>>>>>>>>>> Enable TLS in Mail Server Auth == ...turn green the
>>>>>>>>>>>>>>>>>> button to activate
>>>>>>>>>>>>>>>>>> Default Language == English
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ...the rest you can change it as you likes.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> However can it would be a great help if you can clarify
>>>>>>>>>>>>>>>>>> what actually you mean by the following-
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Host name is wrong or
>>>>>>>>>>>>>>>>>> Connection security is wrong or
>>>>>>>>>>>>>>>>>> service is not available or
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>> Jitendra
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Thu, 24 Dec 2020 at 11:24, Ali Alhaidary <
>>>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> It is either:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Host name is wrong or
>>>>>>>>>>>>>>>>>> SMTP server name is wrong or
>>>>>>>>>>>>>>>>>> Port number is wrong or
>>>>>>>>>>>>>>>>>> Connection security is wrong or
>>>>>>>>>>>>>>>>>> User name is wrong or
>>>>>>>>>>>>>>>>>> pass word is wrong or
>>>>>>>>>>>>>>>>>> service is not available or
>>>>>>>>>>>>>>>>>> some of the above or
>>>>>>>>>>>>>>>>>> all of the above
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Try searching the mailing list, the solution is there as
>>>>>>>>>>>>>>>>>> you need to check each and every one ...
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> :-)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 12/23/20 2:18 PM, GuruCoool Learnings wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>> I am facing mail sending error in my openmeetings server.
>>>>>>>>>>>>>>>>>> Whenever I try to send a mail I get an error message as 
>>>>>>>>>>>>>>>>>> follows-
>>>>>>>>>>>>>>>>>> Error Count 5
>>>>>>>>>>>>>>>>>> Last Error
>>>>>>>>>>>>>>>>>> com.sun.mail.util.MailConnectException: Couldn't connect
>>>>>>>>>>>>>>>>>> to host, port: smtp.gmail.com, 587; timeout 30000;
>>>>>>>>>>>>>>>>>> nested exception is: java.net.SocketTimeoutException: 
>>>>>>>>>>>>>>>>>> connect timed out at
>>>>>>>>>>>>>>>>>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2209)
>>>>>>>>>>>>>>>>>>  at
>>>>>>>>>>>>>>>>>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:740)
>>>>>>>>>>>>>>>>>>  at
>>>>>>>>>>>>>>>>>> javax.mail.Service.connect(Service.java:388) at
>>>>>>>>>>>>>>>>>> javax.mail.Service.connect(Service.java:246) at
>>>>>>>>>>>>>>>>>> javax.mail.Service.connect(Service.java:195) at
>>>>>>>>>>>>>>>>>> javax.mail.Transport.send0(Transport.java:254) at
>>>>>>>>>>>>>>>>>> javax.mail.Transport.send(Transport.java:124) at
>>>>>>>>>>>>>>>>>> org.apache.openmeetings.core.mail.MailHandler.lambda$send$0(MailHandler.java:221)
>>>>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>>>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>>>>>>>>>>>>>>>>>> at java.base/java.lang.Thread.run(Thread.java:834) Caused by:
>>>>>>>>>>>>>>>>>> java.net.SocketTimeoutException: connect timed out at
>>>>>>>>>>>>>>>>>> java.base/java.net.PlainSocketImpl.socketConnect(Native 
>>>>>>>>>>>>>>>>>> Method) at
>>>>>>>>>>>>>>>>>> java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
>>>>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>>>> java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
>>>>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>>>> java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
>>>>>>>>>>>>>>>>>> at 
>>>>>>>>>>>>>>>>>> java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
>>>>>>>>>>>>>>>>>>  at
>>>>>>>>>>>>>>>>>> java.base/java.net.Socket.connect(Socket.java:609) at
>>>>>>>>>>>>>>>>>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:357)
>>>>>>>>>>>>>>>>>>  at
>>>>>>>>>>>>>>>>>> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)
>>>>>>>>>>>>>>>>>>  at
>>>>>>>>>>>>>>>>>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2175)
>>>>>>>>>>>>>>>>>>  ... 10
>>>>>>>>>>>>>>>>>> more
>>>>>>>>>>>>>>>>>> Please help.
>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>> Jitendra
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Best regards,
>>>>>>>>>>>>>> Maxim
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Best regards,
>>>>>>>>>>> Maxim
>>>>>>>>>>>
>>>>>>>>>>

Reply via email to