Opening multiple webtransport sessions in a row and 'Connection Lost'

78 views
Skip to first unread message

Marten Richter

unread,
Dec 17, 2022, 4:51:58 AM12/17/22
to web-transport-dev
Hi,
I have the following problem with the quiche lib and chromium.
It is actually a unit test, where chromium runs in playwright, but I think I have seen the same also in a complex project.

The unit test has a server run, the node webtransport plugin does the job with different endpoints for a different test. The client (in this case chromium) does several tests in a row all open with `new WebTransport`a new session on the server and occasionally (one out of 20) the last test fails with a "Connection lost" probably from the client right after the creation of the new WebTransport.
With logging, I can say, that I even do not have an OnSocketEvent with a flag readable in this case on the server side (the server is running in a Debian container on Windows, if it matters).

So what do you think, is chromium trying to reuse an old connection, where all sessions and streams are gone (default is according to spec to not reuse a connection) or just in the time of calling going away? Or do you think I have a problem with the event loop not firing on a socket..? Does it sound like a bug on my side or in chromium (should I file a bug)?
Thanks!
Marten 

Marten Richter

unread,
Dec 20, 2022, 11:11:34 AM12/20/22
to web-transport-dev, Marten Richter
May be unrelated, but I have found out, that in another setup, same code, the blackhole detection was triggered.
Can it be that running quic stuff using windows in docker containers recreates problems in the network? Or does it indicate problems in the eventloop?
Marten

Marten Richter

unread,
Jan 15, 2023, 9:18:16 AM1/15/23
to web-transport-dev, Marten Richter
Ok, well I am talking to myself. Anyway, it can be that an earlier session in the testing environment flooded the client with datagrams, which may have flooded a buffer in chormium and caused the failure. But I am not sure, the test in CI are pending.
Reply all
Reply to author
Forward
0 new messages