You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on server side streams with the grpc-web client i cannot get rid of the net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) error.
Envoy is set up correctly with stream_idle_timeout: 0s.
For testing purposes a 10s short deadline is added to the GrpcMetadata.
Envoy picks this deadline and ends the stream at this deadline.
However everytime when the stream ends the error net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) coming from a post request of the grpc service client via https://github.com/ngx-grpc/ngx-grpc/blob/2d9861c1e993a3496cf763e2d4d37231860a5f9e/packages/grpc-web-client/src/lib/grpc-web-client.ts#L96
is showing up in the developer console.
However, normally the networking issues are connected to
the envoy setup
the particular server side implementation
client library implementation issues. E.g. some guys had already issues with .net + trailing headers + grpc-web client impl, see Not-OK status from backend does not trigger error callback #4 . Probably it's worth checking underlying library's issues (grpc-web or improbable-eng's grpc-web correspondingly).
It's always hard to debug.
Do you see this error if you run the example in this repo?
Hi @smnbbrv
thank you very much for your suggestions .
After spending a few hours testing different clients and proxies i got a working solution for my project by switching to grpc-web-proxy or envoy (v3) instead my probably somehow misconfigured setup before (envoy (v2), grpc-web client with a golang server-side-implementation).
Perhaps https://github.com/johanbrandhorst/grpc-web-compatibility-test is interesting for anyone running a grpc-web stack.
Hi Semen,
on server side streams with the grpc-web client i cannot get rid of the
net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)
error.Envoy is set up correctly with
stream_idle_timeout: 0s
.For testing purposes a 10s short deadline is added to the GrpcMetadata.
Envoy picks this deadline and ends the stream at this deadline.
However everytime when the stream ends the error
net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)
coming from a post request of the grpc service client via https://github.com/ngx-grpc/ngx-grpc/blob/2d9861c1e993a3496cf763e2d4d37231860a5f9e/packages/grpc-web-client/src/lib/grpc-web-client.ts#L96is showing up in the developer console.
Line 83 refers to js:
The text was updated successfully, but these errors were encountered: