You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2024/08/14 16:01:59 UTC

[Bug 69259] New: Error messages after update

https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

            Bug ID: 69259
           Summary: Error messages after update
           Product: Apache httpd-2
           Version: 2.4.62
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: meyer@visionconnect.de
  Target Milestone: ---

Since upgrading from Apache 2.4.59 (I think it was this version but I am not
100% sure) to Apache 2.4.61 I see errors from proxy related requests:

Log file: 

> [Wed Aug 14 17:49:03.128612 2024] [proxy:debug] [pid 17292:tid 17558] mod_proxy.c(1467): [remote my.ip.add.ress] AH01143: Running scheme unix handler (attempt 0)
> [Wed Aug 14 17:49:03.128619 2024] [proxy_fcgi:debug] [pid 17292:tid 17558] mod_proxy_fcgi.c(1080): [remote my.ip.add.ress] AH01076: url: unix:/run/php8/www.example.com|fcgi://our-defined-php-handler/data/htdocs/www.example.com/index.php proxyname: (null) proxyport: 0
> [Wed Aug 14 17:49:03.128624 2024] [proxy_fcgi:debug] [pid 17292:tid 17558] mod_proxy_fcgi.c(1083): [remote my.ip.add.ress] AH01077: declining URL unix:/run/php8/www.example.com|fcgi://our-defined-php-handler/data/htdocs/www.example.com/index.php
> [Wed Aug 14 17:49:03.128630 2024] [proxy_http:debug] [pid 17292:tid 17558] mod_proxy_http.c(1902): [remote my.ip.add.ress] AH01113: HTTP: declining URL unix:/run/php8/www.example.com|fcgi://our-defined-php-handler/data/htdocs/www.example.com/index.php
> [Wed Aug 14 17:49:03.128641 2024] [proxy:warn] [pid 17292:tid 17558] [remote my.ip.add.ress] AH01144: No protocol handler was valid for the URL /index.php (scheme 'unix'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.



Our config:

> <VirtualHost *>
>      ServerName www.example.com
>      DocumentRoot "/home/www/example.com"
> ...
>    <FilesMatch "(^php-fpm-status|\.php)$">
>        SetHandler "proxy:unix:/run/php8/www.example.com|fcgi://our-defined-php-handler"
>        CGIPassAuth on
>     </FilesMatch>
> # just for this example
>    LogLevel trace8
>    LogLevel ssl_module:warn
>    LogLevel rewrite_module:warn
> </VirtualHost>


The constellation worked flawless since "years before". The URL declining and a
missing cleanup looks like the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

--- Comment #7 from Ruediger Pluem <rp...@apache.org> ---
(In reply to meyer@visionconnect.de from comment #3)
> Sorry, currently we are on apache2-worker-2.4.62-lp155.306.1.x86_64. 
> It was a typo in my first text.

Can you please provide the output of the error log with LogLevel trace8?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

--- Comment #6 from Ruediger Pluem <rp...@apache.org> ---
(In reply to Chris Seufert from comment #5)
> I can confirm that after doing a git bisect the
> 2f2f82a2225c5c3b6bb2fa4056541682e34763d4 commit is causing the issue for me.
> 
> This issue is NOT present in the TRUNK of the git repo.

Your issue should be already fixed by the backport r1921299 which will be part
of 2.4.63.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

Chris Seufert <ch...@modd.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #8 from Chris Seufert <ch...@modd.com.au> ---
I can confirm this is fixed in the 2.4.x branch, so just need to wait for the
2.4.63 release.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

Chris Seufert <ch...@modd.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris@modd.com.au

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

Chris Seufert <ch...@modd.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #5 from Chris Seufert <ch...@modd.com.au> ---
I can confirm that after doing a git bisect the
2f2f82a2225c5c3b6bb2fa4056541682e34763d4 commit is causing the issue for me.

This issue is NOT present in the TRUNK of the git repo.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

--- Comment #9 from Jay Berry <em...@jb2170.com> ---
I feel like I lost 20IQ restarting apache a dozen times and checking my
.htaccess RewriteRules over and over when they've worked before on other
machines. Can confirm in Apache 2.4.62 on Arch Linux that

.htaccess:
> RewriteEngine on
> RewriteRule ^(.*)$ unix:/my/socket|http://test-website.com/$1 [P,NE,QSA]

gives "AH01144: No protocol handler was valid for the URL / (scheme 'unix')"

Awaiting Arch updating to version 2.4.63. Many people use ProxyPass but I
prefer RewriteRules (why I'm making this comment for the record), so let's see
if those are also fixed too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

--- Comment #10 from Jay Berry <em...@jb2170.com> ---
(In reply to Jay Berry from comment #9)

Arch Linux got the 2.4.63 update today, all working again ;-D

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Ruediger Pluem <rp...@apache.org> ---
There have been some changes in this area between 2.4.61 and 2.4.62.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

--- Comment #3 from meyer@visionconnect.de <me...@visionconnect.de> ---
Sorry, currently we are on apache2-worker-2.4.62-lp155.306.1.x86_64. 
It was a typo in my first text.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

--- Comment #1 from Ruediger Pluem <rp...@apache.org> ---
Have you tried with 2.4.62?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69259] Error messages after update

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69259

--- Comment #4 from Chris Seufert <ch...@modd.com.au> ---
I have created a reproducer here with a couple of docker containers with
https:// rather than fcgi:// seems to be the same problem.

https://github.com/cseufert/apache-proxy-test

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org