Help

0

Odoo13 issue with Cache - Internal Server Error 500

Avatar
Varinder Kaur

The error is generated only when the website is being opened up from Go To Website button from admin console after surfing.

Using Nginx as proxy server on port 443 and Odoo on default port 8069.

2 Comments
Avatar
Discard

Please post error logs for more details.

Avatar
Varinder Kaur
-

I have post error logs of odoo. Please check below

1 Answer
0
Avatar
Varinder Kaur
Best Answer

2019-12-04 08:16:45,485 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:45] "POST /longpolling/poll HTTP/1.0" 200 - 29 0.028 50.575
2019-12-04 08:16:46,530 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:46] "GET /web HTTP/1.0" 200 - 831 0.505 0.873
2019-12-04 08:16:46,701 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:46] "GET /web/content/2990-e1acdc1/web.assets_common.css HTTP/1.0" 200 - 5 0.008 0.020
2019-12-04 08:16:46,722 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:46] "GET /web/content/2991-d2d00a3/web.assets_backend.css HTTP/1.0" 200 - 5 0.009 0.027
2019-12-04 08:16:46,747 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:46] "GET /web/content/2992-e1acdc1/web.assets_common.js HTTP/1.0" 200 - 5 0.005 0.030
2019-12-04 08:16:46,786 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:46] "GET /web/webclient/load_menus/b3766246b34e03f1ca0eb8ab61ada2e6f60f84ae HTTP/1.0" 200 - 1 0.000 0.010
2019-12-04 08:16:46,791 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:46] "POST /longpolling/poll HTTP/1.0" 200 - 26 0.014 50.024
2019-12-04 08:16:46,792 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:46] "GET /web/content/2993-d2d00a3/web.assets_backend.js HTTP/1.0" 200 - 5 0.006 0.046
2019-12-04 08:16:49,188 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:49] "POST /longpolling/poll HTTP/1.0" 200 - 23 0.012 50.018
2019-12-04 08:16:49,286 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:49] "POST /longpolling/poll HTTP/1.0" 200 - 23 0.014 50.023
2019-12-04 08:16:50,096 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:50] "POST /longpolling/poll HTTP/1.0" 200 - 23 0.016 50.021
2019-12-04 08:16:50,236 22207 INFO odoo13 werkzeug: 122.173.143.212 - - [04/Dec/2019 08:16:50] "POST /longpolling/poll HTTP/1.1" 200 - 25 0.014 50.045
2019-12-04 08:16:53,168 22207 INFO odoo13 werkzeug: 122.173.143.212 - - [04/Dec/2019 08:16:53] "POST /longpolling/poll HTTP/1.1" 200 - 23 0.012 50.018
2019-12-04 08:16:54,051 22207 INFO odoo13 werkzeug: 124.253.236.226 - - [04/Dec/2019 08:16:54] "POST /longpolling/poll HTTP/1.1" 200 - 23 0.013 50.020
2019-12-04 08:16:55,272 22207 INFO ? werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:55] "GET /web/static/src/img/user_menu_avatar.png HTTP/1.0" 200 - - - -
2019-12-04 08:16:55,345 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:55] "POST /web/dataset/call_kw/res.users/systray_get_activities HTTP/1.0" 200 - 26 0.063 0.044
2019-12-04 08:16:55,353 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:55] "POST /mail/init_messaging HTTP/1.0" 200 - 71 0.114 0.057
2019-12-04 08:16:55,464 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:55] "GET /web/image?model=res.users&field=image_128&id=22 HTTP/1.0" 404 - 20 0.048 0.107
2019-12-04 08:16:55,469 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:55] "POST /web/action/load HTTP/1.0" 200 - 55 0.084 0.045
2019-12-04 08:16:55,720 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:55] "POST /web/dataset/call_kw/note.note/load_views HTTP/1.0" 200 - 58 0.035 0.071
2019-12-04 08:16:55,866 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:55] "POST /longpolling/poll HTTP/1.0" 200 - 23 0.012 50.030
2019-12-04 08:16:55,954 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:55] "POST /web/dataset/call_kw/note.note/web_read_group HTTP/1.0" 200 - 13 0.012 0.011
2019-12-04 08:16:55,963 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:55] "POST /web/dataset/call_kw/note.note/read_progress_bar HTTP/1.0" 200 - 3 0.003 0.009
2019-12-04 08:16:56,090 22207 INFO ? werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:56] "GET /base/static/img/avatar.png HTTP/1.0" 200 - - - -
2019-12-04 08:16:56,174 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:56] "POST /calendar/notify HTTP/1.0" 200 - 3 0.005 0.008
2019-12-04 08:16:57,889 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:16:57] "POST /longpolling/poll HTTP/1.0" 200 - 23 0.015 50.024
2019-12-04 08:17:02,744 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:02] "POST /longpolling/poll HTTP/1.0" 200 - 23 0.017 50.047
2019-12-04 08:17:02,755 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:02] "POST /web/action/load HTTP/1.0" 200 - 20 0.020 0.019
2019-12-04 08:17:02,893 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:02] "POST /web/action/run HTTP/1.0" 200 - 21 0.024 0.019
2019-12-04 08:17:02,985 22207 INFO ? werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:02] "GET /web/static/lib/Chart/Chart.js HTTP/1.0" 200 - - - -
2019-12-04 08:17:04,127 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:04] "POST /website/fetch_dashboard_data HTTP/1.0" 200 - 54 0.083 0.068
2019-12-04 08:17:04,251 22207 INFO ? werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:04] "GET /website_sale/static/src/img/website_sale_dashboard_sales_demo.png HTTP/1.0" 200 - - - -
2019-12-04 08:17:04,255 22207 INFO ? werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:04] "GET /website/static/src/img/website_dashboard_visit_demo.png HTTP/1.0" 200 - - - -
2019-12-04 08:17:04,878 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:04] "POST /longpolling/poll HTTP/1.0" 200 - 8 0.005 50.017
2019-12-04 08:17:05,149 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:05] "POST /longpolling/poll HTTP/1.0" 200 - 23 0.013 50.023
2019-12-04 08:17:06,958 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:06] "GET /?fw=1 HTTP/1.0" 200 - 563 0.359 1.216
2019-12-04 08:17:07,199 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:07] "GET /web/image/1776/background_slide2.jpg HTTP/1.0" 304 - 5 0.002 0.013
2019-12-04 08:17:07,533 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:07] "POST /website/update_visitor_timezone HTTP/1.0" 200 - 6 0.005 0.012
2019-12-04 08:17:07,679 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:07] "POST /web/dataset/call_kw/ir.ui.view/render_template HTTP/1.0" 200 - 55 0.045 0.088
2019-12-04 08:17:07,845 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:07] "POST /web/dataset/call_kw HTTP/1.0" 200 - 11 0.009 0.018
2019-12-04 08:17:07,939 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:07] "POST /web/dataset/call_kw/ir.ui.view/render_template HTTP/1.0" 200 - 37 0.027 0.065
2019-12-04 08:17:11,809 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:11] "GET /web/session/logout?redirect=/ HTTP/1.0" 303 - 1 0.000 0.008
2019-12-04 08:17:12,732 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:12] "GET / HTTP/1.0" 200 - 215 0.149 0.655
2019-12-04 08:17:13,017 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:13] "GET /web/image/1776/background_slide2.jpg HTTP/1.0" 304 - 6 0.003 0.016
2019-12-04 08:17:13,215 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:13] "POST /website/update_visitor_timezone HTTP/1.0" 200 - 3 0.001 0.008
2019-12-04 08:17:13,786 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:13] "POST /longpolling/im_status HTTP/1.0" 200 - 5 0.004 0.009
2019-12-04 08:17:14,695 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:14] "GET /web/login HTTP/1.0" 200 - 73 0.053 0.122
2019-12-04 08:17:15,045 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:15] "POST /website/update_visitor_timezone HTTP/1.0" 200 - 3 0.002 0.008
2019-12-04 08:17:23,575 22207 INFO odoo13 odoo.addons.base.models.res_users: Login successful for db:odoo13 login:sandeep.kumar@ldh.01s.in from 127.0.0.1
2019-12-04 08:17:23,592 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:23] "POST /web/login HTTP/1.0" 303 - 34 0.019 0.248
2019-12-04 08:17:24,605 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:24] "GET /web HTTP/1.0" 200 - 574 0.328 0.390
2019-12-04 08:17:24,742 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:24] "GET /web/webclient/load_menus/64c5706e9b04c1f8208ff5393d53c5fa234bdd77 HTTP/1.0" 200 - 1 0.000 0.009
2019-12-04 08:17:25,076 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "GET /web/image/res.company/1/favicon/ HTTP/1.0" 200 - 15 0.010 0.018
2019-12-04 08:17:25,165 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "POST /mail/init_messaging HTTP/1.0" 200 - 63 0.042 0.045
2019-12-04 08:17:25,400 22207 INFO ? werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "GET /web/static/src/img/user_menu_avatar.png HTTP/1.0" 200 - - - -
2019-12-04 08:17:25,440 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "POST /web/dataset/call_kw/res.users/systray_get_activities HTTP/1.0" 200 - 24 0.032 0.027
2019-12-04 08:17:25,473 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "POST /web/dataset/call_kw/res.users/read HTTP/1.0" 200 - 2 0.010 0.015
2019-12-04 08:17:25,541 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "GET /web/image?model=res.users&field=image_128&id=74 HTTP/1.0" 404 - 20 0.041 0.079
2019-12-04 08:17:25,606 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "POST /calendar/notify HTTP/1.0" 200 - 3 0.010 0.013
2019-12-04 08:17:25,610 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "POST /web/action/load HTTP/1.0" 200 - 15 0.027 0.019
2019-12-04 08:17:25,755 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "POST /web/dataset/call_kw/mail.message/load_views HTTP/1.0" 200 - 32 0.017 0.032
2019-12-04 08:17:25,909 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:25] "POST /web/dataset/call_kw/ir.filters/get_filters HTTP/1.0" 200 - 11 0.005 0.012
2019-12-04 08:17:26,046 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:26] "POST /web/dataset/call_kw/mail.message/message_fetch HTTP/1.0" 200 - 8 0.006 0.013
2019-12-04 08:17:29,778 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:29] "POST /web/action/load HTTP/1.0" 200 - 19 0.013 0.018
2019-12-04 08:17:29,901 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:29] "POST /web/action/run HTTP/1.0" 200 - 18 0.013 0.018
2019-12-04 08:17:30,052 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:30] "POST /website/fetch_dashboard_data HTTP/1.0" 200 - 23 0.016 0.020
2019-12-04 08:17:32,156 22207 WARNING odoo13 odoo.addons.http_routing.models.ir_http: 403 Forbidden:

