connectrpc.com icon indicating copy to clipboard operation
connectrpc.com copied to clipboard

Docs: update stream error FAQ

Open D4ryl00 opened this issue 1 year ago • 1 comments

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 avatar Jun 26 '24 12:06 D4ryl00

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?

D4ryl00 avatar Jun 26 '24 13:06 D4ryl00