libnginx-mod-nchan distributes old/incompatible module Edit
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1874831
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"