Convai response failure due to refused grpc call

Original Discord Post by cyrildm | 2024-08-13 19:40:22

Hi, I see that there are a lot of similar questions. I’m also getting the below error in Unity where it’s not timing out, but the connection is fully being refused.

The project in its current setup was working for me yesterday, but I’ve also traveled since then and am using a new wifi network. Also, the failure only occurs when I hit the talk button, so the AI listens and stops correctly but won’t respond. However, if I hit a narrative design trigger, it’s still able to retrieve and say what it’s supposed to.

    status = StatusCode.UNAVAILABLE
    details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:34.68.147.140:50051: Failed to connect to remote host: Connection refused"
    debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv4:34.68.147.140:50051: Failed to connect to remote host: Connection refused {created_time:"2024-08-13T19:19:22.603235101+00:00", grpc_status:14}"
>")
Convai.Scripts.Utils.ConvaiGRPCAPI.ProcessAudioChunk (Grpc.Core.AsyncDuplexStreamingCall`2[TRequest,TResponse] call, System.Int32 diff, System.Collections.Generic.IReadOnlyList`1[T] audioData) (at Assets/Convai/Scripts/Runtime/Core/ConvaiGRPCAPI.cs:505)```

Reply by k3kalinix | 2024-08-13 20:31:15

Hello <@1039443634405249024>,

Reply by k3kalinix | 2024-08-13 20:34:50

Are you still facing the problem?

Reply by cyrildm | 2024-08-13 20:40:04

Hi K3, yes, I just tested it again and am still experiencing the same problem

Reply by k3kalinix | 2024-08-13 23:31:09

Hello <@1039443634405249024>,

Reply by k3kalinix | 2024-08-13 23:31:17

Could you please test?

Reply by cyrildm | 2024-08-14 16:36:24

<@1023671043287699568> Awesome, it’s fixed now. Thank you!

Reply by k3kalinix | 2024-08-14 16:37:52

You are welcome!

Reply by k3kalinix | 2024-08-14 16:40:02

I will close this ticket. Please let me know if you encounter any problems by creating a new post.

This conversation happened on the Convai Discord Server, so this post will be closed.