Traceback (most recent call last):
File "/opt/odoo/odoo/odoo/addons/base/models/ir_http.py", line 229, in _dispatch
result = request.dispatch()
File "/opt/odoo/odoo/odoo/http.py", line 803, in dispatch
r = self._call_function(**self.params)
File "/opt/odoo/odoo/odoo/http.py", line 345, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo/odoo/service/model.py", line 93, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo/odoo/http.py", line 341, in checked_call
result.flatten()
File "/opt/odoo/odoo/odoo/http.py", line 1230, in flatten
self.response.append(self.render())
File "/opt/odoo/odoo/odoo/http.py", line 1223, in render
return env["ir.ui.view"].render_template(self.template, self.qcontext)
File "/opt/odoo/odoo/odoo/addons/base/models/ir_ui_view.py", line 1154, in render_template
return self.browse(self.get_view_id(template)).render(values, engine)
File "/opt/odoo/odoo/addons/website/models/ir_ui_view.py", line 335, in render
return super(View, self).render(values, engine=engine, minimal_qcontext=minimal_qcontext)
File "/opt/odoo/odoo/addons/web_editor/models/ir_ui_view.py", line 25, in render
return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
File "/opt/odoo/odoo/odoo/addons/base/models/ir_ui_view.py", line 1159, in render
qcontext = dict() if minimal_qcontext else self._prepare_qcontext()
File "/opt/odoo/odoo/addons/website/models/ir_ui_view.py", line 342, in _prepare_qcontext
qcontext = super(View, self)._prepare_qcontext()
File "/opt/odoo/odoo/addons/http_routing/models/ir_ui_view.py", line 13, in _prepare_qcontext
qcontext = super(IrUiView, self)._prepare_qcontext()
File "/opt/odoo/odoo/odoo/addons/base/models/ir_ui_view.py", line 1172, in _prepare_qcontext
res_company=self.env.company.sudo(),
File "/opt/odoo/odoo/odoo/tools/func.py", line 24, in __get__
value = self.fget(obj)
File "/opt/odoo/odoo/odoo/api.py", line 569, in company
raise AccessError(_("Access to unauthorized or invalid companies."))
odoo.exceptions.AccessError: ('Access to unauthorized or invalid companies.', None)

