콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
964
2
8월 24
2054
1
11월 24
794
0
9월 24
835
1
9월 24
855