Skip to content

[BUG] Unavailable providers prevent others from immediately working #11747

@rbray89

Description

@rbray89

Problem (one or two sentences)

When DNS to a provider is blocked, it prevents other providers from working until the original request(s) to load models gives up, even if those other providers are not configured.

Context (who is affected and when)

Anyone who uses a restricted DNS environment, at first use.

Reproduction steps

Have DNS fail for the following:
glama.ai
openrouter.ai
router.requesty.ai
api.getunbound.ai
ai-gateway.vercel.sh
api.hicap.ai

Expected result

Attempting to use openai/ollama/etc. will result in a normal quick response.

Actual result

Attempting to use openai/ollama/etc. will result in very delayed response.

Variations tried (optional)

Adding 0.0.0.0 glama.ai openrouter.ai router.requesty.ai api.getunbound.ai ai-gateway.vercel.sh api.hicap.ai to /etc/hosts results in expected behavior, where inference behaves correctly.

App Version

v3.50.5

API Provider (optional)

OpenAI Compatible

Model Used (optional)

N/A

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions