-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slamming Pub/Sub with publishJSON requests yields google-gax timeout errors #885
Comments
@willbattel Thanks for posting this! I'm going to link this to the meta-issue I've been building in regards to things that be grpc-js issues. I don't guess you've tried with the C++ bindings? |
@feywind just tried it now. Following the Looking at the Pub/Sub console, it seems significantly more messages did get published than before changing to EDIT: Running it again yielded a different error- not sure what happened the first time but here is the stack trace when using
|
@feywind upon further inspection, it looks like almost all, if not all, documents did get sent over to the receiving subscriber. I'm still not sure why we see the errors in Stackdriver (see EDIT in previous comment), but if those errors hadn't appeared it would have seemed to work without issue when using |
Going through the issue list again here. Is this something that's still going on for you? If so, I can see if someone on the grpc team has any ideas. |
I believe so, but let me take a closer look again this weekend and get back to you with more specifics. |
I am receiving this message now simply doing one call with
|
Can anyone who's had this problem go ahead and try it with the latest I'm going to see if someone who handles |
@feywind I'll revisit this as soon as I can- likely the week after next. |
I am also facing same problem. Did you guys found fix? |
I ended up using Python which doesn't have the problem
On Mon, Jul 13, 2020 at 8:12 PM Sameer Verma ***@***.***> wrote:
I am also facing same problem. Did you guys found fix?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#885 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAETASQIZEGN7AMAUJ24U3R3L227ANCNFSM4KTO3BXA>
.
--
Luke Love
|
As of 2.5.0, we're explicitly pulling in a new gax (and grpc-js) here. Did anyone see any improvement from that? There was also a microgenerator bug having to do with batching support. |
We're not currently using the program that produced the errors, so I cannot comment on any improvements unfortunately. If we do restore that service I'll take a look. In any case, thanks for looking into this! |
It kind of sounds like everyone who was having problems has moved off to other solutions. That's a bummer, but also I'm glad you're not blocked! If anyone still ends up needing help or has more comments on it, please feel free to re-open. |
I've noticed numerous other related issues, but followed the recommendation here #770 (comment) to post a new issue in isolation for posterity, just in case.
Environment details
^10
@google-cloud/pubsub
version: 1.5.0Steps to reproduce
We have a utility service, run only occasionally on demand of our data science team, where we are streaming documents from Firestore, and publishing each document received to a Pub/Sub topic in a different GCP project. The first few thousand messages are published without issue, but at some arbitrary point, about 100 seconds into slamming Pub/Sub with these requests, we repeatedly encounter the following error, after which the App Engine instance is unrecoverable.
I have simplified+obfuscated our code below.
Additionally, here is our
package.json
dependency list including dependencies used but not shown in above code.Please let me know if I can provide further information useful for finding the problem+solution. Thanks!
The text was updated successfully, but these errors were encountered: