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

gRPC Error (code: 5, codeName: NOT_FOUND, message: RPC function not found, details: [], rawResponse: null, trailers: {}) #86

Open
zhangyc opened this issue Jan 9, 2024 · 0 comments

Comments

@zhangyc
Copy link
Contributor

zhangyc commented Jan 9, 2024

Describe the bug
When I use final response = await client.rpc(
session: userSession!,
id: targetId,
payload: jsonEncode(payload),
); when sending a message
response:
gRPC Error (code: 5, codeName: NOT_FOUND, message: RPC function not found, details: [], rawResponse: null, trailers: {})
Reproduction Code
Note: This is mandatory! If your issue does not contain it, it will be closed.

Example:

When I use final response = await client.rpc(
       session: userSession!,
       id: targetId,
       payload: jsonEncode(payload),
     ); when sending a message

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Flutter Doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.1.1 23B81 darwin-arm64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.2)
[✓] VS Code (version 1.85.1)
[✓] VS Code (version 1.85.1)
[✓] Connected device (4 available)
[✓] Network resources

! Doctor found issues in 1 category.

pubspec.yaml

nakama: ^1.0.5

Additional context
Add any other context about the problem here.

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

1 participant