Trying to setup smtp service, if the smtp server does not repply odoo just fail:
2020-01-13 20:40:43,639 6999 WARNING ? odoo.service.server: Thread <Thread(odoo.service.http.request.140670566319872, started 140670566319872)> virtual real time limit (127/120s) reached.
2020-01-13 20:40:43,640 6999 INFO ? odoo.service.server: Dumping stacktrace of limit exceeding threads before reloading
2020-01-13 20:40:43,650 6999 INFO ? odoo.tools.misc:
# Thread: <Thread(odoo.service.http.request.140670566319872, started 140670566319872)> (db:sinesis) (uid:2) (url:http://192.168.3.245:8069/web/dataset/call_button)
File: "/usr/lib64/python3.6/threading.py", line 884, in _bootstrap
self._bootstrap_inner()
File: "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File: "/usr/lib64/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File: "/usr/lib64/python3.6/socketserver.py", line 654, in process_request_thread
self.finish_request(request, client_address)
File: "/usr/lib64/python3.6/socketserver.py", line 364, in finish_request
self.RequestHandlerClass(request, client_address, self)
File: "/usr/lib64/python3.6/socketserver.py", line 724, in __init__
self.handle()
File: "/opt/odoo/odoo13-venv/lib64/python3.6/site-packages/werkzeug/serving.py", line 293, in handle
rv = BaseHTTPRequestHandler.handle(self)
File: "/usr/lib64/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File: "/opt/odoo/odoo13-venv/lib64/python3.6/site-packages/werkzeug/serving.py", line 328, in handle_one_request
return self.run_wsgi()
File: "/opt/odoo/odoo13-venv/lib64/python3.6/site-packages/werkzeug/serving.py", line 270, in run_wsgi
execute(self.server.app)
File: "/opt/odoo/odoo13-venv/lib64/python3.6/site-packages/werkzeug/serving.py", line 258, in execute
application_iter = app(environ, start_response)
File: "/opt/odoo/odoo13/odoo/service/server.py", line 439, in app
return self.app(e, s)
File: "/opt/odoo/odoo13/odoo/service/wsgi_server.py", line 142, in application
return application_unproxied(environ, start_response)
File: "/opt/odoo/odoo13/odoo/service/wsgi_server.py", line 117, in application_unproxied
result = odoo.http.root(environ, start_response)
File: "/opt/odoo/odoo13/odoo/http.py", line 1281, in __call__
return self.dispatch(environ, start_response)
File: "/opt/odoo/odoo13/odoo/http.py", line 1251, in __call__
return self.app(environ, start_wrapped)
File: "/opt/odoo/odoo13-venv/lib64/python3.6/site-packages/werkzeug/wsgi.py", line 766, in __call__
return self.app(environ, start_response)
File: "/opt/odoo/odoo13/odoo/http.py", line 1450, in dispatch
result = ir_http._dispatch()
File: "/opt/odoo/odoo13/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
return super(Http, cls)._dispatch()
File: "/opt/odoo/odoo13/addons/web_editor/models/ir_http.py", line 22, in _dispatch
return super(IrHttp, cls)._dispatch()
File: "/opt/odoo/odoo13/addons/utm/models/ir_http.py", line 29, in _dispatch
response = super(IrHttp, cls)._dispatch()
File: "/opt/odoo/odoo13/addons/http_routing/models/ir_http.py", line 516, in _dispatch
result = super(IrHttp, cls)._dispatch()
File: "/opt/odoo/odoo13/odoo/addons/base/models/ir_http.py", line 229, in _dispatch
result = request.dispatch()
File: "/opt/odoo/odoo13/odoo/http.py", line 664, in dispatch
result = self._call_function(**self.params)
File: "/opt/odoo/odoo13/odoo/http.py", line 345, in _call_function
return checked_call(self.db, *args, **kwargs)
File: "/opt/odoo/odoo13/odoo/service/model.py", line 93, in wrapper
return f(dbname, *args, **kwargs)
File: "/opt/odoo/odoo13/odoo/http.py", line 338, in checked_call
result = self.endpoint(*a, **kw)
File: "/opt/odoo/odoo13/odoo/http.py", line 909, in __call__
return self.method(*args, **kw)
File: "/opt/odoo/odoo13/odoo/http.py", line 510, in response_wrap
response = f(*args, **kw)
File: "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1323, in call_button
action = self._call_kw(model, method, args, kwargs)
File: "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1311, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File: "/opt/odoo/odoo13/odoo/api.py", line 395, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File: "/opt/odoo/odoo13/odoo/api.py", line 382, in _call_kw_multi
result = method(recs, *args, **kwargs)
File: "/opt/odoo/odoo13/odoo/addons/base/models/ir_mail_server.py", line 169, in test_smtp_connection
smtp = self.connect(mail_server_id=server.id)
File: "/opt/odoo/odoo13/odoo/addons/base/models/ir_mail_server.py", line 273, in connect
connection = smtplib.SMTP(smtp_server, smtp_port, timeout=SMTP_TIMEOUT)
File: "/usr/lib64/python3.6/smtplib.py", line 251, in __init__
(code, msg) = self.connect(host, port)
File: "/usr/lib64/python3.6/smtplib.py", line 336, in connect
self.sock = self._get_socket(host, port, self.timeout)
File: "/usr/lib64/python3.6/smtplib.py", line 307, in _get_socket
self.source_address)
File: "/usr/lib64/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
2020-01-13 20:40:43,651 6999 INFO ? odoo.service.server: Initiating server reload
^C
[root@odoo odoo13]# systemctl status odoo13.service
● odoo13.service - Odoo13
Loaded: loaded (/etc/systemd/system/odoo13.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2020-01-13 14:40:43 CST; 14min ago
Process: 6999 ExecStart=/opt/odoo/odoo13-venv/bin/python3 /opt/odoo/odoo13/odoo-bin -c /etc/odoo.conf (code=exited, status=1/FAILURE)
Main PID: 6999 (code=exited, status=1/FAILURE)
Jan 10 12:51:23 odoo systemd[1]: Started Odoo13.
Jan 13 14:40:43 odoo odoo13[6999]: Warn: Can't find .pfb for face 'Times-Roman'
Jan 13 14:40:43 odoo odoo13[6999]: Traceback (most recent call last):
Jan 13 14:40:43 odoo odoo13[6999]: File "/opt/odoo/odoo13/odoo-bin", line 5, in <module>
Jan 13 14:40:43 odoo odoo13[6999]: import odoo
Jan 13 14:40:43 odoo odoo13[6999]: File "/opt/odoo/odoo13/odoo/__init__.py", line 75, in <module>
Jan 13 14:40:43 odoo odoo13[6999]: import PyPDF2
Jan 13 14:40:43 odoo odoo13[6999]: ModuleNotFoundError: No module named 'PyPDF2'
Jan 13 14:40:43 odoo systemd[1]: odoo13.service: Main process exited, code=exited, status=1/FAILURE
Jan 13 14:40:43 odoo systemd[1]: odoo13.service: Failed with result 'exit-code'.