2019-12-04 08:17:32,168 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:32] "GET /?fw=1 HTTP/1.0" 500 - 17 0.012 0.023
2019-12-04 08:17:32,175 22207 ERROR odoo13 werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/werkzeug/serving.py", line 270, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python3.6/site-packages/werkzeug/serving.py", line 258, in execute
application_iter = app(environ, start_response)
File "/opt/odoo/odoo/odoo/service/server.py", line 414, in app
return self.app(e, s)
File "/opt/odoo/odoo/odoo/service/wsgi_server.py", line 142, in application
return application_unproxied(environ, start_response)
File "/opt/odoo/odoo/odoo/service/wsgi_server.py", line 117, in application_unproxied
result = odoo.http.root(environ, start_response)
File "/opt/odoo/odoo/odoo/http.py", line 1281, in __call__
return self.dispatch(environ, start_response)
File "/opt/odoo/odoo/odoo/http.py", line 1251, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python3.6/site-packages/werkzeug/wsgi.py", line 766, in __call__
return self.app(environ, start_response)
File "/opt/odoo/odoo/odoo/http.py", line 1450, in dispatch
result = ir_http._dispatch()
File "/opt/odoo/odoo/addons/website_sale/models/ir_http.py", line 15, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/opt/odoo/odoo/addons/website/models/ir_http.py", line 168, in _dispatch
response = super(Http, cls)._dispatch()
File "/opt/odoo/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
return super(Http, cls)._dispatch()
File "/opt/odoo/odoo/addons/web_editor/models/ir_http.py", line 22, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/opt/odoo/odoo/addons/utm/models/ir_http.py", line 26, in _dispatch
response = super(IrHttp, cls)._dispatch()
File "/opt/odoo/odoo/addons/http_routing/models/ir_http.py", line 505, in _dispatch
result = super(IrHttp, cls)._dispatch()
File "/opt/odoo/odoo/odoo/addons/base/models/ir_http.py", line 233, in _dispatch
return cls._handle_exception(e)
File "/opt/odoo/odoo/addons/utm/models/ir_http.py", line 31, in _handle_exception
response = super(IrHttp, cls)._handle_exception(exc)
File "/opt/odoo/odoo/addons/http_routing/models/ir_http.py", line 631, in _handle_exception
html = env['ir.ui.view'].render_template('http_routing.http_error', values)
File "/opt/odoo/odoo/odoo/addons/base/models/ir_ui_view.py", line 1154, in render_template
return self.browse(self.get_view_id(template)).render(values, engine)
File "/opt/odoo/odoo/addons/website/models/ir_ui_view.py", line 335, in render
return super(View, self).render(values, engine=engine, minimal_qcontext=minimal_qcontext)
File "/opt/odoo/odoo/addons/web_editor/models/ir_ui_view.py", line 25, in render
return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)
File "/opt/odoo/odoo/odoo/addons/base/models/ir_ui_view.py", line 1159, in render
qcontext = dict() if minimal_qcontext else self._prepare_qcontext()
File "/opt/odoo/odoo/addons/website/models/ir_ui_view.py", line 342, in _prepare_qcontext
qcontext = super(View, self)._prepare_qcontext()
File "/opt/odoo/odoo/addons/http_routing/models/ir_ui_view.py", line 13, in _prepare_qcontext
qcontext = super(IrUiView, self)._prepare_qcontext()
File "/opt/odoo/odoo/odoo/addons/base/models/ir_ui_view.py", line 1172, in _prepare_qcontext
res_company=self.env.company.sudo(),
File "/opt/odoo/odoo/odoo/tools/func.py", line 24, in __get__
value = self.fget(obj)
File "/opt/odoo/odoo/odoo/api.py", line 569, in company
raise AccessError(_("Access to unauthorized or invalid companies."))
odoo.exceptions.AccessError: ('Access to unauthorized or invalid companies.', None) - - -
2019-12-04 08:17:32,296 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:32] "GET /favicon.ico HTTP/1.0" 200 - 6 0.002 0.009
2019-12-04 08:17:35,666 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:35] "POST /longpolling/poll HTTP/1.0" 200 - 8 0.018 50.035
2019-12-04 08:17:37,804 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:37] "POST /longpolling/poll HTTP/1.0" 200 - 8 0.005 50.047
2019-12-04 08:17:40,275 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:40] "POST /longpolling/poll HTTP/1.0" 200 - 8 0.005 50.017
2019-12-04 08:17:40,958 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:40] "POST /longpolling/poll HTTP/1.0" 200 - 8 0.007 50.014
2019-12-04 08:17:41,083 22207 INFO odoo13 werkzeug: 127.0.0.1 - - [04/Dec/2019 08:17:41] "POST /longpolling/poll HTTP/1.0" 200 - 8 0.005 50.017
2019-12-04 08:17:41,286 22207 INFO odoo13 werkzeug: 122.173.143.212 - - [04/Dec/2019 08:17:41] "POST /longpolling/poll HTTP/1.1" 200 - 8 0.005 50.017

Avatar
Discard