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

QUIC_CONNECTION_EVENT_SHUTDOWN_INITIATED_BY_TRANSPORT with ErrorCode QUIC_ERROR_INTERNAL_ERROR when sending moderately sized stream #4233

Open
1 of 4 tasks
shit-lord opened this issue Apr 9, 2024 · 1 comment
Labels
external Proposed by non-MSFT question Further information is requested
Milestone

Comments

@shit-lord
Copy link

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.

quictest.zip

Affected OS

  • 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

@shit-lord shit-lord changed the title Bug title QUIC_CONNECTION_EVENT_SHUTDOWN_INITIATED_BY_TRANSPORT with ErrorCode QUIC_ERROR_INTERNAL_ERROR when sending moderately sized stream Apr 9, 2024
@nibanks nibanks added question Further information is requested external Proposed by non-MSFT labels May 13, 2024
@nibanks nibanks modified the milestone: Future May 13, 2024
@nibanks
Copy link
Member

nibanks commented May 13, 2024

Can you take a look at these to try to debug the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Proposed by non-MSFT question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants