Re: [dspace-tech] Re: Connection refused msg when attempting to reset password for another user.

2018-11-27 Thread Terry Brady
I believe that this is the file:
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/emails/change_password

On Tue, Nov 27, 2018 at 11:43 AM Chin U. Kim  wrote:

> Thanks Mark, that is indeed the cause of the issue.
> Fixed!
>
> By chance do you know what file needs to be edited for the default
> messages that the Dspace system sends to it's users like for a password
> change?
>
> Best,
> Chin
>
> On Wednesday, November 14, 2018 at 9:09:24 AM UTC-5, Mark H. Wood wrote:
>>
>> On Tuesday, November 13, 2018 at 1:55:04 PM UTC-5, Chin U. Kim wrote:
>>>
>>> Connection refused (Connection refused)
>>> Go to DSpace home
>>>
>>> Please contact the site administrator if you wish to report this error.
>>> If possible, please provide details about what you were doing at the time
>>> this error occurred.
>>>
>>> Contact site administrator || Show underlying error stack
>>>
>>>
>>> Java stacktrace:
>>> java.net.ConnectException: Connection refused (Connection refused)
>>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>>> at java.net
>>> .AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
>>> at java.net
>>> .AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
>>> at java.net
>>> .AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>>> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>>> at java.net.Socket.connect(Socket.java:589)
>>> at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
>>> at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
>>> at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:321)
>>> at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:211)
>>> at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927)
>>> at
>>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
>>> at javax.mail.Service.connect(Service.java:274)
>>> at javax.mail.Service.connect(Service.java:91)
>>> at javax.mail.Service.connect(Service.java:76)
>>> at javax.mail.Transport.send(Transport.java:94)
>>> at javax.mail.Transport.send(Transport.java:48)
>>> at org.dspace.core.Email.send(Email.java:360)
>>>
>>>
>>
>> The error occurs when DSpace tries to send a password reset email.  It
>> cannot connect to the configured mail service.  The configured host exists
>> and is running but refused connection from your DSpace host on the
>> configured port. I would check the values of mail.server, mail.server.port,
>> and (if the mail service requires credentials) mail.server.username and
>> mail.server.password.  You may find 'bin/dspace test-email' useful for
>> testing changes to these values.
>>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> 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.
>


-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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.


[dspace-tech] Re: Connection refused msg when attempting to reset password for another user.

2018-11-27 Thread Chin U. Kim
Thanks Mark, that is indeed the cause of the issue.
Fixed!

By chance do you know what file needs to be edited for the default messages 
that the Dspace system sends to it's users like for a password change?

Best,
Chin

On Wednesday, November 14, 2018 at 9:09:24 AM UTC-5, Mark H. Wood wrote:
>
> On Tuesday, November 13, 2018 at 1:55:04 PM UTC-5, Chin U. Kim wrote:
>>
>> Connection refused (Connection refused)
>> Go to DSpace home
>>
>> Please contact the site administrator if you wish to report this error. 
>> If possible, please provide details about what you were doing at the time 
>> this error occurred.
>>
>> Contact site administrator || Show underlying error stack
>>
>>
>> Java stacktrace: 
>> java.net.ConnectException: Connection refused (Connection refused)
>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>> at 
>> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
>> at 
>> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
>> at 
>> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
>> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>> at java.net.Socket.connect(Socket.java:589)
>> at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
>> at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
>> at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:321)
>> at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:211)
>> at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927)
>> at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
>> at javax.mail.Service.connect(Service.java:274)
>> at javax.mail.Service.connect(Service.java:91)
>> at javax.mail.Service.connect(Service.java:76)
>> at javax.mail.Transport.send(Transport.java:94)
>> at javax.mail.Transport.send(Transport.java:48)
>> at org.dspace.core.Email.send(Email.java:360)
>>
>>
>
> The error occurs when DSpace tries to send a password reset email.  It 
> cannot connect to the configured mail service.  The configured host exists 
> and is running but refused connection from your DSpace host on the 
> configured port. I would check the values of mail.server, mail.server.port, 
> and (if the mail service requires credentials) mail.server.username and 
> mail.server.password.  You may find 'bin/dspace test-email' useful for 
> testing changes to these values.
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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.


[dspace-tech] Re: Connection refused msg when attempting to reset password for another user.

2018-11-14 Thread Mark H. Wood
On Tuesday, November 13, 2018 at 1:55:04 PM UTC-5, Chin U. Kim wrote:
>
> Connection refused (Connection refused)
> Go to DSpace home
>
> Please contact the site administrator if you wish to report this error. If 
> possible, please provide details about what you were doing at the time this 
> error occurred.
>
> Contact site administrator || Show underlying error stack
>
>
> Java stacktrace: 
> java.net.ConnectException: Connection refused (Connection refused)
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at 
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
> at 
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
> at 
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> at java.net.Socket.connect(Socket.java:589)
> at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
> at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
> at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:321)
> at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:211)
> at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927)
> at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
> at javax.mail.Service.connect(Service.java:274)
> at javax.mail.Service.connect(Service.java:91)
> at javax.mail.Service.connect(Service.java:76)
> at javax.mail.Transport.send(Transport.java:94)
> at javax.mail.Transport.send(Transport.java:48)
> at org.dspace.core.Email.send(Email.java:360)
>
>

The error occurs when DSpace tries to send a password reset email.  It 
cannot connect to the configured mail service.  The configured host exists 
and is running but refused connection from your DSpace host on the 
configured port. I would check the values of mail.server, mail.server.port, 
and (if the mail service requires credentials) mail.server.username and 
mail.server.password.  You may find 'bin/dspace test-email' useful for 
testing changes to these values.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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.