Skip to content
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

bug: doesn't work with @grpc/grpc-js 1.12.0 version #166

Open
karlismelderis-mckinsey opened this issue Oct 7, 2024 · 4 comments
Open

Comments

@karlismelderis-mckinsey
Copy link

Latest @grpc/grpc-js 1.12.0 version doesn't work with autzed client

we're getting this error message:

"14 UNAVAILABLE: No connection established. Last error: Credentials not loaded"

wouldn't be surprised if breaking change is on @grpc/grpc-js side as it's only minor version release 🤷

@malosayli
Copy link

malosayli commented Oct 8, 2024

I encountered the same issue with self-hosted spicedb. @karlismelderis-mckinsey Did you manage to solve it?

@malosayli
Copy link

malosayli commented Oct 8, 2024

@karlismelderis-mckinsey
I managed to solve the issue with @aalkhodiry help by overriding the version of @grpc/grpc-js used by authzed to use 1.11.3. Here's how I did it:

In the package.json file, I added an "overrides" section at the root level.
In this section, I specified the version of @grpc/grpc-js to use:

{
  "overrides": {
    "@grpc/grpc-js": "1.11.3"
  }
}

@tstirrat15
Copy link
Contributor

I'm at an offsite right now but I'll check this when i get a chance. Thanks for the heads-up!

@tstirrat15
Copy link
Contributor

I pushed out a fix in https://github.com/authzed/authzed-node/releases/tag/v1.0.3 thanks to @mgagliardo91. Can you let me know if it fixes the issue for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants