cachapa / firedart

A dart-native implementation of the Firebase Auth and Firestore SDKs
https://pub.dev/packages/firedart
Apache License 2.0
174 stars 62 forks source link

Stream terminated by peer #87

Closed maxpill closed 1 year ago

maxpill commented 2 years ago

On calling .set() method an unhandled gRPC Stream was terminated by peer error is thrown.

        Firestore.instance
            .collection(path)
            .document(docPath)
            .set(value);
Handling error gRPC Error (code: 2, codeName: UNKNOWN, message: HTTP/2 error: Stream error: Stream was terminated by peer (errorCode: 7)., details: null, rawResponse: null, trailers: {}) using FirestoreGateway._handleError
Unhandled exception:
gRPC Error (code: 2, codeName: UNKNOWN, message: HTTP/2 error: Stream error: Stream was terminated by peer (errorCode: 7)., details: null, rawResponse: null, trailers: {})
Debugger
dovahkinnn commented 1 year ago

I'm getting this error too, did you find a solution?

maxpill commented 1 year ago

Unfortunately not. Used another library

marcglasberg commented 1 year ago

Hey @maxpill, could you please tell us which library are you using? Thanks!

maxpill commented 1 year ago

Hello @marcglasberg !

I do not remember what the case was exactly and cannot check right now, but what I can tell you is that the version of the lib that worked for me was:

firedart: ^0.9.0+1,

Max

cachapa commented 1 year ago

Closing this since the problem seems to be fixed per the last comment.

patricknicolosi commented 10 months ago

Still the same problem!!! You can't close an issue like this

cachapa commented 10 months ago

@patricknicolosi please be more respectful, everybody here is a volunteering their time.

Can you still reproduce the problem?