libp2p / js-libp2p-webtransport

WebTranport module that libp2p uses and that implements the interface-transport spec
Other
15 stars 5 forks source link

Connection closed after a while #18

Open MarcoPolo opened 1 year ago

MarcoPolo commented 1 year ago

After a couple seconds we see the connection close, then fail to startup again with the following error:

Failed to establish a connection to https://172.31.6.56:4002/.well-known/libp2p-webtransport?type=noise: net::ERR_QUIC_PROTOCOL_ERROR.QUIC_NETWORK_IDLE_TIMEOUT (No recent network activity after 4000725us. Timeout:4snum_undecryptable_packets: 0 {}).
marten-seemann commented 1 year ago

Can you record a qlog on the server side?

silkroadnomad commented 1 year ago

if you can share some info how to make a qlog, I can make one. I had the same experience.

MarcoPolo commented 1 year ago

On the Go server set the env var: QLOGDIR=/tmp/qlog

MarcoPolo commented 1 year ago

Closing an idle connection is expected. The issue here is that sometimes we can't reconnect.