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

rpc on websocket don't work #74

Open
Zhairgling opened this issue Sep 14, 2023 · 4 comments
Open

rpc on websocket don't work #74

Zhairgling opened this issue Sep 14, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Zhairgling
Copy link

Zhairgling commented Sep 14, 2023

Describe the bug
when I make a rpc call using websocket, I can see in the server log that I have the request and the nswer is sent but the flutter app never receive it.

Reproduction Code
Note: This is mandatory! If your issue does not contain it, it will be closed.

Example:

    final result1 = await socketClient.rpc(id: 'hello_world_rpc');


    print(result1.payload); // Devrait afficher "Hello, World!"
const helloWorldRpc: nkruntime.RpcFunction = function (ctx: nkruntime.Context, logger: nkruntime.Logger, nk: nkruntime.Nakama, payload: string): string {
  return "Hello, World!";
}

Expected behavior
see "hello world " in the flutter debugconsole

@obrunsmann obrunsmann self-assigned this Sep 23, 2023
@obrunsmann
Copy link
Contributor

Thank you @Zhairgling for reporting. I am just back from vacation and checking in your issue shortly.

@obrunsmann obrunsmann added the bug Something isn't working label Sep 23, 2023
@CodingTrip93
Copy link

Any update on this issue!?

@eunjijeon11
Copy link

Is there any update?

@ilmalte
Copy link
Contributor

ilmalte commented Feb 20, 2024

Bump

@obrunsmann obrunsmann removed their assignment Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants