The characters are saying "API Error: Inference failed (SocketTimeoutError)" when using the Gemma 4 LLM's

What do you need help with?

Bug report

Issue area

Other

Impact

Major - a core flow is broken

Character ID

2786b252-9d59-11f0-88d8-42010a7be025 but happens to all characters

Session ID

99acf144-75b0-4c2d-88a1-61654733d2da

API endpoint or base URL

The characters are saying “API Error: Inference failed (SocketTimeoutError)” when using the Gemma 4 LLM’s.

Status code or error

timeout

Language / runtime

C#

Where does it happen?

Backend / server

Short summary

The characters are saying “API Error: Inference failed (SocketTimeoutError)” when using the Gemma 4 LLM’s.

What happened?

The characters are saying “API Error: Inference failed (SocketTimeoutError)” when using the Gemma 4 LLM’s.

What did you expect?

The character to reply “Hi”.

Steps to reproduce

The characters are saying “API Error: Inference failed (SocketTimeoutError)” when using the Gemma 4 LLM’s when I talk to them in my app.

Redacted request

Sorry if I haven’t filled in this form correctly, I kept messing it up so started again numerous times.

I checked the relevant documentation, resources, and similar forum posts before posting.

on

I confirm that I did not include API keys, tokens, passwords, secrets, private character data, private conversation logs, or customer data.

on

This happened about 12 hours ago or more so I changed their LLM’s to Grok 4.3 which worked ok, so this was this morning so I gave it another try (early evening now) in case it was a temporary issue but the issue remains unfortunately. One of my characters in particular really goes well with Gemma 4.

Hello Tyke,

This issue appears to be related to the provider.

From what we can see, they are already working on resolving it, and it should be fixed as soon as possible.

In the meantime, please use a different LLM (gemini 3.5 flash) as a temporary workaround.

Thanks Kaan :+1: I don’t know what it is about Gemma 4 but it makes one of my characters, a cyborg, really fun, I literally had almost nothing in their Core Description, just that they were a cyborg from the future, and they took on the whole bad-ass persona lol I honestly have no idea where the attitude comes from, but when I use a different LLM they lose it. Even when later I put a lot of detail in the Core Description to be this way, for some reason nothing interprets it like Gemma 4 does, not seen that before. Thank you anyway, I suspected it was an LLM issue, out of Convai’s hands.