Comments (14)
We haven't seen the same issue reoccurring since we upgraded to 1.10.3.
from grpc-node.
Hey, faced similar issue after upgrading to 1.10.2. The best we know so far is after some time (not a lot) new requests just hang without getting any data from the server.
We have many instances of this service that uses grpc-js and eventually all begin to fail and never recover. This could be related to idleness since they wouldn't start to fail all at the same time.
Reverting the version made the issue go away.
from grpc-node.
Can you narrow down if this is a problem on the handling requests side or the making requests side?
from grpc-node.
It seems to be on the "making requests" side, as I can see logs coming in for the grpc-js
server, but the service it's making requests to does not receive the requests (this other microservice is written in Rust and therefore does not run grpc-js).
from grpc-node.
I can confirm this, we had the exact same issue with multiple services running on GCP. Downgrading was the fix, hopefully this gets addressed soon.
from grpc-node.
Confirmed. We experienced the exact same issue, also for multiple services running on GCP.
It especially affected the Datastore node client which caused few requestst to succeed because transactions would time out.
from grpc-node.
Yep I forgot to mention it but my services are also running on GCP. More specifically on Cloud Run, which does not allocate CPU outside requests (maybe that's a hint?).
from grpc-node.
I just published version 1.10.3 with a change that reverts my best guess for the cause of this problem. Please try it out.
from grpc-node.
We're experiencing a similar issue using Google Cloud PubSub which is gRPC-based, same symptoms, basically we're getting DEADLINE_EXCEEDED
or the client says it waited too long for response data.
Pushing an update to our backend now with 1.10.3 and hope that fixes it. We noticed that it happened during times of inactivity, so #2677 could also be a culprit, but we'll know more in the next few hours/days as it was very random.
from grpc-node.
@jeffijoe can you be more specific about what part of #2677 you think might cause this problem? If you're talking about the session idle timeout change, that shouldn't be relevant here, because this bug is on the client side and that was a server-side change.
from grpc-node.
@murgatroid99 I was mostly skimming that one, I saw "idle" mentioned there and figured it could be related considering how we've observed this often during downtime (overnight), so don't mind me 😅
from grpc-node.
is this issue the same as what we are seeing? we are seeing hangs in our usage of firestore, after turning on the grpc traces, we see v1.10.2 in the logs.
firebase/firebase-admin-node#2495
from grpc-node.
@michaelAtCoalesce it seems to be the same issue yes.
from grpc-node.
Is this fixed by 1.10.3
?
from grpc-node.
Related Issues (20)
- grpc-js servers not sending keepalives HOT 8
- RST_STREAM with code 2 / system error -505 when using HTTP CONNECT proxy HOT 6
- it is not up to the expectations after editing `max_connection_xxx` params【in kubernetes】 HOT 4
- Unable to use google.protobuf.Struct with @grpc/grpc-js HOT 1
- Grpc Unary calls not giving any response after client is in idle for some time(30mins) HOT 10
- can we provide a detailed tutorial of grpc-js-xds? HOT 1
- How to capture gRPC keep alives with tcpdump? HOT 2
- not sure why i'm seeing grpc blocking the event loop so often HOT 4
- if the message has an optional field with a return value, the proto will attach a same name field with `_` prefix. why? HOT 2
- TypeError: The "original" argument must be of type Function | @grpc/grpc-js/build/src/resolver-dns.js HOT 3
- Exposing connection error reasons (ie, TLS failures) HOT 3
- Clarify build steps for v10+ HOT 2
- Discussion: Why HTTP2 pseudo headers such as :authory are removed from Metadata HOT 1
- Deadline examples/docs could use clarification HOT 8
- When response stream includes messages and then an error, final message(s) can be dropped HOT 1
- Servers base64-encode “grpc-status-details-bin” header with padding, but should be unpadded HOT 1
- Server does not check the HTTP method of the request HOT 2
- Compression handling has some issues
- Cardinality violations should use error code “unimplemented” HOT 2
- Servers send grpc-message trailer even when no error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpc-node.