Welcome! Log In Create A New Profile

Advanced

Re: Issue with getting to HTTP/3 or QUIC on first connect

Eric Germann via nginx
March 09, 2023 09:24AM
For the archives:

- I pulled down latest version of nginx-quic and built it. The error seems to be resolved. First page on the site now shows http/3
- As for https://http3check.net https://http3check.net/, the reason it failed was I had the root page protected behind basic auth. Since it doesn’t send auth info, it 401’d and caused the page to throw an error. I’m going to write to them and ask them to toss up a clearer answer, whether it’s a negotiation error or a http error.

Thanks for the assist. The debug log is where I found the 401

Eric


> On Mar 9, 2023, at 04:41, Roman Arutyunyan <arut@nginx.com> wrote:
>
> Hi Eric,
>
>> On 9 Mar 2023, at 10:56, Eric Germann via nginx <nginx@nginx.org <mailto:nginx@nginx.org>> wrote:
>>
>> I’m having an issue where I (think I) have enabled HTTP3 correctly on my nginx server. When I connect to the server the first time, it indicates HTTP/2 in the logs. If I hit refresh it indicates HTTP/3 from then on.
>
> Normally you connect to the server using regular https first (http/2 is probably an option as well).
> Only after that the client analyses Alt-Svc response header and tries http/3.
>
>> So something is wrong with the configuration of the server to offer headers to negotiate it. I’ve even added HTTPS DNS records to indicate the preferred connection schemes.
>> Bonus points if you can help me get QUIC working too.
>>
>> The result of http3check.net http://http3check.net/ is "HTTP/3 Check could not get the server's advertised QUIC versions due to the error given below.
>> Bad status code from server.
> Can you please check nginx error.log for errors? If no errors, can you please enable debugging and send the error.log to me.
>
>> Thanks in advance for any pointers
>>
>> Eric
>>
>> Source code was pulled 2023-02-27
>>
>>
>> Build information is:
>>
>> nginx version: nginx/1.23.4
>> built by gcc 7.3.1 20180712 (Red Hat 7.3.1-15) (GCC)
>> built with OpenSSL 3.0.8+quic 7 Feb 2023
>> TLS SNI support enabled
>> configure arguments: --with-threads --with-cc-opt='-static -static-libgcc' --with-ld-opt=-static --with-debug --with-compat --with-file-aio --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_realip_module --with-http_realip_module --with-http_secure_link_module --with-http_random_index_module --with-http_geoip_module --with-http_ssl_module --with-http_v2_module --with-http_v3_module --with-stream_quic_module --with-http_sub_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-cc-opt=-I/usr/local/include --with-ld-opt=-L/usr/local/lib --with-openssl=../quictls --with-openssl-opt=enable-tls1_3 --add-module=/source/ngx_brotli
>>

<SNIP>



</SNIP>
>
> ----
> Roman Arutyunyan
> arut@nginx.com

_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Issue with getting to HTTP/3 or QUIC on first connect

Eric Germann via nginx March 09, 2023 01:58AM

Re: Issue with getting to HTTP/3 or QUIC on first connect

Eric Germann via nginx March 09, 2023 02:18AM

Re: Issue with getting to HTTP/3 or QUIC on first connect

Roman Arutyunyan March 09, 2023 04:42AM

Re: Issue with getting to HTTP/3 or QUIC on first connect

Eric Germann via nginx March 09, 2023 09:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 203
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready