From owner-freebsd-ports-bugs@freebsd.org Wed Jun 24 16:27:25 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51E5C3527B6 for ; Wed, 24 Jun 2020 16:27:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49sT7x1XVSz4MBB for ; Wed, 24 Jun 2020 16:27:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 34B8A3527B5; Wed, 24 Jun 2020 16:27:25 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 347C135295A for ; Wed, 24 Jun 2020 16:27:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49sT7x0cSGz4Lrl for ; Wed, 24 Jun 2020 16:27:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1082C143FF for ; Wed, 24 Jun 2020 16:27:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05OGROKm009365 for ; Wed, 24 Jun 2020 16:27:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05OGROjG009364 for ports-bugs@FreeBSD.org; Wed, 24 Jun 2020 16:27:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247523] www/nginx: module ngx_http_upstream_check stopped working after migrating to dynamic in 1.18.0_12,2 Date: Wed, 24 Jun 2020 16:27:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fzipitria@perceptyx.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: joneum@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2020 16:27:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247523 Bug ID: 247523 Summary: www/nginx: module ngx_http_upstream_check stopped working after migrating to dynamic in 1.18.0_12,2 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: fzipitria@perceptyx.com Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org Hi joneum, Yesterday we upgraded to 1.18.0_15, and the module upstream_check stopped working properly. You can do a test using a simple config file: worker_processes 1; worker_rlimit_nofile 262144; load_module "/usr/local/libexec/nginx/ngx_http_upstream_check_module.so"; error_log /tmp/test/error.log debug; events { worker_connections 16384; use kqueue; kqueue_changes 2048; } http { upstream cluster { # simple round-robin server 192.168.0.1:80; server 192.168.0.2:80; check interval=3D5000 rise=3D1 fall=3D3 timeout=3D4000; } server { listen 50080; location / { proxy_pass http://cluster; } location /status { check_status; access_log off; } } } nginx -p /tmp/test -c test.conf curl http://localhost:50080/status And logs show: 2020/06/23 12:35:00 [debug] 20275#101354: worker cycle 2020/06/23 12:35:00 [debug] 20275#101354: kevent timer: 60000, changes: 1 2020/06/23 12:35:00 [debug] 20275#101354: kevent events: 1 2020/06/23 12:35:00 [debug] 20275#101354: kevent: 3: ft:-1 fl:0020 ff:00000= 000 d:85 ud:000000080680D111 2020/06/23 12:35:00 [debug] 20275#101354: *3 http wait request handler 2020/06/23 12:35:00 [debug] 20275#101354: *3 malloc: 0000000802270000:1024 2020/06/23 12:35:00 [debug] 20275#101354: *3 recv: eof:0, avail:85, err:0 2020/06/23 12:35:00 [debug] 20275#101354: *3 recv: fd:3 85 of 1024 2020/06/23 12:35:00 [debug] 20275#101354: *3 reusable connection: 0 2020/06/23 12:35:00 [debug] 20275#101354: *3 posix_memalign: 000000080227F000:4096 @16 2020/06/23 12:35:00 [debug] 20275#101354: *3 http process request line 2020/06/23 12:35:00 [debug] 20275#101354: *3 http request line: "GET /status HTTP/1.1" 2020/06/23 12:35:00 [debug] 20275#101354: *3 http uri: "/status" 2020/06/23 12:35:00 [debug] 20275#101354: *3 http args: "" 2020/06/23 12:35:00 [debug] 20275#101354: *3 http exten: "" 2020/06/23 12:35:00 [debug] 20275#101354: *3 posix_memalign: 000000080227B000:4096 @16 2020/06/23 12:35:00 [debug] 20275#101354: *3 http process request header li= ne 2020/06/23 12:35:00 [debug] 20275#101354: *3 http header: "Host: localhost:50080" 2020/06/23 12:35:00 [debug] 20275#101354: *3 http header: "User-Agent: curl/7.67.0" 2020/06/23 12:35:00 [debug] 20275#101354: *3 http header: "Accept: */*" 2020/06/23 12:35:00 [debug] 20275#101354: *3 http header done 2020/06/23 12:35:00 [debug] 20275#101354: *3 event timer del: 3: 7021985672 2020/06/23 12:35:00 [debug] 20275#101354: *3 generic phase: 0 2020/06/23 12:35:00 [debug] 20275#101354: *3 rewrite phase: 1 2020/06/23 12:35:00 [debug] 20275#101354: *3 test location: "/" 2020/06/23 12:35:00 [debug] 20275#101354: *3 test location: "status" 2020/06/23 12:35:00 [debug] 20275#101354: *3 using configuration "/status" 2020/06/23 12:35:00 [debug] 20275#101354: *3 http cl:-1 max:1048576 2020/06/23 12:35:00 [debug] 20275#101354: *3 rewrite phase: 3 2020/06/23 12:35:00 [debug] 20275#101354: *3 rewrite phase: 4 2020/06/23 12:35:00 [debug] 20275#101354: *3 post rewrite phase: 5 2020/06/23 12:35:00 [debug] 20275#101354: *3 generic phase: 6 2020/06/23 12:35:00 [debug] 20275#101354: *3 generic phase: 7 2020/06/23 12:35:00 [debug] 20275#101354: *3 generic phase: 8 2020/06/23 12:35:00 [debug] 20275#101354: *3 generic phase: 9 2020/06/23 12:35:00 [debug] 20275#101354: *3 access phase: 10 2020/06/23 12:35:00 [debug] 20275#101354: *3 access phase: 11 2020/06/23 12:35:00 [debug] 20275#101354: *3 access phase: 12 2020/06/23 12:35:00 [debug] 20275#101354: *3 post access phase: 13 2020/06/23 12:35:00 [debug] 20275#101354: *3 generic phase: 14 2020/06/23 12:35:00 [debug] 20275#101354: *3 generic phase: 15 2020/06/23 12:35:00 [debug] 20275#101354: *3 http set discard body 2020/06/23 12:35:00 [error] 20275#101354: *3 http upstream check module can= not find any check server, make sure you've added the check servers, client: 127.0.0.1, server: , request: "GET /status HTTP/1.1", host: "localhost:5008= 0" 2020/06/23 12:35:00 [debug] 20275#101354: *3 http finalize request: 500, "/status?" a:1, c:1 2020/06/23 12:35:00 [debug] 20275#101354: *3 http special response: 500, "/status?" 2020/06/23 12:35:00 [debug] 20275#101354: *3 http set discard body 2020/06/23 12:35:00 [debug] 20275#101354: *3 HTTP/1.1 500 Internal Server E= rror Server: nginx/1.18.0 Date: Tue, 23 Jun 2020 19:35:00 GMT Content-Type: text/html Content-Length: 177 Connection: close Looks as if it wasn't installed properly. --=20 You are receiving this mail because: You are the assignee for the bug.=