I am trying to migrate to a gRPC client and am running into frequent “Connection lost” errors.
I’ve setup a connection:
const options = config.isDev ? 'tls=false' : `tls=true&tlsCAFile=${eventStoreCertPath}`
this.connection = eventStoreClient.connectionString(
`esdb+discover://${username}:${password}@${host}:2113?${options}`)
And I have multiple subscriptions:
const sub = this.connection.subscribeToStream(name, {
fromRevision: subscription.lastEventVersion,
resolveLinkTos: true,
})
try {
for await (const resolvedEvent of sub) {
await this.onCatchUpEventAppeared(resolvedEvent, subscription)
}
} catch (err) {
await this.onSubscriptionDropped(subscription, err.message, err)
}
Sometimes it works for a while without errors. But usually, i get “UnavailableError” every 15 min.
“14 UNAVAILABLE: Connection dropped”.
There is nothing in the EventStore error log.
I’ve tried “3.4.0” and “4.0.0” db-client versions.
21.10.2-bionic and 21.10.5-bionic EventStore versions.
I tried to increase timeout: “keepAliveTimeout=60000&keepAliveInterval=60000”.
Is there a way to fix this? Perhaps I missed some connection options?
That could point to some networking issue .
Anything between the application hosting the client & the database ?
There is nothing special.
Also, I have the same issue when connecting to local EventStore (in docker).
could you enable client side logs : https://github.com/EventStore/EventStore-Client-NodeJS#debugging
also what version of the database are you running
Event Store 21.10.5.0
esdb:connection Using connection string: esdb+discover://localhost:2113?tls=false +0ms
esdb:connection Using insecure channel +4ms
esdb:connection Starting discovery for candidates: [ { address: 'localhost', port: 2113 } ] +501ms
esdb:connection Determining best node with preference "leader" from members: [
esdb:connection {
esdb:connection instanceId: '654cf4b5-42ca-4ad7-aa86-d401bac78e0e',
esdb:connection timeStamp: 16632425231817060,
esdb:connection state: 8,
esdb:connection isAlive: true,
esdb:connection httpEndpoint: { address: '127.0.0.1', port: 2113 }
esdb:connection }
esdb:connection ] +58ms
esdb:connection Chose member: {
esdb:connection instanceId: '654cf4b5-42ca-4ad7-aa86-d401bac78e0e',
esdb:connection timeStamp: 16632425231817060,
esdb:connection state: 8,
esdb:connection isAlive: true,
esdb:connection httpEndpoint: { address: '127.0.0.1', port: 2113 }
esdb:connection } +0ms
esdb:connection Connecting to http://127.0.0.1:2113 +1ms
esdb:connection Createing client for readStream +307ms
esdb:connection Using existing connection +0ms
esdb:connection Using existing grpc client for readStream +0ms
esdb:connection Using existing grpc client for readStream +1ms
esdb:connection Using existing grpc client for readStream +18ms
esdb:connection Using existing grpc client for readStream +1ms
esdb:connection Using existing grpc client for readAll +2ms
esdb:connection Using existing grpc client for readAll +1ms
esdb:connection Using existing grpc client for readStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +17ms
esdb:connection Using existing grpc client for subscribeToStream +4ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +4ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for readStream +7ms
esdb:connection Using existing grpc client for subscribeToStream +7ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToAll +5ms
esdb:connection Using existing grpc client for subscribeToStream +8ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +9ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for readStream +4ms
esdb:connection Using existing grpc client for subscribeToStream +11ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToAll +11ms
esdb:connection Using existing grpc client for subscribeToStream +25ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +23m
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Reconnection required +11ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Starting discovery for candidates: [ { address: 'localhost', port: 2113 } ] +502ms
esdb:connection Determining best node with preference "leader" from members: [
esdb:connection {
esdb:connection instanceId: '654cf4b5-42ca-4ad7-aa86-d401bac78e0e',
esdb:connection timeStamp: 16632425231817060,
esdb:connection state: 8,
esdb:connection isAlive: true,
esdb:connection httpEndpoint: { address: '127.0.0.1', port: 2113 }
esdb:connection }
esdb:connection ] +8ms
esdb:connection Chose member: {
esdb:connection instanceId: '654cf4b5-42ca-4ad7-aa86-d401bac78e0e',
esdb:connection timeStamp: 16632425231817060,
esdb:connection state: 8,
esdb:connection isAlive: true,
esdb:connection httpEndpoint: { address: '127.0.0.1', port: 2113 }
esdb:connection } +1ms
esdb:connection Connecting to http://127.0.0.1:2113 +0ms
esdb:connection Createing client for readAll +1ms
esdb:connection Using existing connection +1ms
esdb:connection Using existing grpc client for readAll +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToAll +61ms
esdb:connection Using existing grpc client for subscribeToAll +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +22m
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +1ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Got reconnection error 14 UNAVAILABLE: Connection dropped +0ms
esdb:connection Reconnection required +11ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +1ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Reconnection required +0ms
esdb:connection Starting discovery for candidates: [ { address: 'localhost', port: 2113 } ] +502ms
esdb:connection Determining best node with preference "leader" from members: [
esdb:connection {
esdb:connection instanceId: '654cf4b5-42ca-4ad7-aa86-d401bac78e0e',
esdb:connection timeStamp: 16632425231817060,
esdb:connection state: 8,
esdb:connection isAlive: true,
esdb:connection httpEndpoint: { address: '127.0.0.1', port: 2113 }
esdb:connection }
esdb:connection ] +8ms
esdb:connection Chose member: {
esdb:connection instanceId: '654cf4b5-42ca-4ad7-aa86-d401bac78e0e',
esdb:connection timeStamp: 16632425231817060,
esdb:connection state: 8,
esdb:connection isAlive: true,
esdb:connection httpEndpoint: { address: '127.0.0.1', port: 2113 }
esdb:connection } +1ms
esdb:connection Connecting to http://127.0.0.1:2113 +0ms
esdb:connection Createing client for readAll +1ms
esdb:connection Using existing connection +1ms
esdb:connection Using existing grpc client for readAll +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +2ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +1ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToStream +3ms
esdb:connection Using existing grpc client for subscribeToStream +0ms
esdb:connection Using existing grpc client for subscribeToAll +61ms
esdb:connection Using existing grpc client for subscribeToAll +1ms
tech1
November 30, 2022, 4:51pm
6
Hi guys,
We are experiencing a similar error.
The application is deployed to Google Cloud Run. and we are getting “14 UNAVAILABLE: Connection dropped” error.
if you can point us in a direction would be great.
Thank you
That error points to the networks between the client process and the database .
I got this error 14 UNAVAILABLE
when connecting from a docker container using dumb-init
or tini
in the entrypoint
Gives error:
ENTRYPOINT ["dumb-init", "node", "./dist/index.js"]
or
ENTRYPOINT ["/sbin/tini","--", "node", "./dist/index.js"]
this works
ENTRYPOINT ["node", "./dist/index.js"]
arne.jenssen:
ENTRYPOINT ["/sbin/tini"
AFAIK we don’t support those 2 init methods and can mek no guarantee that it’ll work