[Bug 1874831] Re: libnginx-mod-nchan distributes old/incompatible module
I see that ubuntu focal (focal-updates) got an libnginx-mod-nchan (1.18.0-0ubuntu1) package, but that one is still based on nchan 1.0.8 which crashes on publish. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874831 Title: libnginx-mod-nchan distributes old/incompatible module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1874831/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1874831] [NEW] libnginx-mod-nchan distributes old/incompatible module
Public bug reported: The libnginx-mod-nchan package which is built from the nginx source package distributes an old nchan module. The nginx source package has bundled nchan 1.0.8 which has known issues when running with nginx >= 1.13.10 The upstream issue documents that nginx has had some changes that break nchan < v1.2.0 https://github.com/slact/nchan/issues/460 Suggestion, update nchan to >= v1.2.0 (best v1.2.7). this is the error I get when using the `nchan_publisher_upstream_request` directive: 2020/04/24 01:00:35 [error] 9#9: *6 nchan: unexpected publisher message request body buffer location. please report this to the nchan developers. while sending to client, client: 127.0.0.1, server: _, request: "POST /publish?topic=one HTTP/1.1", subrequest: "/authorize_pub", upstream: "http://127.0.0.1:5000/authorize_pub";, host: "127.0.0.1" ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: libnginx-mod-nchan 1.17.10-0ubuntu1 Uname: Linux 5.6.6-arch1-1 x86_64 ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip Date: Fri Apr 24 16:53:56 2020 ProcEnviron: TERM=xterm PATH=(custom, no user) SourcePackage: nginx UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nginx (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874831 Title: libnginx-mod-nchan distributes old/incompatible module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1874831/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1874831] Re: libnginx-mod-nchan distributes old/incompatible module
I guess the Focal packages didn't appear yet? I'll try to test with the groovy package on top of Focal docker. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874831 Title: libnginx-mod-nchan distributes old/incompatible module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1874831/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1874831] Re: libnginx-mod-nchan distributes old/incompatible module
I've tested my scenario and it works fine. Just for completeness, tested on ubuntu focal 20.04 (amd64) docker image + libnginx-mod-nchan 1.18.0-0ubuntu2 amd64 nginx-light1.18.0-0ubuntu2 amd64 nchan is version 1.2.7 rhe configuration snippet used is: location /publish { nchan_publisher; nchan_channel_id $arg_topic; nchan_publisher_upstream_request /authorize_pub; } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874831 Title: libnginx-mod-nchan distributes old/incompatible module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1874831/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1874831] Re: libnginx-mod-nchan distributes old/incompatible module
Tested with the packages from https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4678 and it works for me -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874831 Title: libnginx-mod-nchan distributes old/incompatible module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1874831/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1874831] Re: libnginx-mod-nchan distributes old/incompatible module
In my original test, the POST to the /pub would crash the request in nginx - not crash the whole process but it would error out, and the curl would get disconnected with no data received. Just now, before testing your PPA packages, using latest focal packages, the POST to /pub succeeded, but then a GET request to /sub crashed nginx: nginx: worker process: /build/nginx-KTLRnK/nginx-1.18.0/debian/modules/nchan/src/store/memory/ipc-handlers.c:417: memstore_ipc_send_get_message: Assertion `data.shm_chid->len>1' failed. 2021/11/11 12:12:15 [alert] 915#915: worker process 916 exited on signal 6 (core dumped) In general, a POST to /pub and a GET on /sub should succeed and return the same message. I have a full demo with Docker and simple html app here (based on bullseye, since that worked at the time): https://github.com/gdamjan/pub-sub-demo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874831 Title: libnginx-mod-nchan distributes old/incompatible module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1874831/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1874831] Re: libnginx-mod-nchan distributes old/incompatible module
sorry, just went to my first message, the issue is when also using the nchan_publisher_upstream_request directive (to authorize the publish request). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874831 Title: libnginx-mod-nchan distributes old/incompatible module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1874831/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1874831] Re: libnginx-mod-nchan distributes old/incompatible module
What is SRU? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874831 Title: libnginx-mod-nchan distributes old/incompatible module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1874831/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs