Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

website_slides: Uploading a presentation keeps loading forever...

By
Ermin Trevisan
on 11/9/15, 4:12 AM 961 views

...and nothing happens.

Check https://www.twanda.ch/slides/slide/wine-by-the-glass-6

This is the log:

2015-11-09 08:43:39,623 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:39] "POST /slides/add_slide HTTP/1.1" 200 -
2015-11-09 08:43:39,855 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:39] "GET /slides/slide/6 HTTP/1.1" 301 -
2015-11-09 08:43:41,015 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:41] "GET /slides/slide/wine-by-the-glass-6 HTTP/1.1" 200 -
2015-11-09 08:43:41,401 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:41] "GET /website/image/slide.slide/5/image_thumb HTTP/1.1" 304 -
2015-11-09 08:43:41,411 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:41] "GET /website/image?model=res.partner&field=image_small&id=3 HTTP/1.1" 200 -
2015-11-09 08:43:41,430 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:41] "GET /slides/embed/6?page=1 HTTP/1.1" 200 -
2015-11-09 08:43:41,740 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:41] "POST /web/dataset/call HTTP/1.1" 200 -
2015-11-09 08:43:41,742 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:41] "POST /web/dataset/call HTTP/1.1" 200 -
2015-11-09 08:43:42,044 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:42] "POST /website_mail/is_follower HTTP/1.1" 200 -
2015-11-09 08:43:42,115 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:42] "GET /website/image/slide.slide/6/image_medium HTTP/1.1" 200 -
2015-11-09 08:43:42,597 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:42] "GET /slides/slide/6/pdf_content HTTP/1.1" 301 -
2015-11-09 08:43:42,668 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:42] "POST /website/translations HTTP/1.1" 200 -
2015-11-09 08:43:43,476 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:43] "GET /slides/slide/wine-by-the-glass-6 HTTP/1.1" 200 -
2015-11-09 08:43:45,809 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:45] "GET /logo.png HTTP/1.1" 200 -
2015-11-09 08:43:45,829 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:45] "GET /website/image?model=res.partner&field=image_small&id=4 HTTP/1.1" 200 -
2015-11-09 08:43:45,834 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:45] "GET /website/image/slide.slide/5/image_thumb HTTP/1.1" 200 -
2015-11-09 08:43:47,105 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:47] "GET /website/image/slide.slide/6/image_thumb HTTP/1.1" 200 -
2015-11-09 08:43:47,366 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:43:47] "GET /website/image/slide.slide/6/image_thumb HTTP/1.1" 200 -
2015-11-09 08:47:43,669 16000 INFO twanda openerp.addons.fetchmail.fetchmail: start checking for new emails on imap server twandaSales
2015-11-09 08:47:44,017 16000 INFO twanda openerp.addons.fetchmail.fetchmail: Fetched 0 email(s) on imap server twandaSales; 0 succeeded, 0 failed.
2015-11-09 08:51:27,184 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:27] "GET /en_US/slides HTTP/1.1" 200 -
2015-11-09 08:51:27,381 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:27] "GET /en_US/slides HTTP/1.1" 200 -
2015-11-09 08:51:28,184 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:28] "POST /website_mail/is_follower HTTP/1.1" 200 -
2015-11-09 08:51:28,190 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:28] "POST /website_mail/is_follower HTTP/1.1" 200 -
2015-11-09 08:51:29,055 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:29] "GET /en_US/slides HTTP/1.1" 200 -
2015-11-09 08:51:29,114 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:29] "GET /en_US/slides HTTP/1.1" 200 -
2015-11-09 08:51:29,215 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:29] "GET /en_US/slides/partner-channel-2 HTTP/1.1" 200 -
2015-11-09 08:51:29,346 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:29] "GET /en_US/slides/public-channel-1 HTTP/1.1" 200 -
2015-11-09 08:51:29,482 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:29] "GET /website/image/slide.slide/6/image HTTP/1.1" 200 -
2015-11-09 08:51:29,569 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:29] "GET /website/image/slide.slide/6/image_thumb HTTP/1.1" 200 -
2015-11-09 08:51:29,569 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:29] "GET /website/image/slide.slide/5/image_thumb HTTP/1.1" 200 -
2015-11-09 08:51:30,163 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:30] "GET /en_US/slides/slide/wine-by-the-glass-6 HTTP/1.1" 200 -
2015-11-09 08:51:35,501 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:35] "GET /slides/embed/6?page=1 HTTP/1.1" 302 -
2015-11-09 08:51:35,631 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:35] "POST /website_mail/is_follower HTTP/1.1" 200 -
2015-11-09 08:51:36,990 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:36] "GET /en_US/slides/slide/wine-by-the-glass-6 HTTP/1.1" 200 -
2015-11-09 08:51:40,451 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:40] "GET /en_US/ HTTP/1.1" 200 -
2015-11-09 08:51:40,502 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:40] "GET /en_US/ HTTP/1.1" 200 -
2015-11-09 08:51:40,507 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:40] "GET /en_US/ HTTP/1.1" 200 -
2015-11-09 08:51:41,841 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:41] "GET /en_US/slides/public-channel-1/category/1 HTTP/1.1" 301 -
2015-11-09 08:51:41,896 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:41] "GET /en_US/ HTTP/1.1" 200 -
2015-11-09 08:51:41,901 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:41] "GET /en_US/ HTTP/1.1" 200 -
2015-11-09 08:51:42,233 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:42] "GET /en_US/slides/slide/wine-by-the-glass-6 HTTP/1.1" 200 -
2015-11-09 08:51:42,267 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:42] "GET /en_US/slides/slide/wine-by-the-glass-6 HTTP/1.1" 200 -
2015-11-09 08:51:49,676 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:49] "GET /en_US/slides/slide/wine-by-the-glass-6 HTTP/1.1" 200 -
2015-11-09 08:51:50,055 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:50] "GET /en_US/slides/slide/wine-by-the-glass-6 HTTP/1.1" 200 -
2015-11-09 08:51:50,307 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:50] "GET /slides/embed/6?page=1 HTTP/1.1" 302 -
2015-11-09 08:51:50,508 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:50] "POST /website_mail/is_follower HTTP/1.1" 200 -
2015-11-09 08:51:50,521 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:50] "GET /en_US/slides/public-channel-1/category/odoo-tutorials-1 HTTP/1.1" 200 -
2015-11-09 08:51:51,903 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:51] "GET /en_US/slides/public-channel-1/tag/tutorial-5 HTTP/1.1" 200 -
2015-11-09 08:51:53,851 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:53] "GET /slides/slide/wine-by-the-glass-6 HTTP/1.1" 302 -
2015-11-09 08:51:54,168 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:54] "GET /website/lang/default?r=%2Fslides%2Fslide%2Fwine-by-the-glass-6 HTTP/1.1" 303 -
2015-11-09 08:51:54,398 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:54] "GET /de_DE/slides/slide/wine-by-the-glass-6 HTTP/1.1" 302 -
2015-11-09 08:51:54,706 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:54] "GET /slides/slide/wine-by-the-glass-6 HTTP/1.1" 200 -
2015-11-09 08:51:54,906 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:54] "GET /website/image?model=res.partner&field=image_small&id=4 HTTP/1.1" 200 -
2015-11-09 08:51:54,912 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:54] "GET /website/image/slide.slide/5/image_thumb HTTP/1.1" 304 -
2015-11-09 08:51:54,962 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:54] "GET /slides/embed/6?page=1 HTTP/1.1" 200 -
2015-11-09 08:51:55,046 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:55] "POST /website_mail/is_follower HTTP/1.1" 200 -
2015-11-09 08:51:55,131 16000 INFO ? werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:55] "GET /website_slides/static/lib/pdfslidesviewer/PDFSlidesViewer.js HTTP/1.1" 200 -
2015-11-09 08:51:55,167 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:55] "GET /website/image/slide.slide/6/image_medium HTTP/1.1" 200 -
2015-11-09 08:51:55,185 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:55] "GET /web/css/website_slides.slide_embed_assets/2702e37 HTTP/1.1" 200 -
2015-11-09 08:51:55,221 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:55] "GET /web/js/website_slides.slide_embed_assets/2702e37 HTTP/1.1" 200 -
2015-11-09 08:51:56,044 16000 INFO ? werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:56] "GET /website_slides/static/lib/pdfjs/worker_loader_by_odoo.js HTTP/1.1" 200 -
2015-11-09 08:51:56,102 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:51:56] "GET /slides/slide/6/pdf_content HTTP/1.1" 301 -
2015-11-09 08:52:44,426 16000 INFO twanda openerp.addons.fetchmail.fetchmail: start checking for new emails on imap server twandaSales
2015-11-09 08:52:44,778 16000 INFO twanda openerp.addons.fetchmail.fetchmail: Fetched 0 email(s) on imap server twandaSales; 0 succeeded, 0 failed.
2015-11-09 08:53:21,893 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:53:21] "GET /slides/embed/6?page=1 HTTP/1.1" 200 -
2015-11-09 08:53:22,054 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:53:22] "GET /website/image/slide.slide/6/image_medium HTTP/1.1" 304 -
2015-11-09 08:53:22,305 16000 INFO twanda werkzeug: 192.168.100.206 - - [09/Nov/2015 08:53:22] "GET /website/image/slide.slide/6/image_medium HTTP/1.1" 304 - 


