Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Community Edition - Mixed content Blocker

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
2 Réponses
1856 Vues
Avatar
David Soden

My setup

  • Docker
    • I have tried the local windows installer - same core issue with Mixed Content
  • 2 different proxy have been tried with the same Mixed Content issue.
    • Cloudflare
      • Install the agent
      • configure the agent in the web configurator to http:localhost:8069
    • Nginx Proxy Manager
      • Poke a hole in my firewall for ports 80/443
      • Use a script to update my dns locally (configured with my data)
      • create the cert for app.omnistreamerp.com and force SSL
      • create a proxy host app.omnistreamerp.com and point it to the static IP inside my container to the odoo webserver (docker compose setup)
  • odoo.conf
    • add these entries and restart the odoo web container to apply settings
      • proxy_mode = True
      • list_db = False
  • In the database for table public.ir_config_parameter (or in the web UI settings enable dev mode > Technical > System Parameters)
    • web.base.url = https://app.omnistreamerp.com
    • web.base.url.freeze = True

When I then log into the web UI app.omnistreamerp.com and in APPS and when I activate "Website" all is good till I pick a theme/template - the page NEVER LOADS - the console shows mixed content. In another browser if I just hit app.omnistreamerp.com and do not log in (view it as a public user) the site loads perfectly FINE.


MIXED CONTENT only shows when picking a template/theme on initial setup AND/OR when one tries to edit the website then BAM you get MIXED CONTENT errors and chrome BLOCKS the site. This is NOT a proxy error this seams to be an Odoo application error with the community edition specifically. 


seams to me the proxy_mode = True setting is NOT doing its job.


if I hit view-source:https://app.omnistreamerp.com/ directly like this I can see the HTTP references - oddly this is ONLY a problem when you're either setting this up or you're trying to edit the site while being logged in - normal nonauthenticated browsing does not trigger this MIXED CONTENT problem - this IMO/IME does not seem like a proxy issue at all - given this behavior. Obviously you can add an exception to Chrome  / Edge to allow mixed content from app.omnistreamerp.com but that is not an acceptable workaround given this is an ERP system and it needs to be secure and work securely.


Setting the website domain in Configuration > Websites > selecting "My Website" has NO impact and the error also remains the same unchanged behavior. The only way to get this to work is allowing mixed content for this specific domain app.omnistreamerp.com in Chrome or Edge


0
Avatar
Ignorer
David Soden
Auteur

This post I made above. No responses yet. I find it hard to believe I am the only one experiencing this. Can someone confirm if this is normal behavior or if a bug... and/or how your configuration is where this is not happening?

VENBA INFORMATION TECHNOLOGY PRIVATE LIMITED

Am facing exactly similar issue with my CE18. Any solutions would be appreciated.

Avatar
Sean Craig
Meilleure réponse

Hello. Try setting your SSL certificate to Full or Full Strict. This is typically done in your DNS host platform. 

0
Avatar
Ignorer
Avatar
David Soden
Auteur Meilleure réponse

I finally heard from Odoo support where this had to be escalated to the supervisor level. The answer is both shocking and very disappointing with the key take away of use the CE version at your own risk because it is INSECURE. If you want security shell out the $300.00 as the problem does not exist there.

I asked my leader. He told me the reason for this situation is that the web editor function of Odoo needs to access the website using the HTTP protocol and create an iframe. However, when SSL/TLS encryption is enabled (such as using nginx), the server will block the insecure HTTP protocol, resulting in an error. You can try accessing it directly via IP using the HTTP protocol. Alternatively, you can add two parameters in the system settings of Odoo: web.base.url=your domain, and web.base.url.freeze=true. I hope this information is helpful to you. Also, don't forget to include proxy_mode and workers in the odoo.conf file.I hope it's useful for you. 

This is crazy. Just use http and basically ignore the fact it's insecure. 🤦‍♂️

0
Avatar
Ignorer
Zhao Yipeng

Hi,David.I am not an Odoo support personnel, I am just a user of Odoo. I am trying to set up my company's Odoo service, and my leader also found a solution through trial and error. I posted a help request in the Odoo community before, so when my issue is resolved, I want to share my solution with you. My English is not very good, so I wonder if there has been a misunderstanding?

David Soden
Auteur

Hi Zhao,

The email that came in looked like the support emails I get, so... I thought you were finally answering my question as Odoo Support. I did not see the differentiation till your call out. Well, anyway, seems this is... not something that folks should use in a production scenario. Pay the $300. The CE is insecure.

apologies for the confusion

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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