Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Insecure translations

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
translationshttpshttpajaxOdoo13
4 Răspunsuri
15831 Vizualizări
Imagine profil
Kolda

Odoo 13

I loaded german translations. Website menu items are not loaded for inner languages than default. 

After "Inspect" in "Chrome" I got following error:

Mixed Content: The page at 'https://MY_DOMAIN/de/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://MY_DOMAIN/de/website/translations/40a3e17d54c83f1fc09736b160fc4e6c395f3fba?mods=&lang='. This request has been blocked; the content must be served over HTTPS.

Where make sending translations over httpS?

I changed Technical --> Parameters --> System Parameters web.base.url to https:// and created web.base.url.freeze to True. 

Moreover in Odoo.conf I set proxy_mode = True
I added proxy_set_header X-Forwarded-Host $host; to MY_DOMAIN configuration nginx file

2
Imagine profil
Abandonează
Imagine profil
Samo Arko
Cel mai bun răspuns

For me it worked to add "add_header Content-Security-Policy upgrade-insecure-requests;" into nginx configuration. Still testing if everything works. But it's for odoo 12.

2
Imagine profil
Abandonează
Mustafa Bashier

Thank you soc much

Imagine profil
Daniel Lagin
Cel mai bun răspuns

Hi,

1. Technical --> Parameters --> System Parameters web.base.url to https:// and created web.base.url.freeze to True.

2. in Odoo.conf set proxy_mode = True

3. Set up nginx conf --> add correct headers

server {

     listen [::]:80;

     listen 80;

     ssl off;

     server_name odoo.implemento.sk;

     return 301 https://$host$request_uri;

     rewrite ^(.*) https://$host$1 permanent;

}


server {

    listen [::]:443 ssl http2;

    listen 443 ssl http2;

    server_name odoo.implemento.sk;


    # RSA certificate

    ssl on;

    ssl_certificate /etc/letsencrypt/live/odoo.implemento.sk/fullchain.pem; # managed by Certbot

    ssl_certificate_key /etc/letsencrypt/live/odoo.implemento.sk/privkey.pem; # managed by Certbot

    

    proxy_read_timeout 600s;

    client_max_body_size 512M;

    access_log  /var/log/nginx/odoo.odoo-access.log;

    error_log /var/log/nginx/odoo.odoo-error.log;


    location /longpolling {

        proxy_pass http://127.0.0.1:8072;

    }


    location / {

        proxy_pass http://127.0.0.1:8069;

        proxy_cookie_path / "/; secure; HttpOnly;";

        add_header Strict-Transport-Security "max-age=315360000000";

        add_header X-Frame-Options "SAMEORIGIN";

        

        proxy_set_header Host $host;

        proxy_set_header X-Real-IP $remote_addr;

        proxy_set_header X-Forwarded-Host $host;

        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        proxy_set_header X-Forwarded-Proto $scheme;


        proxy_http_version 1.1;

        proxy_request_buffering off;


        satisfy any;

        allow 127.0.0.1;

        deny all;


        auth_basic "Protected area";

        auth_basic_user_file /etc/apache2/.htpasswd;


        # common gzip

        gzip_types text/css text/scss text/plain text/xml application/xml application/json application/javascript;

        gzip on;

    }

}

1
Imagine profil
Abandonează
Imagine profil
Bastiaan
Cel mai bun răspuns

I solved this problem in Odoo 14 by setting these headers in my Apache reverse proxy:

RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}

0
Imagine profil
Abandonează
Imagine profil
lukas limited
Cel mai bun răspuns

Hi Kolda, were you able to resolve this problem?

The translations file is only being loaded over http:// for non-logged-in users. After log in, it is correctly loaded over https:// . Running Odoo 13 from official Docker image.

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Translate string from init hook
translations Odoo13 hooks
Imagine profil
0
dec. 24
1547
How to translate text send from controller to js via xhr response?
javascript translations controllers ajax
Imagine profil
Imagine profil
2
aug. 24
2511
odoo error acces https
https http odoo10 SSL
Imagine profil
0
dec. 22
3015
How Redirect HTTP to HTTPS or remove HTTP version. And How use just "www" version Rezolvat
http_server https redirect http
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
dec. 23
26572
Can openERP 6.1 be accessed by (http://erp.mydomain.com) instead of (https) ?
port https http 8069
Imagine profil
Imagine profil
Imagine profil
3
mar. 15
8039
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now