GRPC: received message larger than max

Original Discord Post by forestheart_79322 | 2024-08-16 04:40:10

Hi, I met a new problem:“grpc: received message larger than max (6076668 vs. 4194304)” .Bug throwed out when the response is a bit long. But it’s worked very well before.
Character ID : d3ed8e8a-5606-11ef-ac24-42010a7be011 |
Session ID : 8d2b8370a32583fef10254e0c93c1988

Replying to forestheart_79322’s Message

Reply by forestheart_79322 | 2024-08-16 04:40:10
Hi, I met a new problem:“grpc: received message larger than max (6076668 vs. 4194304)” .Bug throwed out when the response is a bit long. But it’s worked very well before.
Character ID : d3ed8e8a-5606-11ef-ac24-42010a7be011 |
Session ID : 8d2b8370a32583fef10254e0c93c1988

Reply by gamedevmaster | 2024-08-16 06:27:17

I also received the same message.

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

Hello <@1263798032210726933> <@1074631217783250984>,
I will inform our backend team.
Thanks for details.

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-08-16 06:37:52
Hello <@1263798032210726933> <@1074631217783250984>,
I will inform our backend team.
Thanks for details.

Reply by gamedevmaster | 2024-08-16 06:57:25

Okay Thanks.

Replying to forestheart_79322’s Message

Reply by forestheart_79322 | 2024-08-16 04:40:10
Hi, I met a new problem:“grpc: received message larger than max (6076668 vs. 4194304)” .Bug throwed out when the response is a bit long. But it’s worked very well before.
Character ID : d3ed8e8a-5606-11ef-ac24-42010a7be011 |
Session ID : 8d2b8370a32583fef10254e0c93c1988

Reply by k3kalinix | 2024-08-19 10:13:06

Hello <@1263798032210726933>,

We checked and detected that you have reached your Daily Free Interaction Quota.

Reply by k3kalinix | 2024-08-19 10:13:31

We did not see anything about this error.

Reply by k3kalinix | 2024-08-19 10:14:22

Are you still facing this issue?

If so, could you please share your Character ID & Session ID?

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-08-19 10:13:06
Hello <@1263798032210726933>,

We checked and detected that you have reached your Daily Free Interaction Quota.

Reply by forestheart_79322 | 2024-08-22 04:41:30

<@1023671043287699568> Thanks for your response!
Yes, if I told avatar “can you told me a long story”, the issue occurs. But it’s ok, I set a response length constraint in avatar backstory to avoid that situation. People don’t speak so long in a daily chat as well. That’s my error log and ID:
ConvaiGRPCLog: Warning: OnStreamFinish: Status:Not Ok | Debug Log: | Error message:grpc: received message larger than max (11267761 vs. 4194304) | Error Details: | Error Code:8 | Character ID:d3ed8e8a-5606-11ef-ac24-42010a7be011 | Session ID:dad263d30998ddcc4c8f1a298d5bf371
ConvaiChatbotComponentLog: Warning: UConvaiChatbotComponent Get Response Failed! | Character ID : d3ed8e8a-5606-11ef-ac24-42010a7be011 | Session ID :
dad263d30998ddcc4c8f1a298d5bf371

Reply by k3kalinix | 2024-09-11 22:13:05

Hello <@1263798032210726933>, could you please test again?

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-09-11 22:13:05
Hello <@1263798032210726933>, could you please test again?

Reply by forestheart_79322 | 2024-09-14 05:25:23

Sure!
I found that the key issue lies in the language. I tested using two languages, Chinese and English. For the Chinese test, I used an avatar I created myself, while for the English test, I used the official avatar Stella. When asking the AI to tell a long story, the Chinese test produced the same error as before, but the English one did not. I continued increasing the difficulty of the English test by asking for a 200-word story. Although the response was slow, it didn’t result in any errors.
However, I can work around this issue by setting a limit on the length of dialogue in the character’s backstory : ) ,thank you!

Reply by forestheart_79322 | 2024-09-14 06:01:54

It’s worth mentioning that around August 15th, the Chinese output was also able to generate long paragraphs smoothly. Maybe some update caused this change?

Reply by k3kalinix | 2024-11-01 07:41:25

<@547328106927620106>

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