Joomla 5 and http3/quic -> Error 500 Topic is solved

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
Chris S
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Apr 23, 2024 12:27 pm

Joomla 5 and http3/quic -> Error 500

Post by Chris S » Tue Apr 23, 2024 12:32 pm

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.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9846
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

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

Post by AMurray » Tue Apr 23, 2024 10:56 pm

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?
Regards - A Murray
General Support Moderator

Chris S
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Apr 23, 2024 12:27 pm

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

Post by Chris S » Tue Apr 23, 2024 11:33 pm

On http2 it is fine, on http3/quic it is not. Attached debug screenshot.

It is quite strange.
You do not have the required permissions to view the files attached to this post.

drammar
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Sat Nov 25, 2006 10:36 pm

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

Post by drammar » Thu May 02, 2024 5:31 am

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.

Chris S
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Apr 23, 2024 12:27 pm

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

Post by Chris S » Sat May 18, 2024 10:24 pm

I will try it and let you know the result.

Chris S
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Apr 23, 2024 12:27 pm

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

Post by Chris S » Sun May 19, 2024 12:56 am

Drammar your suggestion works. Problem solved :)


Post Reply

Return to “General Questions/New to Joomla! 5.x”