• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Redirection from WooCommerce fail - since update 18.0.61 #2?

andreios

Regular Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.61 #2
After update #2 there is a problem in two of my stores, the stores have multi currency enabled and WooCommerce adds an argument to the URLs e.g. /?v=3a52f3c22ed6
It only happens on the start page. I can't rule out other sources here, but it only seems to occur since update #2 today. It doesn't always happen, sometimes it happens, sometimes not, it doesn't seem to have a reason.
nginx cache is off, proxy is off.
Every time it fails, the following error appears in the log:
child 15256 said into stderr: "PHP message: PHP Warning: Undefined array key "host"
The header contains the following:
location https:///
It should look like this:
The Browser says:
ERR_INVALID_REDIRECT
These are the only shops on my Server with multi currency enabled. Other domains seem to have no issues.
 
Te problem still exists, on multiple domains, causing different issues. I could rule out any plugin or theme.
 
Yes, HTTP3 is enabled for both panel and nginx. But I have tried yesterday without it and the issue still happened. But from the time frame it would fit, I enabled HTTP3 yesterday. I have disabled it again. No issues so far and nothing in the logs. But needs more time to be sure.
 
The problem seems to be related to HTTP3. There are no more problems to be found in the logs. People who have reported problems say that it is working again.
 
I *think* this might also be related to the same issue mentioned in this forum thread, caused by the fact that the HTTP_HOST server variable isn't when using HTTP/3. But I am not 100% sure, as it's difficult to say for sure based on the information provided.

If you're up for it, you can test this by enabling HTTP/3 again and adding fastcgi_param HTTP_HOST $host; to the /etc/nginx/fastcgi.conf file.

Note however that this is likely not a sustainable solution as the fastcgi.conf might get overwritten when Plesk gets updated. But that way you'll know for sure that it's an HTTP/3 related issue.
 
Yes, I thought it must be the HTTP_HOST Variable, but I didn't know nginx has an HTTP/3 issue with it.
I added
Code:
fastcgi_param HTTP_HOST $host;
and tested it again.
No issues and nothing about 'host' in the logs.
 
So if enable HTTP/3 again and add fastcgi_param HTTP_HOST $host; you have no more issues? Is that correct?
 
Actually my browsers did still use HTTP/2. I tested on HTTP/3 Check everything was HTTP/3.
I tested also with a .php file with $_SERVER, if HTTP_HOST was set, it was. But my browsers were using HTTP/2.
I restarted nginx, but still both of my browsers were using HTTP/2.
Just five minutes later, I did nothing, one of my browsers started using HTTP/3.
In this browser, my .php test file says HTTP_HOST is not set. Also, I see the issues appearing again in this browser.
But fastcgi_param HTTP_HOST $host; is definitely set in /etc/nginx/fastcgi.conf the whole time. 1716410876594.png1716410802908.png
 
Right after this, I have disabled HTTP/3 and enabled it again.
I have installed Opera, and Chromium and Opera use HTTP/3 right now, Firefox still tries with HTTP/2, don't know why. But, HTTP_HOST is there. Have I just overlooked it and it was there the whole time?
But the issues are also diapered. No issues anymore the whole time.
Also, the browsers sometimes switch randomly back to HTTP/2.
 
I have installed Opera, and Chromium and Opera use HTTP/3 right now, Firefox still tries with HTTP/2, don't know why. But, HTTP_HOST is there. Have I just overlooked it and it was there the whole time?
Do you use nginx with worker_processes greater than1?
 
Back
Top