connectrpc / connectrpc.com

Docs, governance, and RFCs for Connect: Protobuf RPC that works.
https://connectrpc.com
Apache License 2.0
13 stars 17 forks source link

Docs: update stream error FAQ #178

Open D4ryl00 opened 2 weeks ago

D4ryl00 commented 2 weeks ago

Hi! I encountered an error on a server stream call that is not well documented. The full discussion is here: https://github.com/connectrpc/connect-go/discussions/757

To summarize, the WriteTimeout on the http.Server caused me this error after the timeout: invalid_argument: protocol error: incomplete envelope: unexpected. Should we update the documentation here to mention that?

Thanks.

D4ryl00 commented 2 weeks ago

Or may connect-go be fixed to return a more appropriate error? In this case, should I open a PR in the connect-go repository?