Page 1 of 1

Joomla 5 and http3/quic -> Error 500

Posted: Tue Apr 23, 2024 12:32 pm
by Chris S
Hello.

When I enable http/quic on the nginx server, joomla returns a 500 error.

I have other php based software running on the server and it works fine.

Does anyone know what this could be due to?

Regards.

Re: Joomla 5 and http3/quic -> Error 500

Posted: Tue Apr 23, 2024 10:56 pm
by AMurray
Turn on debug for your Joomla site, and post the error messages here (and additionally also enable PHP reporting, and post the error messages).

Is "force SSL" turned on in your Joomla (global config) options? Does the site have a valid SSL certificate?

Re: Joomla 5 and http3/quic -> Error 500

Posted: Tue Apr 23, 2024 11:33 pm
by Chris S
On http2 it is fine, on http3/quic it is not. Attached debug screenshot.

It is quite strange.

Re: Joomla 5 and http3/quic -> Error 500

Posted: Thu May 02, 2024 5:31 am
by drammar
I just found where the issue exists.

With http/3, the domain name is dropped. As you can see in your screenshot... the URI was https:///
Which is of course invalid. So we need to add in the domain name to the URI's being generated.
I use PHP with PHP-FPM on a nGinx server. To resolve this add the following line to where the fastcgi directives are located in your server block

fastcgi_param HTTP_HOST $host;

The above line would need to be added in to each virtual host server block, or alternatively you can add it in to the file fastcgi_params (for nginx) and it will apply to every server block automatically.

Re: Joomla 5 and http3/quic -> Error 500

Posted: Sat May 18, 2024 10:24 pm
by Chris S
I will try it and let you know the result.

Re: Joomla 5 and http3/quic -> Error 500

Posted: Sun May 19, 2024 12:56 am
by Chris S
Drammar your suggestion works. Problem solved :)