Skip to content

GRPCUnavailableError:UNAVAILABLE: No connection established #165

@AhmedZahRan7

Description

@AhmedZahRan7

It's just happened when trying running the quick-start in the redmi file

const { Etcd3 } = require('etcd3');
const client = new Etcd3();

(async () => {
    await client.put('foo').value('bar');

    const fooValue = await client.get('foo').string();
    console.log('foo was:', fooValue);

    const allFValues = await client.getAll().prefix('f').keys();
    console.log('all our keys starting with "f":', allFValues);

    await client.delete().all();
})();

The output error is:

node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^
GRPCUnavailableError: 14 UNAVAILABLE: No connection established

Node version is 17.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions