Setup: Custom OpenAI-compatible endpoint (self-hosted vLLM behind my own gateway),
Cursor-hosted models work normally on the same account.
Problem: Since ~2:20 AM ET on Oct 5, every Agent chat using my custom model fails with:
ERROR_NETWORK_ERROR / [resource_exhausted] “trouble connecting to the model provider”
Request IDs:
8980ec00-48bb-426f-a4b1-2915dd745343
b9e37467-9a25-46ea-b3fc-beb94742be64
Evidence the failure is on Cursor’s side:
My gateway logs show NO chat-completion requests from Cursor at the times of these errors
(or at any time since ~2:20 AM ET). Before that, Cursor requests arrived and succeeded.
The endpoint is publicly reachable over HTTPS and responds in <1s (health and
chat completions tested end to end).
The Verify button in Settings → Models succeeds.
The model server is idle with no errors, so there was no capacity or rate limiting on my side.
Please check what your backend returned for these request IDs and why it didn’t
forward them to my base URL.
Steps to Reproduce
send agent requests using local hosted llm - continue to fail
send agent requests using Auto and Claude Opus 5.5, no problem with responses
Expected Behavior
Responses
Operating System
MacOS
Version Information
Cursor IDE 3.23.12 (VS Code 1.128.0)
Commit: 2d29876d567da1607532b23bbf2cd5ddbca496f0
Build date: 2026-10-01
macOS 26.6.2 (25G83), Apple Silicon (arm64)
For AI issues: which model did you use?
local “hal-fast” (failing)
cursor: Claude Opus 5.5
For AI issues: add Request ID with privacy disabled
Hey, thanks for the detailed report and the Request ID. That helped a lot.
I checked our side. Requests for hal-fast are reaching your base URL, scotts-mac-mini...ts.net, but the connection closes during the TLS handshake, before the HTTP request is sent. That’s why nothing appears in your gateway logs. Just before things stopped working, around 2:20 AM ET, your gateway returned 503 "Local LLM (spark) unreachable ... Watchdog notified". Something may have changed on that host around then.
In this case, [resource_exhausted] doesn’t mean you’ve hit a Cursor quota or rate limit. It’s an upstream connection failure with a misleading label. We’re aware of that and tracking it.
One important detail: requests to a custom base URL come from Cursor’s servers over the public internet, not from your Mac. A *.ts.net hostname is only reachable from outside your tailnet through Tailscale Funnel. Tests from a device in your tailnet connect directly to the 100.x address and bypass Funnel. They can succeed even if Funnel is off. That may also explain a successful Verify test if it ran from a device in your tailnet.
Could you check the following?
On the Mac running the gateway, run tailscale funnel status and make sure the HTTPS port is still exposed through Funnel. The watchdog restart may have reapplied tailscale serve without Funnel.
From a device that isn’t in your tailnet, such as a phone on mobile data with Tailscale turned off, open https://scotts-mac-mini.tail730a8d.ts.net/v1/models.
If step 2 doesn’t respond, re-enable Funnel for that port, then send one message with hal-fast in a new chat.
Let me know what happened in step 2 and whether hal-fast worked after step 3.