Cannot connect to Self Hosted LLM

Getting below error when connecting to self hosted LLM API (GPTOSS 20B or Qwen3) over SSL:

{“error”:56,“details”:{“title”:“Network Error”,“detail”:“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”,“isRetryable”:true,“additionalInfo”:{},“buttons”:[],“planChoices”:[]},“isExpected”:true}

[resource_exhausted] Error

is it because Cursor talk to LLM api endpoint via its backend server? and our self hosted endpoint is not exposed to public?

That’s correct! Here’s an explanation in another thread. It’s talking about Azure OpenAI not accessible over the public internet, but ultimately it’s the same thing.