jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Topic started by: olizan on 04.12.2020 09:50:25

Title: Download Bug with Chrome
Post by: olizan on 04.12.2020 09:50:25
Hi,

I have a problem since the last chrome update. Any zip file can't be downloaded.
Here is the console result :

Mixed Content: The site at 'https://www.ffw-01.fr/' was loaded over a secure connection, but the file at '.../jdownloads/.../escapetokadena.zip' was redirected through an insecure connection. This file should be served over HTTPS. This download has been blocked. See https://blog.chromium.org/2020/02/protecting-users-from-insecure.html for more details.


It works when i right click and choose "download from link".

There are no problems with others navigators
Olivier
Title: Re: Download Bug with Chrome
Post by: olizan on 04.12.2020 11:06:46
My domain is secured with Letsencrypt
Title: Re: Download Bug with Chrome
Post by: olizan on 04.12.2020 14:54:51

My domain is secured with Letsencrypt

This page is secure (valid HTTPS).
Certificate - valid and trusted
The connection to this site is using a valid, trusted server certificate issued by R3.
View certificate
Connection - secure connection settings
The connection to this site is encrypted and authenticated using TLS 1.2, ECDHE_RSA with X25519, and CHACHA20_POLY1305.
Resources - all served securely
All resources on this page are served securely.
Title: Re: Download Bug with Chrome
Post by: olizan on 06.12.2020 12:15:48
Console network by chrome :

When i click on download button, the link is redirected on non secure link : http://www......

But, i can download a non zip file
Title: Re: Download Bug with Chrome
Post by: ColinM on 06.12.2020 16:58:32
HiIs the site itself using an http: or an https:  ?As you have a 'security certificate'  it is probable that somewhere you have set http rather than httpsOne way of getting round this is to go to
System - Global Config - Server tab and set option 'Force HTTPS' to Yes
Colin
Title: Re: Download Bug with Chrome
Post by: olizan on 06.12.2020 17:05:38
parameter ok. Force ssl already check for both.
Title: Re: Download Bug with Chrome
Post by: schmatzler on 13.02.2022 13:54:15
I have the same problem with the latest JDownloads.
My site is running via HTTPS and it's also forced in Joomla's server settings.

I get this really weird error in Chrome when trying to download a file:
Mixed Content: The site at 'https://i-war2.com/' was loaded over a secure connection, but the file at 'https://i-war2.com/...zip' was redirected through an insecure connection. This file should be served over HTTPS.

That's really weird, because both URLs start with HTTPS. So maybe there's another redirect in there Chrome doesn't like or something else...?

For now I've resorted to serving the files via PHP but some files are really big and might fail because of the execution time limit. Not an ideal solution.
Title: Re: Download Bug with Chrome
Post by: ColinM on 13.02.2022 21:27:16
Hi
Chrome is a law unto itself!!
Are the zip files those that you have uploaded or are they zip files created by jD from a checkbox files layout?
Colin