google-cloud-dotnet: "Transport Closed" and "GOAWAY received" error on StreamAsync
For some days using firestore. Sometimes I got this error on using this library on aws dotnet lambda with this code
<PackageReference Include="Google.Cloud.Firestore" Version="1.0.0-beta02" />
////
var docID = await firestoreDB.Collection("users").Where(path,equal,id).StreamAsync().Where((resp) => resp.Exists).Select((resp) => resp.Id).FirstOrDefault()
The error is
{
"Grpc.Core.RpcException": [
"Status(StatusCode=Unavailable, Detail=\"Transport closed\")"
]
}
and
{
"Grpc.Core.RpcException": [
"Status(StatusCode=Internal, Detail=\"GOAWAY received\")"
]
}
Seem like it not really about StreamAsync
api but it is the first API that would be get called on my server
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 31
Yes, just add a dependency to Grpc.Core, version 1.9.0, and that’s what will be used.