yaoweibin / ngx_http_substitutions_filter_module

a filter module which can do both regular expression and fixed string substitutions for nginx
607 stars 213 forks source link

[alert] the http output chain is empty while sending to client upstream fastcgi #47

Open droplinxuser opened 1 year ago

droplinxuser commented 1 year ago

Those alerts/errors are produce with this module is enabled on some PHP pages. Using Nginx 1.25.1 on Ubuntu 22.04.

droplinxuser commented 1 year ago

Complete log: [alert] 131332#131332: *218555 the http output chain is empty while sending to client, client: 1.2.3.4, server: site.org, request: "GET /file.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "site.org"

yaoweibin commented 1 year ago

Is there any problem when you see such alerts?

droplinxuser @.***> 于2023年9月6日周三 08:55写道:

Complete log: [alert] 131332#131332: *218555 the http output chain is empty while sending to client, client: 1.2.3.4, server: site.org, request: "GET /file.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "site.org "

— Reply to this email directly, view it on GitHub https://github.com/yaoweibin/ngx_http_substitutions_filter_module/issues/47#issuecomment-1707495281, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABFRGJOUDX5B4D7JFANKVLXY7CY5ANCNFSM6AAAAAA4MRIBB4 . You are receiving this because you are subscribed to this thread.Message ID: <yaoweibin/ngx_http_substitutions_filter_module/issues/47/1707495281@ github.com>

droplinxuser commented 1 year ago

Yes, when that happens, the page doesn't finish loading the whole page; it just sticks at loading and fails after several seconds.

With my thousand PHP-powered pages, it happens only on one page, though. What I do for now is use subs_filter_bypass to disable running this module on that specific page.