This question has been flagged
2 Replies
6759 Views

I am getting this message frequently..

Connection Lost.. Trying to Reconnect.

Few seconds later.. as message follows

Connection restored. You are back online.

What may go wrong. in my config file..

http_port = 8069
logfile = /var/log/odoo/odoo-server.log
addons_path=/odoo/odoo-server/addons,/odoo/custom/addons
proxy_mode = True
xmlrpc_interface = 127.0.0.1
netrpc_interface = 127.0.0.1
limit_memory_hard = 1677721600
limit_memory_soft = 629145600
limit_request = 8192
limit_time_cpu = 600
limit_time_real = 1200
max_cron_threads = 1
workers = 8
---

My log file for this particular issue --

2021-02-17 05:00:09,723 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:09] "GET /base_setup/static/src/img/app_store.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:09,905 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:09] "POST /base_setup/data HTTP/1.0" 200 - 4 0.002 0.005
2021-02-17 05:00:09,917 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:09] "POST /base_setup/demo_active HTTP/1.0" 200 - 2 0.001 0.004
2021-02-17 05:00:10,060 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:10] "POST /web/webclient/version_info HTTP/1.0" 200 - 1 0.000 0.003
2021-02-17 05:00:10,251 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:10] "GET /base/static/description/settings.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:10,256 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:10] "GET /crm/static/description/icon.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:10,257 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:10] "GET /stock/static/description/icon.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:10,261 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:10] "GET /mrp/static/description/icon.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:10,267 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:10] "GET /hr/static/description/icon.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:10,715 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:10] "POST /calendar/notify HTTP/1.0" 200 - 3 0.002 0.005
2021-02-17 05:00:32,615 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:32] "GET /web HTTP/1.0" 200 - 16 0.012 0.037
2021-02-17 05:00:33,062 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:33] "GET /web/content/74-0595c13/web.assets_backend.js HTTP/1.0" 200 - 2 0.002 0.027
2021-02-17 05:00:33,077 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:33] "GET /web/content/48-41f7ef7/web.assets_backend_prod_only.js HTTP/1.0" 200 - 2 0.015 0.027
2021-02-17 05:00:33,078 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:33] "GET /web/content/73-ebcb0d0/web.assets_common.js HTTP/1.0" 200 - 2 0.002 0.044
2021-02-17 05:00:36,544 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:36] "GET /web/webclient/load_menus/0f60cc984c3f996bb1a49a5db2a5e63576205508d3034eb41d1fcf2117020b12 HTTP/1.0" 200 - 1 0.000 0.007
2021-02-17 05:00:37,368 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:37] "GET /web/webclient/qweb/138f9d66a4e74168d09131f129b35e4affceb1246638106b9b199b69cba9b633?mods=base,web,base_setup,bus,web_tour,mail,sales_team,calendar,resource,utm,contacts,web_editor,http_routing,auth_signup,portal,digest,crm,product,barcodes,stock,mrp,hr,auth_totp,auth_totp_portal,base_import,crm_iap_lead,hr_org_chart,iap,mail_bot,partner_autocomplete,sms,snailmail,web_kanban_gauge,web_unsplash HTTP/1.0" 200 - 1 0.000 0.056
2021-02-17 05:00:38,076 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:38] "GET /web/webclient/translations/5227498d9df4b403b0244c75aac21e0c091e50ce?mods=base%2Cweb%2Cbase_setup%2Cbus%2Cweb_tour%2Cmail%2Csales_team%2Ccalendar%2Cresource%2Cutm%2Ccontacts%2Cweb_editor%2Chttp_routing%2Cauth_signup%2Cportal%2Cdigest%2Ccrm%2Cproduct%2Cbarcodes%2Cstock%2Cmrp%2Chr%2Cauth_totp%2Cauth_totp_portal%2Cbase_import%2Ccrm_iap_lead%2Chr_org_chart%2Ciap%2Cmail_bot%2Cpartner_autocomplete%2Csms%2Csnailmail%2Cweb_kanban_gauge%2Cweb_unsplash&lang=en_US HTTP/1.0" 200 - 3 0.002 0.007
2021-02-17 05:00:38,228 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:38] "GET /web/static/src/img/user_menu_avatar.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:38,248 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:38] "POST /mail/init_messaging HTTP/1.0" 200 - 46 0.036 0.042
2021-02-17 05:00:38,264 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:38] "POST /web/dataset/call_kw/res.users/systray_get_activities HTTP/1.0" 200 - 5 0.008 0.018
2021-02-17 05:00:38,264 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:38] "GET /web/image?model=res.users&field=image_128&id=2 HTTP/1.0" 200 - 6 0.011 0.014
2021-02-17 05:00:38,629 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:38] "GET /web/image/res.company/1/favicon/ HTTP/1.0" 200 - 11 0.006 0.011
2021-02-17 05:00:38,719 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:38] "POST /web/action/load HTTP/1.0" 200 - 11 0.006 0.015
2021-02-17 05:00:39,130 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:39] "POST /web/dataset/call_kw/res.config.settings/load_views HTTP/1.0" 200 - 11 0.007 0.114
2021-02-17 05:00:39,891 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:39] "POST /web/dataset/call_kw/res.config.settings/onchange HTTP/1.0" 200 - 342 0.119 0.108
2021-02-17 05:00:40,145 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:40] "POST /web/dataset/call_kw/crm.lead.scoring.frequency.field/read HTTP/1.0" 200 - 3 0.002 0.006
2021-02-17 05:00:40,695 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:40] "GET /base_setup/static/src/img/google_play.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:40,709 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:40] "GET /base_setup/static/src/img/app_store.png HTTP/1.0" 304 - - - -
2021-02-17 05:00:40,855 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:40] "POST /base_setup/data HTTP/1.0" 200 - 4 0.002 0.004
2021-02-17 05:00:40,886 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:40] "POST /base_setup/demo_active HTTP/1.0" 200 - 2 0.001 0.006
2021-02-17 05:00:41,067 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:41] "POST /web/webclient/version_info HTTP/1.0" 200 - 1 0.000 0.005
2021-02-17 05:00:41,210 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:41] "GET /base/static/description/settings.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:41,215 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:41] "GET /crm/static/description/icon.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:41,231 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:41] "GET /stock/static/description/icon.png HTTP/1.0" 200 - - - -
2021-02-17 05:00:41,268 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:41] "GET /hr/static/description/icon.png HTTP/1.0" 304 - - - -
2021-02-17 05:00:41,416 33003 INFO Kairali werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:41] "POST /calendar/notify HTTP/1.0" 200 - 3 0.003 0.006
2021-02-17 05:00:41,655 33003 INFO ? werkzeug: 118.185.57.226 - - [17/Feb/2021 05:00:41] "GET /mrp/static/description/icon.png HTTP/1.0" 304 - - - -

 

Avatar
Discard

Did you check the web.base.url system parameter?

Best Answer

Hi,

It can be resolved by configuring workers in odoo conf file, which will speed up your odoo instance.

Solution:Fix Connection Lost and Connection Restored Error Odoo || Odoo Workers

Thanks & Regards

Avatar
Discard
Best Answer

I got this error in the V13 CE database I was testing. This error got Resolved by adding some workers to the config file. Will not be able to explain the exact cause of the problem, but it seems that this has solved the problem.

Avatar
Discard