Skip to Content
Menu
This question has been flagged
2554 Views

RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

File "/cloudclusters/odoo/odoo/addons/mail/models/mail_mail.py", line 294, in send

smtp_session = self.env['ir.mail_server'].connect(mail_server_id=mail_server_id, smtp_from=smtp_from)

File "/cloudclusters/odoo/odoo/addons/base/models/ir_mail_server.py", line 300, in connect

connection = smtplib.SMTP(smtp_server, smtp_port, timeout=SMTP_TIMEOUT)

File "/usr/lib/python3.7/smtplib.py", line 251, in __init__

(code, msg) = self.connect(host, port)

File "/usr/lib/python3.7/smtplib.py", line 336, in connect

self.sock = self._get_socket(host, port, self.timeout)

File "/usr/lib/python3.7/smtplib.py", line 307, in _get_socket

self.source_address)

File "/cloudclusters/odoo/venv/lib/python3.7/site-packages/gevent/socket.py", line 96, in create_connection

sock.connect(sa)

File "/cloudclusters/odoo/venv/lib/python3.7/site-packages/gevent/_socket3.py", line 421, in connect

raise error(result, strerror(result))

OSError: [Errno 99] Cannot assign requested address



The above exception was the direct cause of the following exception:



Traceback (most recent call last):

File "/cloudclusters/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

result = request.dispatch()

File "/cloudclusters/odoo/odoo/http.py", line 687, in dispatch

result = self._call_function(**self.params)

File "/cloudclusters/odoo/odoo/http.py", line 359, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/cloudclusters/odoo/odoo/service/model.py", line 94, in wrapper

return f(dbname, *args, **kwargs)

File "/cloudclusters/odoo/odoo/http.py", line 348, in checked_call

result = self.endpoint(*a, **kw)

File "/cloudclusters/odoo/odoo/http.py", line 916, in __call__

return self.method(*args, **kw)

File "/cloudclusters/odoo/odoo/http.py", line 535, in response_wrap

response = f(*args, **kw)

File "/cloudclusters/odoo/odoo/addons/web/controllers/main.py", line 1339, in call_button

action = self._call_kw(model, method, args, kwargs)

File "/cloudclusters/odoo/odoo/addons/web/controllers/main.py", line 1327, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "/cloudclusters/odoo/odoo/api.py", line 464, in call_kw

result = _call_kw_multi(method, model, args, kwargs)

File "/cloudclusters/odoo/odoo/api.py", line 451, in _call_kw_multi

result = method(recs, *args, **kwargs)

File "/cloudclusters/odoo/odoo/addons/auth_signup/models/res_users.py", line 202, in action_reset_password

template.send_mail(user.id, force_send=force_send, raise_exception=True, email_values=email_values)

File "/cloudclusters/odoo/odoo/addons/mail/models/mail_template.py", line 307, in send_mail

mail.send(raise_exception=raise_exception)

File "/cloudclusters/odoo/odoo/addons/mail/models/mail_mail.py", line 299, in send

raise MailDeliveryException(_('Unable to connect to SMTP Server'), exc)

Exception



The above exception was the direct cause of the following exception:



Traceback (most recent call last):

File "/cloudclusters/odoo/odoo/http.py", line 643, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/cloudclusters/odoo/odoo/http.py", line 301, in _handle_exception

raise exception.with_traceback(None) from new_cause


Avatar
Discard

are you entering email? for user login?

Related Posts Replies Views Activity
1
Aug 24
260
1
Jul 24
555
2
Aug 24
2504
1
Sep 24
552
1
Jan 24
340