Greetings!

We have server running on Ubuntu 16.04, Tomcat 8.
We have discovered recently critical problem with our dspace 6.2 instance 
as we cannot register new users anymore. 
Logs show that critical error appears at the moment when registration email 
should be sent via gmail:

2018-03-06 09:01:16,253 INFO org.apache.http.impl.execchain.RetryExec @ I/O 
exception (java.net.SocketException) caught when processing request to {s}->
https://www.google-analytics.com:443: Network is unreachable (connect 
failed) 
2018-03-06 09:01:16,253 INFO org.apache.http.impl.execchain.RetryExec @ 
Retrying request to {s}->https://www.google-analytics.com:443 
2018-03-06 09:01:16,253 INFO org.apache.http.impl.execchain.RetryExec @ I/O 
exception (java.net.SocketException) caught when processing request to {s}->
https://www.google-analytics.com:443: Network is unreachable (connect 
failed) 
2018-03-06 09:01:16,253 INFO org.apache.http.impl.execchain.RetryExec @ 
Retrying request to {s}->https://www.google-analytics.com:443....
....
....

2018-03-06 09:02:17,997 INFO org.dspace.app.webui.servlet.RegisterServlet @ 
anonymous:session_id=4C7D035ECB8042F0AA9EAF0B44281566:ip_addr=127.0.0.1:
error_emailing:email=ole...@xxxx.edu.ua
javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: 
Could not connect to SMTP host: smtp.gmail.com, port: 465 (java.net.
SocketException: Network is unreachable (connect failed)))
 at javax.mail.Transport.send(Transport.java:163)


You can also note that "Network unreachable" appeared for Google Analytics 
- not sure if its connected and how much it impacts.

We had this dspace instance with current configs working great with emails 
on ipv4, but when we switched server to ipv6 - it appeared later that 
registration stopped working. 
We thought it was environment fault but we still can send emails though CLI 
to gmail:
>ssmtp mym...@gmail.com 
works well (telnet version works also - port is open) and delivers mail 
from CLI with these configs:

root=****@*****.edu.ua
mailhub=smtp.gmail.com:465
hostname=dspace.*****.edu.ua
AuthUser=****@*****.edu.ua
AuthPass=******
UseTLS=YES
UseSTARTTLS=YES

Seems like problem is in DSpace itself on our ipv6 - sending test mail from 
dspace command line doesn't work either.

I have searched the topics an web for these cases but cannot find proper 
and relevant one.

Can anyone, please, help us with this? Maybe some clues what can we check 
more to find the solution or are we missing something?
Thanks in advance!



-- 


Ужгородський національний університет

http://www.uzhnu.edu.ua

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to