jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: IDD-2021 on 06.03.2021 10:46:38

Title: Error Message after Server Change - {Not a jDownloads problem]{SOLVED}
Post by: IDD-2021 on 06.03.2021 10:46:38
Hi,

we changed our server or better upgraded our server - same provider.

After the change the jdownloads doesnt work anymore. I can upload files and stuff. But the already existing files could not been downloaded from Frontend.

Always get an ERR_HTTP2_PROTOCOL_ERROR, looking at the file in the backend or ftp works.

Any hints? We are using version 3.2 and Joomla 3.9.25

Regards
IDD
See last post in this chain for solution  Colin
Title: Re: Error Message after Server Change
Post by: ColinM on 07.03.2021 10:19:38
HiThis is definitely something for your website supplier - they have probably switched from HTTP1.1 to HTTP2 which is a major revision
Did some web reasearch and found following below

Which Browser are you using for testing? Chrome seems to show the problem but Firefox handles OK.
Did fid the following on the web for IIShttps://forums.iis.net/t/1251676.aspx?net+ERR_HTTP2_PROTOCOL_ERROR+with+jquery+XMLHttpRequest+on+IIS+10+with+HTTP2
Also Nginx based servers seem to have a problem with HTTP2
Colin
Title: Re: Error Message after Server Change
Post by: IDD-2021 on 07.03.2021 12:30:40
Hi,

thanks for the answer, is there something i can chagne in jdownloads to get http2 to work?

I am using Chrome, but the same issue is when i try it with all my other browsers, they just display a other error message.

I will ask DF if the server upgrade changed https settings. All other sides working perfect.

Title: Re: Error Message after Server Change
Post by: Arno on 13.03.2021 19:04:06
Hi,
you should contact your hoster and tell him your problem.
jDownloads has nothing to do with this. This must be more a server configuration part.
As you have self noted, jDownloads has work properly until your hoster has changed something on the server.
Title: Re: Error Message after Server Change - {Not a jDownloads problem]
Post by: IDD-2021 on 15.03.2021 08:45:16
Hi,

done. I just added ssome code to htaccees to enable donwloads again.

Title: Re: Error Message after Server Change - {Not a jDownloads problem]
Post by: Arno on 15.03.2021 23:28:15
Thanks for the update.
Title: Re: Error Message after Server Change - {Not a jDownloads problem] see fix below
Post by: ColinM on 17.03.2021 09:36:09
Hi
Pleased to hear you have solved the problemCould you possibly advise what you had to add in the htaccess file?  It might help other users.  Obviously has to be annonymous and replace any site name with a psuedo name.

Before you added was it the standard Joomla! htaccess file?
Colin

The fix was to add
#### Fix DF downloader problem -- BEGIN
RequestHeader unset Range
#### Fix DF downloader problem -- END
in the .htaccess file
The serrver maybe set to limit the size of a transfer by using a Range directive such as Range: bytes=0-1023.  This may mean that the download or upload is done in 'blocks'.  Using the 'unset Range' turns this off.

Colin