Closed nateshmbhat closed 4 years ago
It is unclear if we can act on this without a reproduction. If you manage to construct one please let us know and we reopen the issue.
@nateshmbhat did you solved this question that Stream closed before write could take place? And how can i fix it,thanks!
I am using the GRPCWebClientChannel and I have a backend grpc server.
I am using the
grpc: ^2.1.3
package of dartI am making the request from my
Flutter
app.I have an nginx reverse proxy setup to point to my grpc backend. The flutter web client will make the grpc request to the local nginx server. Nginx will then gprc_pass to the backend URL.
My Client code in dart looks like this :
Here's my Nginx config :
The request reaches the backend but gives the following error in backend :
Stream closed before write could take place
:Here are the logs :