After adding a new user on tryton localhost , I was about clicking on the button “reset password”
The error was:
Traceback (most recent call last):
File "/trytond/wsgi.py", line 104, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 47, in rpc
return methods.get(request.rpc_method, _dispatch)(
File "/trytond/wsgi.py", line 72, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 131, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 209, in _dispatch
transaction.commit()
File "/trytond/transaction.py", line 221, in commit
datamanager.tpc_vote(self)
File "/trytond/sendmail.py", line 101, in tpc_vote
self._server = get_smtp_server(self.uri)
File "/trytond/sendmail.py", line 59, in get_smtp_server
server = connector(uri.hostname, uri.port, **extra)
File "/smtplib.py", line 253, in __init__
(code, msg) = self.connect(host, port)
File "/smtplib.py", line 339, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/smtplib.py", line 308, in _get_socket
return socket.create_connection((host, port), timeout,
File "/socket.py", line 808, in create_connection
raise err
File "/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused