msquic
msquic copied to clipboard
QUIC_CONNECTION_EVENT_SHUTDOWN_INITIATED_BY_TRANSPORT with ErrorCode QUIC_ERROR_INTERNAL_ERROR when sending moderately sized stream
Describe the bug
In the attachment are simple sample programs used to reproduce the issue.
At server's QUIC_CONNECTION_EVENT_CONNECTED, it creates a stream and sends the whole msquic.dll inside the directory of server.exe. Client's QUIC_STREAM_EVENT_RECEIVE then writes received data to a file so data can be compared later.
QUIC_CONNECTION_EVENT_SHUTDOWN_INITIATED_BY_TRANSPORT almost always happens mid transmission. This problem only occurs when client runs in a particular pc with wired network connection in someone's home. All other people requested to test did not meet the problem. I think OS version is irrelevant because the problem also occurs in vmware virtual machine running inside that pc, with a different Windows version.
The problem goes away when it switched to wireless, so I assume something is wrong with the cable/network card causing packet drops, but other traditional network programs(browser,mstsc,etc) work without apparant problem.
Affected OS
- [X] Windows
- [ ] Linux
- [ ] macOS
- [ ] Other (specify below)
Additional OS information
No response
MsQuic version
v2.3
Steps taken to reproduce bug
Run server.exe in a machine1 Run client.exe in another machine2 enter the ip of machine1 to client.exe
Expected behavior
client.exe writes client.out which should be identical to msquic.dll
Actual outcome
QUIC_CONNECTION_EVENT_SHUTDOWN_INITIATED_BY_TRANSPORT
Additional details
No response
Can you take a look at these to try to debug the problem?
- For diagnosing issues, see the Diagnostics docs and the Trouble Shooting Guide.
here are log files converted from quic.etl quic.txt contains a successful run and two failed ones quic1.txt and quic2.txt contain only failed runs quictest.zip