Code Monkey home page Code Monkey logo

Comments (14)

jeffijoe avatar jeffijoe commented on June 13, 2024 3

We haven't seen the same issue reoccurring since we upgraded to 1.10.3.

from grpc-node.

acdcjunior avatar acdcjunior commented on June 13, 2024 1

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.

murgatroid99 avatar murgatroid99 commented on June 13, 2024

Can you narrow down if this is a problem on the handling requests side or the making requests side?

from grpc-node.

julienfouilhe avatar julienfouilhe commented on June 13, 2024

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.

Ganitzsh avatar Ganitzsh commented on June 13, 2024

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.

udnes99 avatar udnes99 commented on June 13, 2024

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.

julienfouilhe avatar julienfouilhe commented on June 13, 2024

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.

murgatroid99 avatar murgatroid99 commented on June 13, 2024

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.

jeffijoe avatar jeffijoe commented on June 13, 2024

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.

murgatroid99 avatar murgatroid99 commented on June 13, 2024

@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.

jeffijoe avatar jeffijoe commented on June 13, 2024

@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.

michaelAtCoalesce avatar michaelAtCoalesce commented on June 13, 2024

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.

julienfouilhe avatar julienfouilhe commented on June 13, 2024

@michaelAtCoalesce it seems to be the same issue yes.

from grpc-node.

FredrikAugust avatar FredrikAugust commented on June 13, 2024

Is this fixed by 1.10.3?

from grpc-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.