New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[logs] content rendered illegible #3430
Comments
I am aware that it does not reproduce with OpenWrt 18.06.x (TOS4.x) or 19.07 (TOS5.x) and until 2 days ago it did not exhibit the issue on Master (TOS6.x) either. But latest changes in the aforementioned LuCI packages seems to have introduced the bug. |
Again, which device and what OS are you using? Plain vanilla OpenWrt or a TOS variant? |
TOS6.x on Turris Omnia (hardware revision CZ11NIC20), however the issue is not caused by the downstream distro since LuCI packages are not being patched in such way to cause this. |
Not reproducible on OpenWrt master. Maybe something is wrong with |
@n8v8R - do you maybe use |
@jow- No, neither that LuCI applet nor nginx at all. |
@jow- Narrowed it down to Downstream is not patching this package in their build root and thus this seems to be an issue originating from the OpenWrt code source instead. During the upgrade it exhibits:
That correlates with the log rendering issues reported and the observation that the Firewall status is neither working but instead showing a spinner alongside Collecting data... ✅ /cgi-bin/luci/admin/status/overview |
You‘re using LuCI on lighttpd and from the symptoms you describe, it‘s CGI setup is broken. It seems as if |
It seems that commit fails to implement the appropriate response header as per https://tools.ietf.org/html/rfc3875#section-6 |
The This is a bug in lighttpd's configuration. LuCI assumes that executables in |
The advise on the lighttpd forum been different [1]
I do not think so, the config for LuCI in lighttpd reads (and works perfectly fine otherwise)
Responding with such header is valid of course but the MIME type As stipulated by rfc3875 [2]
[1] https://redmine.lighttpd.net/boards/2/topics/8893 |
I am not sure what you're getting at. The script sends a Also your linked bug report does not make sense at all. It appears to me that you're confusing the request content-type and the response content-type. The request is sent encoded as In the case of simple CGI operation, the webserver is supposed to act as application proxy (or gateway), nothing more. |
Let us recap for a moment:
|
Debugged it myself now. It indeed is a lighttpd specific problem. Lighttpd does not follow symlinks in You need to add the following explicit
Yes, because commit f3724e4 started using a new |
Thank you for having taking the time to get to the bottom of this. |
Apparently the following is the only needed thing to provide the expected behavior of "execute anything in /cgi-bin/ as CGI":
I'd argue that this should even be the default contents of |
For posterity feedback from the lighttpd folks
|
tried different themes | browsers but all met with same illegible render however (log files are legible via ssh)
The text was updated successfully, but these errors were encountered: