Skip to Content
Menu
This question has been flagged
1 Reply
2002 Views

Hi,

Odoo is installed on server hosting multiple domains. All domains are https enabled whereas I can access Odoo via http only with error:


2022-12-05 10:15:08,644 871156 INFO odooprd werkzeug:  - - [05/Dec/2022 10:15:08] "POST /web/dataset/call_kw/web_tour.tour/get_consumed_tours HTTP/1.1" 200 - 2 0.001 0.005
2022-12-05 10:15:14,014 871156 ERROR ? werkzeug:  - - [05/Dec/2022 10:15:14] code 400, message Bad request version ('eÌbå\x0eØ\x10à\x05O\x00"\x13\x01\x13\x03\x13\x02À+À/̨̩À,À0À') - - -
2022-12-05 10:15:14,015 871156 INFO ? werkzeug:  - - [05/Dec/2022 10:15:14] "ü¡â �â
Cºü�ï�©
j«:¹g��)Ê8Ð%J ûÝ}ÿáì/éå�s"Ë×A`
EKeÌbåØàO"À+À/̨̩À,À0À" HTTPStatus.BAD_REQUEST - - - -

how to resolve the issue with https access? Note - http is no-go for accessing Odoo

 

Avatar
Discard
Best Answer

The error message you provided suggests that you are trying to access Odoo using the http protocol, but the server is configured for https.

To resolve this issue and access Odoo using https, you will need to configure your server to support https. Here are the general steps you can follow:

  1. Obtain an SSL certificate: You will need to obtain a valid SSL certificate for your domain. You can do this by purchasing a certificate from a trusted certificate authority, or by using a free certificate from Let's Encrypt.

  2. Configure your web server: Once you have the certificate, you will need to configure your web server to use it. The process will vary depending on the web server you are using. You may need to update your configuration file, and add the SSL certificate and the private key.

  3. Update Odoo configuration: After configuring the web server to use https, you will need to update the Odoo configuration to reflect the changes. You will need to update the server_wide_modules list in the config file to include web_settings_dashboard and web_advanced_settings. Then, you will have to update the web.base.url setting to use https instead of http.

  4. Test your setup: After making the above changes, you should test your setup by accessing the Odoo server using https. You should be able to access the Odoo server without any error messages.

Please note that the exact steps may vary depending on your specific setup, including the version of Odoo, the operating system, and the web server you are using. You may need to consult the documentation or seek help from an experienced system administrator.

Avatar
Discard