Quic / http/3 not working in version 1.7.1 directadmin version

gilles

Active Member
#21
Update:
Running lsup.sh -e 1.7.7 today to get the updated development release (for a separate caching issue) seems to have re-enabled http/3 & QUIC.
 

gilles

Active Member
#23
Well, what do you know, today http/3 is gone again. One thing I did was enabling high debug server log and then turning it off.

Another one was adding this to the headers:
Header append Vary Accept env=REQUEST_image
and this to the .htaccess file:
Code:
# Pick webp images when available
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_ACCEPT} "image/webp" [or]
RewriteCond %{HTTP_USER_AGENT} "Page Speed"
RewriteCond %{DOCUMENT_ROOT}/$1.webp -f
RewriteRule (.+\.(jpe?g|png))$ $1.webp [T=image/webp,E=REQUEST_image]
RewriteCond %{HTTP_USER_AGENT} iPhone.*Version/(\d{2}).*Safari
RewriteCond %1 >13
RewriteCond %{DOCUMENT_ROOT}/$1.webp -f
RewriteRule (.+\.(jpe?g|png))$ $1.webp [T=image/webp,E=REQUEST_image]
</IfModule>
Neither of these things should have any impact on http/3 though.
 

gilles

Active Member
#24
It came back after I stopped lsws, killed all lsphp processes, and restarted lsws. Will probably go away again at some point. At least that has been my experience. Works after restart only for a while.
 

gilles

Active Member
#25
FYI This has been root-caused to a OLS bug in v1.7.* (not sure about v1.6.*) that happens on (at least GUI) restart when the server socket is recovered. It does not happen when doing a start from clean when nothing is running.

The bug prevents the alt-svc header from being added for new requests. This means existing http/3 connections will continue to work but no new http/3 connections will get initiated. Which is consistent with all my observations.

The fix should be coming soon-ish, most likely in v1.7.7. Thanks to David from support for working with me to resolve this issue :)
 
Top