Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:luci:luci.on.lighttpd [2021/04/21 09:43] – Workaround for HTTP/2 issue oldiumdocs:guide-user:luci:luci.on.lighttpd [2021/04/23 14:01] oldium
Line 9: Line 9:
   * [[docs:guide-user:luci:luci.essentials]]    * [[docs:guide-user:luci:luci.essentials]] 
  
-:!: From the lighttpd server **version 1.4.56**, the HTTP/2 is enabled by configuration, **version 1.4.59** has it enabled by default, so if you have a modern browser, it will use the new protocol. There is a [[https://redmine.lighttpd.net/issues/3078|problem]] with HTTP/2 implementation, which prevents initial loading of the LuCi page, so be aware that you need to **reload** the web page after initial loading in order to work-around the issue, or disable HTTP/2 in the [[docs:guide-user:luci:luci.on.lighttpd#http2_workaround|configuration]]. +:!: From the lighttpd server **version 1.4.56**, the HTTP/2 is enabled by configuration, **version 1.4.59** has it enabled by default, so if you have a modern browser, it will use the new protocol. There is a [[https://redmine.lighttpd.net/issues/3078|problem]] with HTTP/2 implementation, which might influence loading of LuCI page and might prevent its usage. Pressing F5 (**reload**) makes the page working again (once for login page, once after logging in), or there is a possibility to work-around the issue and disable HTTP/2 in the [[docs:guide-user:luci:luci.on.lighttpd#http2_issue_workaround|configuration]].
  
 ===== Installation ===== ===== Installation =====
Line 115: Line 114:
 ☝ The key to understand it is that ''+='' merges the values, '':='' replaces/overwrites previously assigned value and ''='' simply assigns a value if not set already (see [[https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration|lighttpd configuration documentation]]). ☝ The key to understand it is that ''+='' merges the values, '':='' replaces/overwrites previously assigned value and ''='' simply assigns a value if not set already (see [[https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Configuration|lighttpd configuration documentation]]).
  
-==== HTTP/2 Workaround ====+==== HTTP/Issue Workaround ====
  
-OpenWrt enabled HTTP/2 in version 1.4.56 in the configuration. Usage of HTTP/2 exposed a [[https://redmine.lighttpd.net/issues/3078|problem]] in HTTP/2 implementation, which causes failures of some initial requests made during web page loading, the page becomes unusable and needs to be reloaded by pressing F5 in the browser. In order to work-around the HTTP/problem, the protocol can be disabled either directly in ''/etc/lighttpd/lighttpd.conf'' or your own config file:+OpenWrt enabled HTTP/2 in version 1.4.56 in the configuration, version 1.4.59 has it enabled by default. Usage of HTTP/2 exposed a [[https://redmine.lighttpd.net/issues/3078|problem]] in HTTP/2 implementation, which might influence loading of LuCI page and might prevent its normal usage. Pressing F5 (**reload**) makes the page working again (once for login page, once after logging in), or there is a possibility to work-around the issue and disable HTTP/2 in ''/etc/lighttpd/lighttpd.conf'':
  
 <code> <code>
  • Last modified: 2021/04/25 05:51
  • by oldium