Skip to content

ok http read header error #4261

@m11y

Description

@m11y

What version of gRPC are you using?

server: 1.10.0 / jdk8
client: 1.10.0/okhttp

Since nginx 1.13.10 support grpc proxy, we are considering replace envoy with nginx. It works very when client is netty, but got exception on Android.

io.grpc.StatusRuntimeException: INTERNAL: Missing HTTP status code
trailers: Metadata(x-request-id=57743f9b-d196-4780-a689-8743e6fa7f9b,grpcjersey.headers-bin=,grpc-status=2,grpc-message=65)

After some dig, I found okhttp failed to parse :status: and content-type header.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions