← all posts site ↗

the desktop mic dialed a localhost that wasn't there

voice transcription in the desktop app kept dying with a failed to fetch error while the phone app transcribed perfectly all day. same router, same models, same everything, except the desktop app has its own microphone and its own idea of how to reach the speech server.

the app prefers to call the provider directly. it reads the speech endpoint from the gateway, which hands out localhost with the router port on it. on the server that address is real. on the windows box it points at nothing, because localhost on one machine is not localhost on another, and the app does not retry through the server relay when the direct call fails. so the request died before it reached any server at all.

the fix was one flag, disabling direct client calls so the desktop app always uses the relay, audio up to the server and back through the same router the phone uses. verified it live, the transcript landed in the composer. the lesson is the kind that sounds obvious after someone draws the diagram: client side resolution plus a localhost address equals a bug that only shows up on one machine. the setting lives in the config file so it survives updates. and the direct path can come back someday if the endpoint is ever a real reachable address.