zeebe-client-node-js icon indicating copy to clipboard operation
zeebe-client-node-js copied to clipboard

Excessive pings error

Open jwulf opened this issue 2 years ago • 4 comments

Running 8.0.1 of the zeebe-client-node against 8.0.2 of Zeebe triggers this error each time the app comes up:

stderr E Connection to dns:camunda8-zeebe-gateway:26500 at 172.20.40.118:26500 rejected by server because of excess pings. Increasing ping interval to 180000 ms

jwulf avatar Jun 30 '22 00:06 jwulf

This is most probably due to either grpc.keepalive_time_ms or grpc.http2.min_time_between_pings_ms setting in src/lib/GrpcClient.ts.

Making these configurable via env vars and constructor will be the way to go.

jwulf avatar Jun 30 '22 00:06 jwulf

Reproducer under construction: https://github.com/jwulf/zeebe-node-262-reproducer

jwulf avatar Jun 30 '22 00:06 jwulf

Reproducer did not reproduce it on my Macbook either. I have also packaged the reproducer in a docker container and run it like we run our app. That also did not reproduce it. I will try more things tomorrow.

dave-apex avatar Jun 30 '22 23:06 dave-apex

Just a quick update. We still see this message sporadically and continue to try to find the pattern to reproduce it.

dave-apex avatar Jul 06 '22 13:07 dave-apex

Any further observations of this @dave-apex?

jwulf avatar Oct 24 '23 04:10 jwulf

@jwulf Apologies for the delayed response. We have been focused on other projects and have not had time to come back to this to try to zero in on the problem.

dave-apex avatar Oct 24 '23 20:10 dave-apex

Closing this over here. If it is an issue with the new client and affects users, we will open an issue over here: https://github.com/camunda-community-hub/camunda-8-js-sdk/issues

jwulf avatar Mar 07 '24 04:03 jwulf