Skip to content
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

Http3 example not working #1559

Open
Yuu6883 opened this issue Jan 21, 2023 · 0 comments
Open

Http3 example not working #1559

Yuu6883 opened this issue Jan 21, 2023 · 0 comments

Comments

@Yuu6883
Copy link

Yuu6883 commented Jan 21, 2023

Bootstrap server works but not the H3App server - tested on Firefox, code version 20.36.0
Not sure what is causing this issue, firefox doesn't have any output.
Server output after uncommented some logging:

yuu@ubuntu-server:~/quic-test$ ./Http3Server
Bootstrapping server Listening on port 9004
Creating socket context with ssl: misc/key.pem
Engine: 0x55973f746ab0
Client Engine: 0x55973f77d090
The port of UDP is: 9004
HTTP/3 server Listening on port 9004
We got no ECN!
Reading UDP of size 1357
We received packet on port: 9004
getting ssl ctx now, peer_ctx: 0x55973f77d010
Key: misc/key.pem
Cert: misc/cert.pem
loaded cert and key? 1, 1
yolo SNI server_name_cb
existing name is: (null)
set name is: YOLO NAME!
simply returning old ctx in sni
select_alpn
OPENSSL_NPN_NEGOTIATED
Engine returned: 0
We got no ECN!
Reading UDP of size 1357
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 3 of 3
We got no ECN!
Reading UDP of size 42
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 111
We received packet on port: 9004
Engine returned: 0
Context is: 0x55973f745cc0
QUIC socket connected!
send_packets_out: returning 2 of 2
We got no ECN!
Reading UDP of size 317
We received packet on port: 9004
Stream open!
Engine returned: 0
wrote until end, shutting down now!
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 31
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 1 of 1
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 1 of 1
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
send_packets_out: returning 1 of 1
We got no ECN!
Reading UDP of size 32
We received packet on port: 9004
Engine returned: 0
on_conn_closed!
QUIC socket disconnected!
Http3Server: uWebSockets/uSockets/lsquic/src/liblsquic/lsquic_full_conn_ietf.c:3133: ietf_full_conn_ci_destroy: Assertion `conn->ifc_conn.cn_conn_ctx == NULL' failed.
Aborted (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant