u/Ancient_Crab_1237

Unsolvable LSPDFR Error: NPCI Gemini Mod crashes despite full reinstall

Hi everyone,

I’m in desperate need of help with the LSPDFR mod NPCI Gemini (which uses the Google Gemini 2.5 API for voice chat with NPCs). The mod worked perfectly at first, but after a game restart and changing the keybinds, it completely broke.

The Problem: As soon as I press the Push-to-Talk key, the following error appears in the log/on-screen:

  1. Cannot record - not connected.
  2. Attempting reconnect... (fresh session)
  3. Reconnect failed: The CancellationTokenSource has been disposed.

What I have already tried (without success):

  • Complete Reinstall: Deleted and reinstalled GTA V, LSPDFR, and the mod itself from scratch.
  • API Key: Created a brand new Google account and generated a fresh API key.
  • Network: Tested via LAN, Wi-Fi, and even a mobile hotspot to rule out IP/ISP blocks.
  • Audio Settings: Disabled "Exclusive Mode" in Windows. Format set to 1-channel/2-channel, 16-bit, 48000 Hz.
  • Windows Network: Cleared SSL state, ensured TLS 1.2 and 1.3 are enabled.
  • Mod Config: Tested AudioDeviceIndex at 0, 1, and -1 in the .ini.

The error CancellationTokenSource has been disposed suggests a C# logic error, but since it worked before, there must be some "leftover" data on my PC that is blocking the mod.

Hardware/Software:

  • Windows 11
  • RagePluginHook (Latest version)
  • USB Microphone (Works perfectly in all other apps)

Does anyone have experience with this specific error in .NET-based mods? Where could the mod be storing hidden session data or cache files that survive a full reinstall (Registry, AppData, etc.)?

Thanks in advance!

reddit.com
u/Ancient_Crab_1237 — 6 days ago