Is there an existing issue for this?
screenshots or captures
2026/04/18 21:02:14 [error] 82378#82378: *196256 upstream sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading response header from upstream, client: 192.168.1.112, server: router.abc.com, request: "POST /cgi-bin/cgi-download?1776538935973 HTTP/3.0", upstream: "https://192.168.1.1:443/cgi-bin/cgi-download?1776538935973", referrer: "https://router.abc.com/cgi-bin/luci/admin/services/adblock"
2026/04/18 21:02:15 [error] 82378#82378: *196258 upstream sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading response header from upstream, client: 192.168.1.112, server: router.abc.com, request: "POST /cgi-bin/cgi-download?1776538936977 HTTP/3.0", upstream: "https://192.168.1.1:443/cgi-bin/cgi-download?1776538936977", referrer: "https://router.abc.com/cgi-bin/luci/admin/services/adblock"
2026/04/18 21:02:16 [error] 82378#82378: *196269 upstream sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading response header from upstream, client: 192.168.1.112, server: router.abc.com, request: "POST /cgi-bin/cgi-download?1776538937998 HTTP/3.0", upstream: "https://192.168.1.1:443/cgi-bin/cgi-download?1776538937998", referrer: "https://router.abc.com/cgi-bin/luci/admin/services/adblock"
2026/04/18 21:02:17 [error] 82378#82378: *196273 upstream sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading response header from upstream, client: 192.168.1.112, server: router.abc.com, request: "POST /cgi-bin/cgi-download?1776538939010 HTTP/3.0", upstream: "https://192.168.1.1:443/cgi-bin/cgi-download?1776538939010", referrer: "https://router.abc.com/cgi-bin/luci/admin/services/adblock"
Actual behaviour
If openwrt is behind a NGINX reverse proxy, a lot of there errors are generated on the page related to luci-app-adblock (/cgi-bin/luci/admin/services/adblock).
Also, Information section in Luci doesn't work when openwrt behind NGINX.
Additional details: https://my.f5.com/manage/s/article/K000140379
Expected behaviour
Information section in Luci should be working when openwrt behind NGINX reverse proxy.
Steps to reproduce
- put openwrt webserver behind a NGINX reverse proxy
- open the [router_ip]/cgi-bin/luci/admin/services/adblock
- check Information section and browser network (or console) debug tools.
Additional Information
{
"kernel": "5.15.162",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "ASUS TUF-AX4200",
"board_name": "asus,tuf-ax4200",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.4",
"revision": "r24012-d8dd03c46f",
"target": "mediatek/filogic",
"description": "23.05.4 240816"
}
}
What browsers do you see the problem on?
Firefox
Relevant log output
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539837375
[HTTP/2 502 22ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539837718
[HTTP/2 502 16ms]
XHRGET
https://router.abc.com/luci-static/resources/protocol/amneziawg.js?v=git-25.222.75657-7ce34fe
[HTTP/2 404 16ms]
XHRGET
https://router.abc.com/luci-static/resources/protocol/batadv_vlan.js?v=git-25.222.75657-7ce34fe
[HTTP/2 404 31ms]
XHRGET
https://router.abc.com/luci-static/resources/protocol/gre.js?v=git-25.222.75657-7ce34fe
[HTTP/2 404 31ms]
XHRGET
https://router.abc.com/luci-static/resources/protocol/grev6.js?v=git-25.222.75657-7ce34fe
[HTTP/2 404 31ms]
XHRGET
https://router.abc.com/luci-static/resources/protocol/gretap.js?v=git-25.222.75657-7ce34fe
[HTTP/2 404 31ms]
XHRGET
https://router.abc.com/luci-static/resources/protocol/grev6tap.js?v=git-25.222.75657-7ce34fe
[HTTP/2 404 31ms]
NetworkError: HTTP error 404 while loading class file "/luci-static/resources/protocol/amneziawg.js?v=git-25.222.75657-7ce34fe"
at compileClass (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168:16)
at promise callback*require (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184:112)
at getProtocolHandlers/</< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:162)
at getProtocolHandlers/< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:121)
at promise callback*getProtocolHandlers (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1:2060)
at initNetworkState (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55:311)
at getNetworks (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129:54)
at load (https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34:369)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67:17)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load/< (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45:32)
at promise callback*load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44:542)
at render (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48:146)
at render (https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42:41)
raise https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:155
compileClass https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168
promise callback*require https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
promise callback*getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1
initNetworkState https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55
getNetworks https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129
load https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45
promise callback*load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44
render https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48
render https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42
luci.js:161:9
NetworkError: HTTP error 404 while loading class file "/luci-static/resources/protocol/batadv_vlan.js?v=git-25.222.75657-7ce34fe"
at compileClass (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168:16)
at promise callback*require (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184:112)
at getProtocolHandlers/</< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:162)
at getProtocolHandlers/< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:121)
at promise callback*getProtocolHandlers (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1:2060)
at initNetworkState (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55:311)
at getNetworks (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129:54)
at load (https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34:369)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67:17)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load/< (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45:32)
at promise callback*load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44:542)
at render (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48:146)
at render (https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42:41)
raise https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:155
compileClass https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168
promise callback*require https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
promise callback*getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1
initNetworkState https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55
getNetworks https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129
load https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45
promise callback*load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44
render https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48
render https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42
luci.js:161:9
NetworkError: HTTP error 404 while loading class file "/luci-static/resources/protocol/gre.js?v=git-25.222.75657-7ce34fe"
at compileClass (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168:16)
at promise callback*require (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184:112)
at getProtocolHandlers/</< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:162)
at getProtocolHandlers/< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:121)
at promise callback*getProtocolHandlers (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1:2060)
at initNetworkState (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55:311)
at getNetworks (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129:54)
at load (https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34:369)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67:17)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load/< (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45:32)
at promise callback*load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44:542)
at render (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48:146)
at render (https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42:41)
raise https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:155
compileClass https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168
promise callback*require https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
promise callback*getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1
initNetworkState https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55
getNetworks https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129
load https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45
promise callback*load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44
render https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48
render https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42
luci.js:161:9
NetworkError: HTTP error 404 while loading class file "/luci-static/resources/protocol/gretap.js?v=git-25.222.75657-7ce34fe"
at compileClass (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168:16)
at promise callback*require (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184:112)
at getProtocolHandlers/</< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:162)
at getProtocolHandlers/< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:121)
at promise callback*getProtocolHandlers (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1:2060)
at initNetworkState (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55:311)
at getNetworks (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129:54)
at load (https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34:369)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67:17)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load/< (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45:32)
at promise callback*load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44:542)
at render (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48:146)
at render (https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42:41)
raise https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:155
compileClass https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168
promise callback*require https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
promise callback*getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1
initNetworkState https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55
getNetworks https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129
load https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45
promise callback*load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44
render https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48
render https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42
luci.js:161:9
NetworkError: HTTP error 404 while loading class file "/luci-static/resources/protocol/grev6.js?v=git-25.222.75657-7ce34fe"
at compileClass (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168:16)
at promise callback*require (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184:112)
at getProtocolHandlers/</< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:162)
at getProtocolHandlers/< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:121)
at promise callback*getProtocolHandlers (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1:2060)
at initNetworkState (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55:311)
at getNetworks (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129:54)
at load (https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34:369)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67:17)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load/< (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45:32)
at promise callback*load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44:542)
at render (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48:146)
at render (https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42:41)
raise https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:155
compileClass https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168
promise callback*require https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
promise callback*getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1
initNetworkState https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55
getNetworks https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129
load https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45
promise callback*load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44
render https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48
render https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42
luci.js:161:9
NetworkError: HTTP error 404 while loading class file "/luci-static/resources/protocol/grev6tap.js?v=git-25.222.75657-7ce34fe"
at compileClass (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168:16)
at promise callback*require (https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184:112)
at getProtocolHandlers/</< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:162)
at getProtocolHandlers/< (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3:121)
at promise callback*getProtocolHandlers (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1:2060)
at initNetworkState (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55:311)
at getNetworks (https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129:54)
at load (https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34:369)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67:17)
at loadChildren (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30:34)
at load/< (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45:32)
at promise callback*load (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44:542)
at render (https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48:146)
at render (https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42:41)
raise https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:155
compileClass https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:168
promise callback*require https://router.abc.com/luci-static/resources/luci.js?v=git-25.222.75657-7ce34fe:184
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:3
promise callback*getProtocolHandlers https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:1
initNetworkState https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:55
getNetworks https://router.abc.com/luci-static/resources/network.js?v=git-25.222.75657-7ce34fe:129
load https://router.abc.com/luci-static/resources/tools/widgets.js?v=git-25.222.75657-7ce34fe:34
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:67
loadChildren https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:30
load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:45
promise callback*load https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:44
render https://router.abc.com/luci-static/resources/form.js?v=git-25.222.75657-7ce34fe:48
render https://router.abc.com/luci-static/resources/view/adblock/overview.js?v=git-25.222.75657-7ce34fe:42
luci.js:161:9
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539838716
[HTTP/2 502 0ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539839718
[HTTP/2 502 0ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539840718
[HTTP/2 502 0ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539841720
[HTTP/2 502 15ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539842722
[HTTP/2 502 15ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539843724
[HTTP/2 502 0ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539844726
[HTTP/2 502 16ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539845728
[HTTP/2 502 16ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539846730
[HTTP/2 502 0ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539847731
[HTTP/2 502 15ms]
XHRPOST
https://router.abc.com/cgi-bin/cgi-download?1776539848733
[HTTP/2 502 16ms]
Is there an existing issue for this?
screenshots or captures
2026/04/18 21:02:14 [error] 82378#82378: *196256 upstream sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading response header from upstream, client: 192.168.1.112, server: router.abc.com, request: "POST /cgi-bin/cgi-download?1776538935973 HTTP/3.0", upstream: "https://192.168.1.1:443/cgi-bin/cgi-download?1776538935973", referrer: "https://router.abc.com/cgi-bin/luci/admin/services/adblock"
2026/04/18 21:02:15 [error] 82378#82378: *196258 upstream sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading response header from upstream, client: 192.168.1.112, server: router.abc.com, request: "POST /cgi-bin/cgi-download?1776538936977 HTTP/3.0", upstream: "https://192.168.1.1:443/cgi-bin/cgi-download?1776538936977", referrer: "https://router.abc.com/cgi-bin/luci/admin/services/adblock"
2026/04/18 21:02:16 [error] 82378#82378: *196269 upstream sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading response header from upstream, client: 192.168.1.112, server: router.abc.com, request: "POST /cgi-bin/cgi-download?1776538937998 HTTP/3.0", upstream: "https://192.168.1.1:443/cgi-bin/cgi-download?1776538937998", referrer: "https://router.abc.com/cgi-bin/luci/admin/services/adblock"
2026/04/18 21:02:17 [error] 82378#82378: *196273 upstream sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading response header from upstream, client: 192.168.1.112, server: router.abc.com, request: "POST /cgi-bin/cgi-download?1776538939010 HTTP/3.0", upstream: "https://192.168.1.1:443/cgi-bin/cgi-download?1776538939010", referrer: "https://router.abc.com/cgi-bin/luci/admin/services/adblock"
Actual behaviour
If openwrt is behind a NGINX reverse proxy, a lot of there errors are generated on the page related to luci-app-adblock (/cgi-bin/luci/admin/services/adblock).
Also, Information section in Luci doesn't work when openwrt behind NGINX.
Additional details: https://my.f5.com/manage/s/article/K000140379
Expected behaviour
Information section in Luci should be working when openwrt behind NGINX reverse proxy.
Steps to reproduce
Additional Information
{ "kernel": "5.15.162", "hostname": "OpenWrt", "system": "ARMv8 Processor rev 4", "model": "ASUS TUF-AX4200", "board_name": "asus,tuf-ax4200", "rootfs_type": "squashfs", "release": { "distribution": "OpenWrt", "version": "23.05.4", "revision": "r24012-d8dd03c46f", "target": "mediatek/filogic", "description": "23.05.4 240816" } }What browsers do you see the problem on?
Firefox
Relevant log output