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

INTERNAL: Internal error Rst Stream above okhttp 1.47.1 version #11051

Closed
polingsky opened this issue Mar 28, 2024 · 4 comments
Closed

INTERNAL: Internal error Rst Stream above okhttp 1.47.1 version #11051

polingsky opened this issue Mar 28, 2024 · 4 comments
Labels
question Waiting on reporter there was a request for more information without a response or answer or advice has been provided

Comments

@polingsky
Copy link

What version of gRPC-Java are you using?
1.47.1

What is your environment?
for Android, grpc verison v1.47.1
Tested with Android 6 to Android 14

app client ManagedChannel = OkHttpChannelBuilder.forAddress(TLS_HOST, TLS_PORT)
.overrideAuthority(TLS_HOST)
.sslSocketFactory(socketFactory)
.maxInboundMetadataSize(Integer.MAX_VALUE)
.maxInboundMessageSize(20 * 1024 * 1024)
.idleTimeout(2, TimeUnit.MINUTES)
.build();

Server side
.net 2.61.0

What did you expect to see?
I expect to be able to reuse the same ManagedChannel for each grpc call.
But it will somtimes fail and trigger INTERNAL: Internal error Rst Stream above okhttp 1.46.1 version (1.47.1 to 1.62.2).
This error not happend below okhttp 1.46.1 version (1.35.0 to 1.46.1)

What did you see instead?
INTERNAL: Internal error Rst Stream

On Android client side
INTERNAL: Internal error
Rst Stream|Status{code=INTERNAL, description=Internal error
Rst Stream, cause=null}

On .net server side
No error

@ejona86
Copy link
Member

ejona86 commented Mar 28, 2024

There's not much to go on here. None of the changes between 1.46 and 1.47 to okhttp/ and core/ jump out as interesting. HTTP/2 doesn't propagate much information for RST_STREAM(INTERNAL), so there's really no details to investigate on client-side. We really need more information from the server-side, or an approximate reproduction. I do expect there are very few sources of error that would cause a RST_STREAM(INTERNAL) in .net. Would you mind opening an issue on the .Net side (and CC me)? They may be able to help narrow it down.

@polingsky
Copy link
Author

@ejona86 hello sir, thanks your reply
I post the issue to .Net project
grpc/grpc-dotnet#2399

But I dont know how to CC to you?

@ejona86
Copy link
Member

ejona86 commented Mar 29, 2024

Thanks, that works. I had meant you could just mention me (@ejona86) on that issue, which auto-subscribes me. But I've subscribed to the issue now, so things are fine.

@temawi temawi added the Waiting on reporter there was a request for more information without a response or answer or advice has been provided label Apr 10, 2024
@ejona86
Copy link
Member

ejona86 commented Apr 17, 2024

Since this really needs more investigation from .Net before we can do anything, I'm going to close this for now since we can't do anything more. If you get additional info, comment and we can reopen, or file a new issue.

@ejona86 ejona86 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Waiting on reporter there was a request for more information without a response or answer or advice has been provided
Projects
None yet
Development

No branches or pull requests

3 participants