コンテンツへスキップ
メニュー
この質問にフラグが付けられました

Hi All,

Please help with this in odoo16 web editor page is not working its keep only on loading .

Please find below error.


Mixed Content: The page at 'https://' was loaded over HTTPS, but requested an insecure frame 'http:///'. This request has been blocked; the content must be served over HTTPS. 



アバター
破棄
最善の回答

I had this problem on a CloudClusters install. It seemed to happen after I installed free SSL certificates for my domains. The solution...

  • The nginx conf file is found at "/config/nginx/odoo-nginx.conf"
  • It had several lines like this: 
    proxy_set_header X-Forwarded-Proto $scheme
  • Change it to: 
    proxy_set_header X-Forwarded-Proto https;

Then restart the app.

アバター
破棄
最善の回答

This could be due to an issue with a missing header (see https://github.com/odoo/odoo/issues/104597). You need to create a custom header for you ALB:

add_header Content-Security-Policy upgrade-insecure-requests;

Go through the ALB documentation on how to create custom headers.

I hope this helps!

アバター
破棄
著作者

Hi,

As our server configuration are like this Server:Werkzeug/2.0.2 Python/3.10.12 .please suggest us whether configuration is correct or not

著作者 最善の回答

Hi Duong 

As i have done this but still its getting same with this while i have done f12 in network i am getting this error

Mixed Content: The page at 'https://' was loaded over HTTPS, but requested an insecure frame 'http:///'. This request has been blocked; the content must be served over HTTPS.

アバター
破棄
最善の回答

Try empty cache and hard reload to see it work or not
to do this, f12 then hold the rotation icon on the top left of your screen then you will the option "empty cache and hard reload" . Hope this help or maybe try restart your server sir

アバター
破棄
最善の回答

Hi,

Please add the below line inside your nginx file . you need to add this inside the location
proxy_set_header X-Forwarded-Proto https;

example
location /longpolling {
                proxy_connect_timeout   3600;
                proxy_read_timeout      3600;
                proxy_send_timeout      3600;
                send_timeout            3600;
                proxy_set_header X-Forwarded-Proto https;
                proxy_pass http://127.0.0.1:8072;
        }

After adding it , save the file and restart nginx service


Hope it helps

アバター
破棄
著作者

Hi Cybrosys Team,

As we are using in aws load balancer without ngix load balancer is working please suggest us for this issue

関連投稿 返信 ビュー 活動
0
4月 24
812
2
8月 24
1813
1
11月 24
670
0
9月 24
741
1
9月 24
726