İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

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

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

Odoo + Traefik + SSL Mixed Content Error on Editor

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
mixeddockerodoo16features
5 Cevaplar
9323 Görünümler
Avatar
astadigitalesuk

I am trying to run odoo with traefik and everything works except the the website editor which loads an iframe with an http url which breaks the mixed content rule. What I tried to fix this issue was to pass the proto header with traefik, I also set the base.url to https and set it to freeze. And I tried to allow insecure headers but nothing works and I still get an insecure frame error. So now my question is did anybody got a working config with traefik(v2) and odoo(v16) that you can share with me? I can share my config later but for some reason this post will not get submitted so I am first trying to ask this question without the code.

0
Avatar
Vazgeç
Giovanni Frino

same problem here...

José Alejandro

I'm exactly like you. Don't know how to proceed

ROQUE PEREZ

I have the same problem, no one has found the solution?

Avatar
Jort de Vreeze
En İyi Yanıt

This is probably due to a missing middleware in Traefik, which causes problems for Odoo 16. The traefik.http.middlewares.odoo-header.headers.contentSecurityPolicy=upgrade-insecure-requests​ label configures a middleware called "odoo-headers" to enforce the Content Security Policy header with the value "upgrade-insecure-requests". This header instructs the browser to upgrade any insecure HTTP requests to HTTPS before making the request. The traefik.http.routers.odoo.middlewares=odoo-headers​ label associates the "odoo" router with the "odoo-headers" middleware, which will process requests caught by the router to upgrade insecure requests. You can check out my blog post how to setup Traefik for Odoo (I have configured many Odoo instances with this configuration):  Setting up a reverse proxy for Odoo with Nginx Proxy Manager in Docker.

I hope this helps!


0
Avatar
Vazgeç
Avatar
Jérémy Donas
En İyi Yanıt

Has anyone found a solution to this problem? https://github.com/odoo/odoo/issues/104597


look at this https://github.com/odoo/odoo/issues/104947

0
Avatar
Vazgeç
Avatar
Bhavin Patel
En İyi Yanıt

The "Mixed Content" error typically occurs when you are serving content over both HTTP and HTTPS. This can happen when you have SSL enabled on your website but some of the resources are still being loaded over HTTP.

In the case of Odoo + Traefik + SSL, this error could occur if you are using the Odoo editor to edit your website and some of the resources (such as images or scripts) are being loaded over HTTP instead of HTTPS.

To resolve this error, you will need to ensure that all resources on your website are being served over HTTPS. Here are some steps you can take to fix this issue:

  1. Check your website for mixed content errors: You can use a tool like the "Why No Padlock?" tool to check for mixed content errors on your website. This tool will scan your website and identify any resources that are being loaded over HTTP instead of HTTPS.

  2. Update Odoo configuration to use HTTPS: You need to update Odoo configuration to ensure that all resources are being loaded over HTTPS. You can do this by modifying the "base.url" parameter in the Odoo configuration file to use HTTPS. You can find the configuration file in the Odoo installation directory.

  3. Update Traefik configuration to use HTTPS: Similarly, you will also need to update Traefik configuration to ensure that all resources are being served over HTTPS. You can do this by modifying the Traefik configuration file to use HTTPS.

  4. Update website content: If you still have mixed content errors after updating Odoo and Traefik configuration, you will need to update your website content to ensure that all resources are being loaded over HTTPS. This may involve updating links to resources and ensuring that any custom scripts or stylesheets are being loaded over HTTPS.

Once you have resolved all mixed content errors on your website, the "Mixed Content" error should no longer occur when using the Odoo editor.

0
Avatar
Vazgeç
Avatar
Nils Gerber
En İyi Yanıt

same Problem here.

Working with ngnix proxmanager instead of traeffic but still the same problem.
Great to see that nobody cares... ;-(

0
Avatar
Vazgeç
Avatar
Omar Dixán Puig Pupo
En İyi Yanıt

I had the same issue and continue until now searching how can I fix it

0
Avatar
Vazgeç
Bhavin Patel

Yes, it is possible to configure Traefik and Odoo to work together with HTTPS, even for the website editor. Here are some steps you can follow:

Configure Traefik to use HTTPS: Make sure that your Traefik configuration is set up to use HTTPS. You can do this by setting up SSL certificates and configuring the Traefik routers and services to use HTTPS.

Set the proxy-mode parameter in the Odoo configuration file: In the Odoo configuration file, set the proxy-mode parameter to True. This tells Odoo to use the X-Forwarded-Proto header that Traefik sends to Odoo to determine whether to use HTTP or HTTPS for links and resources.

Set the base.url parameter in the Odoo configuration file: Set the base.url parameter in the Odoo configuration file to the HTTPS version of your website URL. This ensures that all links and resources loaded by Odoo are using HTTPS.

Update the website editor iframe URL: The website editor iframe URL may still be using HTTP, which can cause the mixed content error. To fix this, you need to update the URL of the iframe to use HTTPS. You can do this by modifying the website.editor route in the Traefik configuration file to add a middleware that updates the iframe URL to use HTTPS.

Here is an example of what the middleware for the website.editor route might look like:

[http.middlewares.website-editor-https-redirect.redirectScheme]
scheme = "https"
permanent = true

[http.routers.website-editor]
rule = "Host(`example.com`) && Path(`/website/editor/*`)"
service = "odoo-website-editor"
middlewares = ["website-editor-https-redirect"]

This middleware redirects the iframe URL to use HTTPS, which should resolve the mixed content error.

I hope this helps! Let me know if you have any other questions.

Omar Dixán Puig Pupo

Thank you, Bhavin Patel, your answer help to fix the problem.

Enjoying the discussion? Don't just read, join in!

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

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
Odoo 16 Community Docker Setup how to add Addons Folder
addons docker odoo16features
Avatar
Avatar
Avatar
Avatar
4
Eki 23
30540
Translation Problem odoo 16 on docker
translations docker odoo16features
Avatar
Avatar
1
Tem 23
3203
Accidantly pruned my docker volume of the odoo-web container... can I reimport old Attachments?
compose docker Docker odoo16features
Avatar
0
Eki 23
2929
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Çözüldü
odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
Eyl 25
24333
How to Add wizard under print button inside the form view.
odoo16features
Avatar
Avatar
Avatar
Avatar
3
Ağu 25
3713
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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