git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trunk proxy_http failures


Hi,

the h2 test suite has tests with http/2 in the front and a standard proxy_http to localhost. When running the test suite against trunk, the tests run into a failed GET on a proxy. The request hangs 5 seconds and the fails reading the status line, as seen below. The proxy is defined as:

    <Proxy "balancer://https-local">
        BalancerMember "https://127.0.0.1:SUBST_PORT_HTTPS_SUBST"; hcmethod=GET hcuri=/
    </Proxy>
    ...
    ProxyPass "/proxy" "balancer://http-local"
    ProxyPassReverse "/proxy" "balancer://http-local"

Typical log:
[Wed Sep 19 14:02:58.038602 2018] [http2:trace1] [pid 35806:tid 123145377832960] h2_task.c(675): [client 127.0.0.1:64231] h2_task(200-13): start process_request
[Wed Sep 19 14:02:58.038654 2018] [proxy:debug] [pid 35806:tid 123145377832960] proxy_util.c(1326): AH10122: proxy: Entering byrequests for BALANCER (balancer://https-local)
[Wed Sep 19 14:02:58.038679 2018] [proxy:debug] [pid 35806:tid 123145377832960] proxy_util.c(1418): AH10123: proxy: byrequests selected worker "https://127.0.0.1:12346"; : busy 0 : lbstatus 100
[Wed Sep 19 14:02:58.038694 2018] [proxy:debug] [pid 35806:tid 123145377832960] proxy_util.c(1971): AH00924: worker https://127.0.0.1:12346 shared already initialized
[Wed Sep 19 14:02:58.038712 2018] [proxy:debug] [pid 35806:tid 123145377832960] proxy_util.c(2028): AH00926: worker https://127.0.0.1:12346 local already initialized
[Wed Sep 19 14:02:58.038736 2018] [proxy:debug] [pid 35806:tid 123145377832960] mod_proxy.c(1258): [client 127.0.0.1:64231] AH01143: Running scheme balancer handler (attempt 0)
[Wed Sep 19 14:02:58.038756 2018] [proxy:debug] [pid 35806:tid 123145377832960] proxy_util.c(2367): AH00942: HTTPS: has acquired connection for (127.0.0.1)
[Wed Sep 19 14:02:58.038775 2018] [proxy:debug] [pid 35806:tid 123145377832960] proxy_util.c(2421): [client 127.0.0.1:64231] AH00944: connecting https://127.0.0.1:12346/files/data-1m to 127.0.0.1:12346
[Wed Sep 19 14:02:58.038790 2018] [proxy:debug] [pid 35806:tid 123145377832960] proxy_util.c(2630): [client 127.0.0.1:64231] AH00947: connected /files/data-1m to 127.0.0.1:12346
[Wed Sep 19 14:03:03.041506 2018] [proxy_http:error] [pid 35806:tid 123145377832960] (70014)End of file found: [client 127.0.0.1:64231] AH01102: error reading status line from remote server 127.0.0.1:12346
[Wed Sep 19 14:03:03.041541 2018] [proxy_http:debug] [pid 35806:tid 123145377832960] mod_proxy_http.c(1386): [client 127.0.0.1:64231] AH01104: Closing connection to client because reading from backend server 127.0.0.1:12346 failed. Number of keepalives 1

What can I best do to further debug this?

Should I disable the balancer and see if the problem persists?

Help appreciated, thanks!

-Stefan