In my test 9.0 CE installation it is working like a charm.

Ermin Trevisan
on 11/9/15, 9:58 AM

It works only because my 9.0 test installation is not SSL secured behind a proxy server...

Ermin Trevisan
on 11/22/15, 5:34 AM
-1

Ermin Trevisan

--Ermin Trevisan--
3546
| 6 3 7
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
On 11/22/15, 5:33 AM

This is a "mixed content" issue, as one can see in the browser's console:

Blocked loading mixed active content "http://www.twanda.ch/slides/embed/6?page=1"[Learn More]

It may happen when your Odoo is set up behind an SSL proxy server.

Make sure you have the following parameter set in your proxy server configuration file (Apache version):

RequestHeader set "X-Forwarded-Proto" "https"

See examples here:

https://www.odoo.com/de_DE/groups/community-59/community-13327850?mode=threadhttps://www.odoo.com/de_DE/groups/community-59/community-13327850?mode=thread 

0
Lucas Huber
On 7/25/16, 9:27 AM

Solution for NGINX:

    location / { 
     proxy_pass http://moneygrid-net; 
     # force timeouts if the backend dies
     proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
     proxy_redirect off;
# set headers
     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;

}

0
Amy Cancryn
On 3/15/16, 9:34 PM

Here is what fixed it for me. I tried all the above methods and they didn't work.

https://github.com/odoo/odoo/pull/10363

https://github.com/odoo/odoo/pull/10363/commits/ee9805f783a683bf5af92fc377bd3b1a2ace05db

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/9/15, 4:12 AM
Seen: 961 times
Last updated: 7/26/16, 1:13 AM