Hi Jean-Frederic, please open a new issue on the github.com openssl project. This needs to be properly investigated. It definitely looks like a bug. Tomas Mraz, OpenSSL On Mon, 2024-09-09 at 15:33 +0200, jean-frederic clere wrote: > On 9/6/24 5:46 PM, jean-frederic clere wrote: > > On 9/6/24 3:07 PM, jean-frederic clere wrote: > > > Hi, > > > > > > After 4096 requests using the same http3 connection on my demo > > > server > > > I have the error: > > > +++ > > > 40FC58266D7F0000:error:0A0C0103:SSL routines:ch_tx:internal > > > error:ssl/quic/quic_channel.c:2489:QUIC error code: 0x1 > > > (INTERNAL_ERROR), reason: "internal error (txp generate)" > > > +++ > > > > > > The specs says: > > > "Subsequent packets sent in the same packet number space MUST > > > increase > > > the packet number by at least one" > > > > > > trace: > > > +++ > > > ^{"name":"transport:packet_sent","data":{"header":{"packet_type": > > > "1RTT","packet_number":29839,"dcid":""},"datagram_id":29843,"fram > > > es":[{"frame_type":"stream","stream_id":16380,"offset":4113,"payl > > > oad_length":1007,"explicit_length":true,"fin":true,"length":7}]}, > > > "time":0} > > > ^^{"name":"transport:packet_received","data":{"header":{"packet_t > > > ype":"1RTT","packet_number":9658,"dcid":"296373b34188f6db"},"data > > > gram_id":9216,"frames":[{"frame_type":"ack","ack_delay":2,"acked_ > > > ranges":[[29682,29818]],"length":10}]},"time":1} > > > ^^{"name":"transport:packet_sent","data":{"header":{"packet_type" > > > :"1RTT","packet_number":29840,"dcid":""},"datagram_id":29844,"fra > > > mes":[{"frame_type":"stream","stream_id":16384,"offset":0,"payloa > > > d_length":0,"explicit_length":false,"length":5}]},"time":1} > > > ^^{"name":"connectivity:connection_closed","data":{"owner":"local > > > ","connection_code":"internal_error","reason":"internal error > > > (txp generate)"},"time":0} > > > ^^{"name":"connectivity:connection_state_updated","data":{"state" > > > :"closing"},"time":0} > > > ^^{"name":"transport:packet_sent","data":{"header":{"packet_type" > > > :"1RTT","packet_number":29844,"dcid":""},"datagram_id":29848,"fra > > > mes":[{"frame_type":"connection_close","error_space":"transport", > > > "error_code_value":1,"reason":"internal error (txp > > > generate)","length":33},{"frame_type":"stream","stream_id":16384, > > > "offset":3468,"payload_length":0,"explicit_length":false,"length" > > > :7}]},"time":7} > > > +++ > > > I don't see something like 2**62 here, what do I miss? > > > > Can't really why but in > > https://github.com/openssl/openssl/blob/feature/quic-server/ssl/quic/quic_txp.c#L902 > > txp_pkt_commit() seems to fail :-( > > In fact qtx_write() fails (here: > https://github.com/openssl/openssl/blob/feature/quic-server/ssl/quic/quic_record_tx.c#L666 > ). > According to my debug pred_hdr_len is 5 and payload_len 1196 so 1 > byte > too big :-( > > > > > > > > > > > > > -- > Cheers > > Jean-Frederic > -- Tomáš Mráz, OpenSSL -- You received this message because you are subscribed to the Google Groups "openssl-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe@xxxxxxxxxxx. To view this discussion on the web visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/c2a1b477e0a2717577d885bcaa7e1ab6c9c58697.camel%40openssl.org.